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

talib.HT_SINE

The talib.HT_SINE() function is used to calculate the Hilbert Transform - SineWave (Hilbert Transform, Sine Wave).

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

talib.HT_SINE(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_SINE(records)
    Log(ret)
}
import talib
def main():
    records = exchange.GetRecords()
    ret = talib.HT_SINE(records.Close)
    Log(ret)
void main() {
    auto records = exchange.GetRecords();
    auto ret = talib.HT_SINE(records);
    Log(ret);
}

The HT_SINE() function is described in the talib library documentation as: HT_SINE(Records[Close]) = [Array(outSine),Array(outLeadSine)]

talib.HT_PHASOR talib.HT_TRENDMODE