TradingView
Takazudo
13 de Abr de 2021 13:02

ATR trailing Stop Loss tight to slack [Takazudo] 

AUD/USDOANDA

Descrição

This is a demo of ATR based trailing Stop Loss.

This SL strategy uses 2 types of ATR based SL.

  • tight SL as initial (ATR * 1.5)
  • slack SL as trailing (ATR * 4)


When any entry singal occurs by the buy/sell conditions, this SL strategy uses the "tight SL" as the initial SL.

Then the SL will chase the price as trailing SL. However, this strategy uses the "slack SL" in this trailing phase.

So you can set the tight SL first.
Then SL will chase the price as the slack one.

Note: The entry strategy in this script is not intented to win. Check the result. Be careful. Just a module of my strategy.

Notas de Lançamento

updated PineScript version 4 to 5
Comentários
Akin_S
I was looking ATR trailing for a while but none of them able to follow main trend.
It looks very nice on renko chart, trying to set strategy alerts for my needs.

Good work
Takazudo
@Akin_S, I'm happy to receive your comment, thanks!
sebzik75
Thanks for sharing this, this is what I needed !
Takazudo
👍
hieronymusde
Just wanted to express my gratitude. Your SL implementation is so clean! Thank you, I learned a lot from it.
Takazudo
👍
Mais