True Strength Index
systemic:core-tsiIndicatorsInputs
| Name | Type | Description |
|---|---|---|
| Slow Window | Whole number | The window, in bars, of the first (long) EMA, which smooths the bar-to-bar price changes. |
| Fast Window | Whole number | The window, in bars, of the second (short) EMA, which smooths the result of the Slow Window EMA. |
| Price | Number series | The price series to measure momentum on, usually closing prices. |
Outputs
| Name | Type | Description |
|---|---|---|
| TSI | Number series | The True Strength Index at each bar: a value between -100 and +100 that moves above and below zero. |
Cost
6
credits per run
1,000
bars
0.206 + 0.00567·n credits for n bars, rounded up. The marks are each plan's limit of bars.
The True Strength Index is a momentum oscillator that shows both the direction and the strength of a trend. It smooths price changes twice to filter noise while staying responsive.
Where:
- = Current price - Previous price
- = Long EMA, set by Slow Window (typically 25)
- = Short EMA, set by Fast Window (typically 13)
How It Works
flowchart TD
subgraph Input["Price Changes"]
PC["ΔPrice = Close - Previous Close"]
APC["|ΔPrice| = Absolute value"]
end
subgraph Smoothing["Double EMA Smoothing"]
N1["Long EMA of ΔPrice"]
N2["Short EMA of result"]
D1["Long EMA of |ΔPrice|"]
D2["Short EMA of result"]
end
subgraph Calculation["TSI Calculation"]
DIV["Numerator ÷ Denominator"]
MULT["× 100"]
end
PC --> N1 --> N2 --> DIV
APC --> D1 --> D2 --> DIV
DIV --> MULT
Interpreting TSI
| TSI Range | Interpretation |
|---|---|
| +25 to +100 | Overbought territory |
| 0 to +25 | Moderate bullish momentum |
| -25 to 0 | Moderate bearish momentum |
| -100 to -25 | Oversold territory |
flowchart LR
subgraph Zones["TSI Zones"]
OB["+25 to +100<br/>Overbought"]
MB["0 to +25<br/>Bullish"]
MBR["-25 to 0<br/>Bearish"]
OS["-100 to -25<br/>Oversold"]
end
OB --> MB --> MBR --> OS
Trading Strategies
1. Zero Line Crossover
| Event | Signal |
|---|---|
| TSI crosses above 0 | Bullish momentum emerging |
| TSI crosses below 0 | Bearish momentum emerging |
2. Signal Line Crossover
A signal line (typically a 7-bar EMA of TSI, built with an EMA module) gives additional signals:
| Event | Signal |
|---|---|
| TSI crosses above signal | Short-term bullish |
| TSI crosses below signal | Short-term bearish |
3. Divergence Analysis
| Pattern | Price | TSI | Implication |
|---|---|---|---|
| Bullish | Lower lows | Higher lows | Potential reversal up |
| Bearish | Higher highs | Lower highs | Potential reversal down |
TSI vs RSI
| Aspect | TSI | RSI |
|---|---|---|
| Smoothing | Double EMA | Single EMA |
| Range | -100 to +100 | 0 to 100 |
| Zero line | ✓ Has center line | ✗ No true center |
| Noise | Very smooth | Moderate |
| Responsiveness | Balanced | More reactive |
Common Parameters
| Parameter | Typical value | Description |
|---|---|---|
| Slow Window | 25 | First smoothing (long EMA) |
| Fast Window | 13 | Second smoothing (short EMA) |
| Signal Line | 7 | EMA of TSI for crossovers (a separate EMA module) |
Advantages
- Dual information — Shows both direction (sign) and strength (size)
- Smooth output — Double smoothing reduces whipsaws
- Clear center line — Zero is a natural trend boundary
- Divergence friendly — Good for spotting divergences
Disadvantages
- Lagging — Double smoothing adds delay
- Complex — More calculations than simple oscillators
- Range variations — Unlike RSI, rarely hits extremes
- Best in trends — Less effective in ranging markets
Missing Data
An empty bar in the price series (closed-market weekend or holiday, missing price) gives an empty TSI bar. It is never filled:
| Scenario | Output |
|---|---|
| Closed-market gap | Empty at that bar. The calculation uses only bars that have a price, so the Friday→Monday change counts as one step |
Warm-up (fewer than window_slow + window_fast bars with a price so far) | Empty. No partial value is returned |
| All bars empty | Every output bar is empty |
| Price never changed since the first bar | Empty (0 ÷ 0 has no answer) |
Further Reading
Indicator Assessment
The chart below places TSI by complexity (how easy it is to understand and use) and reliability (how consistent its signals are across market conditions). Higher points are more reliable. Points further left are less complex.
quadrantChart
title TSI Indicator Assessment
x-axis Low Complexity --> High Complexity
y-axis Low Reliability --> High Reliability
quadrant-1 Complex & Reliable
quadrant-2 Simple & Reliable
quadrant-3 Simple & Unreliable
quadrant-4 Complex & Unreliable
Stocks: [0.55, 0.70]
Crypto: [0.55, 0.60]
Assessment Breakdown
| Dimension | Stocks | Crypto | Notes |
|---|---|---|---|
| Popularity | 6/10 | 5/10 | Well-regarded among momentum traders; less mainstream than RSI or MACD |
| Reliability | 7/10 | 6/10 | Double smoothing provides cleaner signals; crypto volatility increases false signals |
| Complexity | 5.5/10 | 5.5/10 | The double EMA idea is moderately complex; the formula is simple but has several steps |
| Versatility | 6/10 | 6/10 | Works across periods; best suited to trend-following strategies |
| Recent Interest | 5/10 | 5/10 | Steady adoption; growing interest as traders seek smoother alternatives to RSI |
Rendering diagrams...