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

talib Indicator Library

The following is CCI indicator call example code, more talib indicator functions can be found in the API Manual of FMZ Quant Trading Platform

function main() {
    var records = exchange.GetRecords()
    var cci = talib.CCI(records, 14)
    Log(cci)
}
# Python requires a separate installation of the talib library
import talib
def main():
    records = exchange.GetRecords()
    # The parameter 14 can be defaulted
    cci = talib.CCI(records.High, records.Low, records.Close, 14)   
    Log(cci)
void main() {
    auto records = exchange.GetRecords();
    auto cci = talib.CCI(records, 14);
    Log(cci);
}
TA Indicator Library JavaScript Library