PROTECTED SOURCE SCRIPT
AG Trailing Stop Loss

This is an indicator we have used extensively for a systematic way of trailing our stop loss, hence the name TSL - Trailing Stop Loss.
In a nutshell, it is based off Average True Range calculations.
We use it dynamically with the example of when markets are in high volatility, the SL should be trailed tighter to lock in more profit in case the volatility turns around and the market goes against our position. When markets are smooth sailing, e.g. no unusual volatility, the SL can be trailed at a "regular" distance. For longer-term trades or when you may expect the market to pullback but continue in the direction of your position, you can trail the SL using the "wide" setting.
All parameters are editable, but I would suggest leaving the defaults as they are. In this version, I have included 3 different styles of TSL that can be easily toggled on/off depending on which TSL setting you wish to see/use - close, regular, and/or wide.
In a nutshell, it is based off Average True Range calculations.
We use it dynamically with the example of when markets are in high volatility, the SL should be trailed tighter to lock in more profit in case the volatility turns around and the market goes against our position. When markets are smooth sailing, e.g. no unusual volatility, the SL can be trailed at a "regular" distance. For longer-term trades or when you may expect the market to pullback but continue in the direction of your position, you can trail the SL using the "wide" setting.
All parameters are editable, but I would suggest leaving the defaults as they are. In this version, I have included 3 different styles of TSL that can be easily toggled on/off depending on which TSL setting you wish to see/use - close, regular, and/or wide.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。