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

talib.CDLADVANCEBLOCK

The talib.CDLADVANCEBLOCK() function is used to calculate the Advance Block (K-line chart: Advance).

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

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

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

talib.CDLABANDONEDBABY talib.CDLBELTHOLD