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

talib.CDL3WHITESOLDIERS

talib.CDL3WHITESOLDIERS()函数用于计算Three Advancing White Soldiers (K线图:三白兵)

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

talib.CDL3WHITESOLDIERS(inPriceOHLC)

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

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

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

talib.CDL3STARSINSOUTH talib.CDLABANDONEDBABY