TSI
TSI (True Strength Index) is the double-smoothed price change divided by the double-smoothed distance traveled, from −100 to +100. Together with the signal line it shows the direction and changes of momentum with less noise than plain momentum.
TSI is drawn in a separate area below the chart.
How to read it
- Above zero is upward momentum, below zero is downward momentum.
- A cross of the TSI line and the signal line is a change of momentum.
- Extreme values mean a stretched move.
How it is calculated
- For each bar, the change of the price set in Source from the previous bar is taken.
- The change is smoothed with an exponential moving average over Long period, then once more over Short period. The absolute change — the distance traveled — is smoothed twice the same way.
- TSI = 100 × smoothed change / smoothed distance.
- The signal line is the exponential moving average of TSI over Signal period.
The calculation matches TSI in TradingView. With the default settings the TSI line appears on the 38th bar, the signal line on the 50th. If the price has not changed since the start of history, TSI equals 0.
Parameters
| Parameter | Description | Default |
|---|---|---|
| Long period | The first, long smoothing of the price change. At least 1. | 25 |
| Short period | The second, short smoothing. At least 1. | 13 |
| Signal period | The period of the exponential moving average of the signal line. At least 1. | 13 |
| Source | The bar price used in the calculation: Close — the close, Median — (High + Low) / 2, Typical — (High + Low + Close) / 3. | Close |
Plots
| Parameter | Description | Default |
|---|---|---|
| TSI | The TSI line from −100 to +100. | Orange, solid, width 1 |
| Signal | The exponential moving average of TSI. | Blue, solid, width 1 |
Levels
| Parameter | Description | Default |
|---|---|---|
| Zero | Above it is upward momentum, below it downward. | 0, purple |
Style
The TSI and Signal lines have the Plot (show the line), Label (show the last value on the right scale), Color, Width (1–5) and Style (Solid, Dashes, Dots) fields.
The level has the Show, Value, Color, Width and Style fields. A visible level shows its value on the right scale.
How to add an indicator to the chart is described in Adding an indicator; parameters are changed in the indicator manager.