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

talib.CDLBREAKAWAY

The talib.CDLBREAKAWAY() function is used to calculate the Breakaway (K-line chart: Breakaway).

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

talib.CDLBREAKAWAY(inPriceOHLC)

The inPriceOHLC parameter is used to specify the K-line data. inPriceOHLC true {@struct/Record Record} structure array

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

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

talib.CDLBELTHOLD talib.CDLCLOSINGMARUBOZU