OPEN-SOURCE SCRIPT

Supertrend Ext

By TheBacktestGuy
Updated
1st it exactly looks like the original Supertrend indicator. But if you see the options, you can see it is totally different:

  • It uses my other indicator inside: Zero Lag Keltner Channels, so you can use smoothed ATR bands for calculation instead of the raw ATR. By default it's length is 1 so it works like the original Supertrend.
  • You can choose different sources and moving averages for Keltner Channel calculation
  • It can filter outliers in ATR calculation
  • The indicator code is in my TAExt library, so it can easily be used in custom strategies.

Release Notes
Multiple timeframe support
Release Notes
  • Cleaned unused parameters and calculations
  • Fixed the offset feature
ATRoutlier_detectoroutlierssupertrendTrend Analysiszerolag

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