OPEN-SOURCE SCRIPT
已更新

ATR trailing Stop Loss tight to slack [Takazudo]

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.
版本注释
updated PineScript version 4 to 5

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。