OPEN-SOURCE SCRIPT

ATR trailing Stop Loss tight to slack [Takazudo]

Updated
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.
Release Notes
updated PineScript version 4 to 5
Average True Range (ATR)stoplosstrailingstop

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

Want to use this script on a chart?


Also on:

Disclaimer