The resource loading... loading...

talib.CDLMORNINGSTAR

The talib.CDLMORNINGSTAR() function is used to calculate Morning Star (K-line chart: Morning Star).

The return value of the talib.CDLMORNINGSTAR() function is: a one-dimensional array. array

talib.CDLMORNINGSTAR(inPriceOHLC) talib.CDLMORNINGSTAR(inPriceOHLC, optInPenetration)

The inPriceOHLC parameter is used to specify the K-line data. inPriceOHLC true {@struct/Record Record} structure array The optInPenetration parameter is the price float percentage threshold required for trend confirmation and takes a value in the range [0,1], with a default value of 0.3. optInPenetration false number

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

The CDLMORNINGSTAR() function is described in the talib library documentation as: CDLMORNINGSTAR(Records[Open,High,Low,Close],Penetration=0.3) = Array(outInteger)

talib.CDLMORNINGDOJISTAR talib.CDLONNECK