Supertrend Indicator¶
OVERVIEW¶
The Supertrend indicator is a price overlay that displays one continuous line — green and below price during uptrends, red and above price during downtrends. The line is constructed from the midpoint of each bar's high-low range, offset by a multiple of the Average True Range (ATR). It is binary by design: at any moment, the market is either in "trend up" or "trend down" mode, with no intermediate state. Developed by Olivier Seban and popularized by Indian trading communities, Supertrend has become one of the most-used trend filters on TradingView alongside the moving average.
Note
The default configuration — ATR period 10, multiplier 3.0 — is calibrated for daily charts on liquid US equities. Applying these defaults to shorter timeframes or higher-volatility instruments without adjustment produces unreliable signals.
HOW IT WORKS¶
Inputs¶
| Parameter | Default | Effect of Increasing |
|---|---|---|
| ATR Lookback Period | 10 | Smoother ATR, slower reaction to volatility shifts |
| Multiplier | 3.0 | Wider bands, fewer flips, more trend given back on reversal |
Calculation Steps¶
Step 1 — Compute basic bands
Basic Upper Band = (High + Low) / 2 + Multiplier × ATR
Basic Lower Band = (High + Low) / 2 − Multiplier × ATR
Step 2 — Apply trailing logic to produce final bands
Final Upper Band = min(Basic Upper, previous Final Upper)
if previous close ≤ previous Final Upper,
else Basic Upper
Final Lower Band = max(Basic Lower, previous Final Lower)
if previous close ≥ previous Final Lower,
else Basic Lower
Step 3 — Determine the Supertrend value
- If the previous Supertrend was the Upper Band and current close ≤ current Upper Band → Supertrend = Upper Band (downtrend continues)
- If the previous Supertrend was the Upper Band and current close > current Upper Band → Supertrend = Lower Band (flip to uptrend)
- Symmetric rules apply for flipping from Lower Band back to Upper Band
Note
The trailing logic ensures the line moves only in the direction of the trend — it ratchets up in uptrends and down in downtrends, never giving back ground until a flip.
Worked Example¶
SPY closes at $580 with ATR(10) = $5.20 and the default multiplier of 3.
| Calculation | Value |
|---|---|
| Bar midpoint: ($582 + $578) / 2 | $580.00 |
| Basic Lower Band: $580 − (3 × $5.20) | $564.40 |
| Supertrend (prior trend up) | $564.40 — green |
If SPY closes the next session at $577 and the Lower Band ratchets to $565.10, Supertrend continues printing green at $565.10. The trend flips only when SPY closes below the Lower Band, at which point the Upper Band is immediately recalculated, printed in red overhead, and the system declares a downtrend.
HOW TO USE¶
Common Applications¶
| Use Case | Description |
|---|---|
| Trend confirmation filter | Take long trades only when Supertrend is green; short trades only when red |
| Trailing stop | Exit a position when price closes through the Supertrend line |
| Multi-timeframe alignment | Require Supertrend green on the daily, 4-hour, and 1-hour charts simultaneously before entry |
| Algorithmic signal filter | Combine with RSI or MACD to suppress signals during choppy, range-bound conditions |
Multiplier Selection by Context¶
| Multiplier Range | Behavior | Typical Use Case |
|---|---|---|
| 1.5 – 2.0 | Tighter trail, more whipsaws | Faster momentum strategies |
| 3.0 (default) | Balanced for daily US equity charts | Swing trading on liquid instruments |
| 4.0 – 5.0 | Wider trail, fewer flips, more given back on reversals | Position trading, reducing noise |
Tip
When applying Supertrend to intraday or crypto charts, raise the multiplier significantly above the default. A standard ATR(10), 3.0 configuration applied to a 5-minute crypto chart can produce 80–100 flips per session, rendering the signal unusable.
LIMITATIONS¶
Note
Supertrend is a lagging indicator by construction. It cannot signal a reversal until price has already moved through several ATRs of the prior trend's range.
Whipsaw risk in ranging markets
A standard configuration produces 15–25 flips per year on a major index under trending conditions. During a multi-week consolidation, the same configuration can generate 4–5 flips within two weeks. Cumulative slippage across those flips frequently exceeds the gain captured when a genuine trend eventually develops.
Timeframe and instrument dependency
The default parameters are not universally applicable. Always validate multiplier and ATR period settings against the specific instrument and timeframe before use.