Adoptive Supertrend - Pivots

Another experiment with Supertrend by making use of pivot point high/lows.

Trailing Stop types used in this indicator are:

  • ATR - plain ATR based supertrend
  • Breakout - ATR based supertrend combined with breakout. (Trailing triggered only if price change is higher than HighPriceChange multiplier times ATR.
  • Pivot Points - Trail only when new pivots created. Pivot stop multiplier is used below pivot low.
  • Combined - Combine everything together

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
Please PM me if you need access to any invite only screen.

Join tradingview: https://www.tradingview.com/gopro/?share_your_love=sudh


after how many candles does the pivot appear?
+1 Svara
@greyghost7, after PvtLenR bars. SL also updated after pivots formed.
nice bro very nice:)
+1 Svara
@RafaelZioni, thanks mate :)
Hii, is the HH,HL repainting ?
@tomswebins, It is not repainting. But, pivots are formed after PvtLenR bars. This is expected and SL is also moved once the pivots are formed. You can see in the chart that SL movement happens after few bars.

It is delayed painting rather than repainting. Once pivots are formed, it will not change that.
@tomswebins, One correction. There is a possibility of repainting if WaitForClose is set to false. Because, it is very negligible i suppose.
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Hur det fungerar Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Hänvisade vänner Mynt Mina kölappar Hjälpcenter Privata meddelanden Chatt Logga ut