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

talib.CDLMORNINGDOJISTAR

talib.CDLMORNINGDOJISTAR()函数用于计算Morning Doji Star (K线图:早晨十字星)

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

talib.CDLMORNINGDOJISTAR(inPriceOHLC) talib.CDLMORNINGDOJISTAR(inPriceOHLC, optInPenetration)

inPriceOHLC参数用于指定K线数据。 inPriceOHLC true {@struct/Record Record}结构数组 optInPenetration参数用于指定验证开盘价和实体部分重合的程度,默认值为0.3。 optInPenetration false number

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

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

talib.CDLMATHOLD talib.CDLMORNINGSTAR