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

talib.CDLDRAGONFLYDOJI

The talib.CDLDRAGONFLYDOJI() function is used to calculate Dragonfly Doji (K-line chart: Dragonfly Doji).

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

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

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

talib.CDLDOJISTAR talib.CDLENGULFING