Trendoscope

Supertrend - Delayed Trail

Trendoscope Wizard Aggiornato   
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.
Note di rilascio:
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.
Note di rilascio:
Added alertcondition on demand :)
Note di rilascio:
Added new type of delay based on breakouts. Breakouts are based on breakout candles logic present here:


Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?