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

talib.HT_TRENDMODE

The talib.HT_TRENDMODE() function is used to calculate the Hilbert Transform - Trend and Cycle Mode.

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

talib.HT_TRENDMODE(inReal)

The inReal parameter is used to specify the K-line data. inReal true {@struct/Record Record} structure arrays, numeric arrays

function main() {
    var records = exchange.GetRecords()
    var ret = talib.HT_TRENDMODE(records)
    Log(ret)
}
import talib
def main():
    records = exchange.GetRecords()
    ret = talib.HT_TRENDMODE(records.Close)
    Log(ret)
void main() {
    auto records = exchange.GetRecords();
    auto ret = talib.HT_TRENDMODE(records);
    Log(ret);
}

The HT_TRENDMODE() function is described in the talib library documentation as: HT_TRENDMODE(Records[Close]) = Array(outInteger)

talib.HT_SINE talib.ATR