Sumber dimuat naik... memuat...

talib.CDLBELTHOLD

Peraturantalib.CDLBELTHOLD()fungsi digunakan untuk mengiraPegang tali pinggang (grafik garis K: Pegang tali pinggang).

Nilai pulangantalib.CDLBELTHOLD()Fungsi adalah: array satu dimensi. Array

talib.CDLBELTHOLD ((inPriceOHLC)

PeraturaninPriceOHLCparameter digunakan untuk menentukan data garis K. inPriceOHLC betul Array struktur {@struct/Record Record}

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

PeraturanCDLBELTHOLD()fungsi diterangkan dalam dokumentasi perpustakaan talib sebagai:CDLBELTHOLD(Records[Open,High,Low,Close]) = Array(outInteger)

talib.CDLADVANCEBLOCK talib.CDLBREAKAWAY