Skip to content
Algo Trade Analytics Docs

ta.tsi() - Pine Script Function

True strength index. It uses moving averages of the underlying momentum of a financial instrument.

ta.tsi(source, short_length, long_length) → series float
NameTypeDescription
sourceseries int/floatSource series.

True strength index. A value in range [-1, 1].

  • na values in the source series are ignored; the function calculates on the length quantity of non-na values.