The talib.CDLHIGHWAVE()
function is used to calculate the High-Wave Candle (K-line chart: Long Leg Cross).
The return value of the talib.CDLHIGHWAVE()
function is a one-dimensional array.
array
talib.CDLHIGHWAVE(inPriceOHLC)
The inPriceOHLC
parameter is used to specify the K-line data.
inPriceOHLC
true
{@struct/Record Record} structure array
function main() {
var records = exchange.GetRecords()
var ret = talib.CDLHIGHWAVE(records)
Log(ret)
}
import talib
def main():
records = exchange.GetRecords()
ret = talib.CDLHIGHWAVE(records.Open, records.High, records.Low, records.Close)
Log(ret)
void main() {
auto records = exchange.GetRecords();
auto ret = talib.CDLHIGHWAVE(records);
Log(ret);
}
The CDLHIGHWAVE()
function is described in the talib library documentation as: CDLHIGHWAVE(Records[Open,High,Low,Close]) = Array(outInteger)