OPEN-SOURCE SCRIPT
Mis à jour

ATR trailing Stop Loss tight to slack [Takazudo]

6563
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.
Notes de version
updated PineScript version 4 to 5

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.