OPEN-SOURCE SCRIPT

SuperTrend

By everget
Wizard
Updated
This is a redesign of the SuperTrend indicator. It removes stupid transitions between SuperTrend states and highlights initial points for both lines.

SuperTrend is a moving stop and reversal line based on the volatility (ATR).
Release Notes
  • Modified initial algorithm
Release Notes
  • Added Buy/Sell alerts
  • Added Buy/Sell labels
Release Notes
  • Fix erratum
Release Notes
  • Converted to Pine V4
  • Added an option to take candle wicks into account


From now, with checked "Take Wicks into Account" option the SuperTrend will respond more clearly than default one:
snapshot
Release Notes
  • Added long/short state highlighting
Release Notes
  • Update
Release Notes
  • Fixed bug with 4-price Doji candles
atrstopAverage True Range (ATR)movingstoplossstopsupertrendtrailingtrailingstoptrailingstoplosstrendTrend AnalysisVolatility
everget
Wizard
Freelance -> Telegram: @alex_everget

A list of FREE indicators:
bit.ly/2S7EPuN

A list of PAID indicators:
bit.ly/33MA81f

Earn $15:
tradingview.com/pricing/?share_your_love=everget

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer