charton API / @chart-on/ta / tsi
Function: tsi()
tsi(
values,long,short,signal,out?,state?):Tsi
Defined in: oscillators.ts:91
True strength index, -100 to 100: the bar-to-bar change smoothed twice by an ema (over long, then short), over the absolute change smoothed the same way, with a signal line. Reads 0 when nothing moved. Lookback long + short + signal - 2 (the index starts signal - 1 bars earlier).
Pass state to keep the averages for tsiAt.
Parameters
values
long
number
short
number
signal
number