The resource loading... loading...

talib.CDLHARAMICROSS

The talib.CDLHARAMICROSS() function is used to calculate the Harami Cross Pattern (K-line chart: cross negative and positive lines).

The return value of the talib.CDLHARAMICROSS() function is: a one-dimensional array. array

talib.CDLHARAMICROSS(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.CDLHARAMICROSS(records)
    Log(ret)
}
import talib
def main():
    records = exchange.GetRecords()
    ret = talib.CDLHARAMICROSS(records.Open, records.High, records.Low, records.Close)
    Log(ret)
void main() {
    auto records = exchange.GetRecords();
    auto ret = talib.CDLHARAMICROSS(records);
    Log(ret);
}

The CDLHARAMICROSS() function is described in the talib library documentation as: CDLHARAMICROSS(Records[Open,High,Low,Close]) = Array(outInteger)

talib.CDLHARAMI talib.CDLHIGHWAVE