ta.tsi() - Pine Script Function
ta.tsi()
Section titled “ta.tsi()”Overview
Section titled “Overview”True strength index. It uses moving averages of the underlying momentum of a financial instrument.
Syntax
Section titled “Syntax”ta.tsi(source, short_length, long_length) → series floatParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| source | series int/float | Source series. |
Returns
Section titled “Returns”True strength index. A value in range [-1, 1].
Remarks
Section titled “Remarks”- na values in the source series are ignored; the function calculates on the length quantity of non-na values.