The resource loading... loading...

talib.CDLPIERCING

The talib.CDLPIERCING() function is used to calculate the Piercing Pattern (K-line chart: Piercing Pattern).

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

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

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

talib.CDLONNECK talib.CDLRICKSHAWMAN