资源加载中... loading...

talib.CDLINNECK

The talib.CDLINNECK() function is used to calculate the In-Neck Pattern (K-line chart: neckline).

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

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

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

talib.CDLIDENTICAL3CROWS talib.CDLINVERTEDHAMMER