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

talib.CDLMARUBOZU

talib.CDLMARUBOZU()函数用于计算Marubozu (K线图:光头光脚)

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

talib.CDLMARUBOZU(inPriceOHLC)

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

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

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

talib.CDLLONGLINE talib.CDLMATCHINGLOW