ATR bands, smoothed with exponential moving averages.
The difference between this and other ATR bands is that high and low are used as the source for top and bottom band, resulting in more accurate ATRs. It is also calculated in log-space to aid in making the bands more "springy" when it comes to extremely volatile assets or very low timeframes.
See here for an upgraded version:
Notes de version
- Added option to not use a moving average to get the real value for stop loss
Notes de version
Added alert conditions for the labels. Defaulted EMA smoothing to true.
Notes de version
Added additional bands that are off by default. These bands do not have alerts nor shapes attached to them, so I have turned "Show Labels When Price Closes Out of Bands" off for default to prevent confusion.
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Aussi sur:
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.