SuperTrend Oscillator
By LuxAlgoMay 11, 2021
SuperTrend Oscillator is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
The SuperTrend Oscillator converts the gap between price and the SuperTrend band into a bounded oscillator on a (-100, 100) scale, normalized by the widest spread between the band's extremities. Three components stack into a MACD-like anatomy: the main oscillator, a Signal line smoothed by an adaptive filter that distorts less in trends, and a Histogram of their difference, plus on-chart symbols that grade the SuperTrend's own signals as true or false.
How to Trade the SuperTrend Oscillator?
- Main oscillator above 0: price sits above the SuperTrend (bullish posture); below 0 is the bearish mirror.
- Readings near +100 or -100: a strong trend is in force.
- Pullbacks into the 50/-50 zone: retracement territory within trending markets, while overbought and oversold extremes flag potential exit areas.
- Main and histogram signs disagree: when the main reads positive while the histogram is negative (or vice versa), upcoming SuperTrend crossovers can be disregarded as likely false.
- Cross and checkmark symbols: printed at the bottom for buy signals and at the top for sell signals to validate the previous signal, with the false-signal percentage summarized over the chart's history.
SuperTrend Oscillator Settings
- Length: the ATR period behind the SuperTrend calculation.
- Mult: the ATR multiplier.
- Smooth: smoothing applied to the histogram.
- Fixed Transparency / Show Lines and Labels: display toggles for the pane.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 11 Supertrend indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





