The Supertrend explained simply
The Supertrend is a line that sits below the price in an uptrend and above it in a downtrend. Its distance from the price depends on how much the price normally swings.
The Supertrend became popular mainly through charting tools such as TradingView. It builds on volatility, measured with the ATR, and draws a line at a fixed distance from it. Many use it as a simple trend indicator and as a trailing stop.
What it's about
When the line is below the price, the trend counts as up, often coloured green. When it's above, as down. When the price closes on the other side of the line, it switches sides.
An example: a stock is rising, the line sits €4 below it and follows along. If the price one day falls below the line, it jumps above the price. Anyone using it as a stop is out.
How it's calculated
You take the midpoint between the day's high and low and subtract three times the ATR. That gives the lower line. The upper line comes from adding three times the ATR. In an uptrend the lower line may only rise, never fall.
With numbers: high €91, low €89, so the midpoint is €90. The ATR is €1.30. The lower line sits at €90 minus €3.90, so at €86.10.
What signals traders read from it
- Flip: When the line jumps below the price, many read it as a buy signal. When it jumps above, as a sell signal.
- Trailing stop: During a trend the line serves as an exit point that moves along automatically.
- Filter: Some only trade other signals in the direction the Supertrend currently shows.
Where it misleads you
The Supertrend also comes late. It only flips once the price has already moved a good distance in the new direction. In sideways phases it switches sides often, and every switch costs money.
The settings make a big difference. With factor 2 it flips often and exits early, with factor 4 rarely and gives back a lot of profit. There's no one right setting, and one that fits perfectly in hindsight is usually overfitted.
An example trade with made up numbers
Mia has €10,000 in her account and risks at most €150 per trade. The Supertrend on a stock flips below the price, with the line €4 below it. Mia buys at €90 and sets her stop loss at €86. With that distance, she buys 37 shares for €3,330. Costs: €1 each to buy and sell, plus about 2 cents of spread per share on each order.
If it works: The trend runs until the line flips back at €98 and Mia sells. Mia is €296 ahead. After €2 in fees and €1.50 in spread, €292.50 is left.
If it goes wrong: The price turns shortly after the purchase and the line flips back. The stop fills at €85.90. That's a €151.70 loss, €155.20 with costs.
Because the line was €4 away, Mia could only buy 37 shares. The Supertrend set her position size, not just her entry.
The Supertrend is usually credited to Olivier Seban. It's closely related to ATR trailing stops and the Chandelier Exit, which also keep a stop at a multiple of the ATR.
Formally: upper band = (high + low) / 2 + factor × ATR, lower band = (high + low) / 2 − factor × ATR. In an uptrend the active lower band only rises, in a downtrend the active upper band only falls. When the price closes beyond the active band, the direction flips. 10 periods and factor 3 are common.
Like all trend followers, the Supertrend earns in a few long trends and loses in many short false signals. Whether that pays off overall depends heavily on the market and on costs.
Summary
- The Supertrend sits below the price in an uptrend and above it in a downtrend.
- Its distance from the price depends on the ATR.
- In sideways phases it often switches sides.
Did you get it?
Daily midpoint €90, ATR €1.30, factor 3. Where is the lower line?
At €86.10, so €90 minus €3.90.
What happens when the price falls below the lower line?
The line jumps above the price, and the Supertrend then shows a downtrend.
Why is a setting that's perfect in hindsight suspicious?
Because it's usually fitted to old data and works worse in the future.
Sources and further reading
- StockCharts ChartSchool, ATR Trailing Stops, a closely related method. View source ↗
- ESMA, investor information on trading risks. View source ↗
Related
- ATRIndicator
- Parabolic SARIndicator
- OverfittingLesson