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

talib.CDLUPSIDEGAP2CROWS

talib.CDLUPSIDEGAP2CROWS()函数用于计算Upside Gap Two Crows (K线图:双飞乌鸦)

talib.CDLUPSIDEGAP2CROWS()函数的返回值为:一维数组。 array

talib.CDLUPSIDEGAP2CROWS(inPriceOHLC)

inPriceOHLC参数用于指定K线数据。 inPriceOHLC true {@struct/Record Record}结构数组

function main() {
    var records = exchange.GetRecords()
    var ret = talib.CDLUPSIDEGAP2CROWS(records)
    Log(ret)
}
import talib
def main():
    records = exchange.GetRecords()
    ret = talib.CDLUPSIDEGAP2CROWS(records.Open, records.High, records.Low, records.Close)
    Log(ret)
void main() {
    auto records = exchange.GetRecords();
    auto ret = talib.CDLUPSIDEGAP2CROWS(records);
    Log(ret);
}

CDLUPSIDEGAP2CROWS()函数在talib库文档中的描述为:CDLUPSIDEGAP2CROWS(Records[Open,High,Low,Close]) = Array(outInteger)

talib.CDLUNIQUE3RIVER talib.CDLXSIDEGAP3METHODS