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

talib.CDL3LINESTRIKE

talib.CDL3LINESTRIKE()函数用于计算Three-Line Strike (K线图:3线震荡)

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

talib.CDL3LINESTRIKE(inPriceOHLC)

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

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

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

talib.CDL3INSIDE talib.CDL3OUTSIDE