OPEN-SOURCE SCRIPT

Trailing ATR Stops

Mis à jour
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
Notes de version
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

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité