OPEN-SOURCE SCRIPT
Tightening Trailing Stop Loss

A utility tool to independently simulate a Trailing Stop based on ATR and Recent Candle Structure. It's most helpful if you only want something to independently trail a Stop and nothing else. For example, if you decide where to enter via a discretionary system, but like trailing Stops via code.
It's used by changing the 'Start Date' to the date where you wish to enter. It'll then display a Stop and Trail it, until it intersects with a candle. The Indicator will hide itself when it intersects with a candle to avoid cluttering the chart. It only moves in the direction of risk, so that means that, when set, it'll never increase the risk of your trade, unlike simple ATR bands. However, it does require resetting manually for each trade.
By Default, it uses a 10 Period RMA ATR, which is set 0.5 ATR away from the Low/High of the recent candle structure. It'll tighten each candle by multiplying it's value with .95, meaning it always tightens a little. All of these can be changed in the settings to match your preferred method of Setting/Trailing Stops
It's used by changing the 'Start Date' to the date where you wish to enter. It'll then display a Stop and Trail it, until it intersects with a candle. The Indicator will hide itself when it intersects with a candle to avoid cluttering the chart. It only moves in the direction of risk, so that means that, when set, it'll never increase the risk of your trade, unlike simple ATR bands. However, it does require resetting manually for each trade.
By Default, it uses a 10 Period RMA ATR, which is set 0.5 ATR away from the Low/High of the recent candle structure. It'll tighten each candle by multiplying it's value with .95, meaning it always tightens a little. All of these can be changed in the settings to match your preferred method of Setting/Trailing Stops
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。