Trailing SL Strategy [QuantNomad]

I'm a big fan of simple strategies.
This one is a very simple one. So it consists only from one Trailing SL. When SL is hit, the position is reversed and SL is tracked for a new position.
You can choose one of 3 types of SL:
  • % of your price
  • ATR - it is calculated as current ATR * multiplier
  • Absolute
As you can see even this simple strategy can show pretty good results.
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.

Vuoi usare questo script sui tuoi grafici?
Pine Programming: https://qntly.com/pineprog
Advanc. Pine Use-Cases: https://qntly.com/advpine

Access to Pro Indic.: https://qntly.com/proind

YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel


Sir that's not working no so singnal on chart
+8 Rispondi
QuantNomad Choudhary122
@Choudhary122, What symbol/timeframe are you using? I bet default params are too big for your stuff. Try to switch to ATR, should work on anything.
+7 Rispondi
The script works pretty good. Can also please add alerts?
+6 Rispondi
QuantNomad SIO34trade
@SIO34trade, here are alerts for this strategy:
+4 Rispondi
Hey looks pretty good! Thanks for share! Any recommend about TF, 1h and above?
+2 Rispondi
QuantNomad WallStSpecter
@WallStSpecter, Yep, it seems to work pretty good at 1-4H. I think it might work pretty good and on other time-frames with different settings.
+2 Rispondi
WallStSpecter QuantNomad
@QuantNomad, thanks for respond. Have a good day!
Thank you for your special help for my question on mail system... Also for sharing... Good job
+1 Rispondi
Hey Quant, would you please assist with a long strategy only? Or teach me how to make the position size 0 on short trades? Thank you
QuantNomad Pro-Passive
@Pro-Passive, You can replace short entry with strategy.close for that.