HeWhoMustNotBeNamed

Supertrend - Delayed Trail

I use supertrend for for trailing stops. One of the problem of trailing stops in long term trend trading is we get stopped too early and then trend continues. To avoid this problem, we can limit or delay our trailing.

In this modified version of supertrend, we can delay trailing by two methods:

  • Bars : Trail after certain bars. Input DelayBars says after how many bars it should trail.
  • Steps : Trail after reaching equivalent stop on the other side.

ConsiderWicks option reverse direction upon high reaching trailing Sell stop or low reaching trailing buy stop (instead of close)
ConsiderWicksForDelayByStep does the same thing for calculating if the steps have reached.
Release Notes: Added separate multiplier for stop and target.

Lesser value of target multiplier leads to more often trailing. Higher value of target multiplier lead to less often trailing.
Release Notes: Added alertcondition on demand :)
Release Notes: Added new type of delay based on breakouts. Breakouts are based on breakout candles logic present here:

Ta bort från favoritskript Lägg till som favoritskript

Kommentarer

Possible alerts upon trend break? Thank You
+2 Svara
@RwTrades, done
+1 Svara
Thank you
+1 Svara
Thanks a lot!
+1 Svara
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 Publicerade idéer Följare Följer Privata meddelanden Chatt Logga ut