OPEN-SOURCE SCRIPT

Trailing ATR Stops

От millerrh
Обновлено
This script plots a trailing stop of the ATR multiplied by a user-defined number. Since it is meant to be used as a trailing stop, the value doesn't fluctuate with the price as a normal ATR indicator does, but stays fixed unless price moves away from it. In that case it follows the price. If price crosses the stop level, it resets itself based on current price and starts trailing all over again.

User Settings:

  • Support - Use for a trailing stop while long
  • Resistance - Use for a trailing stop while short
  • Both - Acts like a channel and can spot periods of lower volatility
Информация о релизе
Giving additional credit to SimpleCryptoLife as it seems like some of the code is similar to one of his indicators. Was an unintentional omission.
ATRAverage True Range (ATR)Support and Resistancetrailingstop
millerrh

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности