OPEN-SOURCE SCRIPT

Average True Range Refurbished

Updated
💡 Objective
This script is a rebuild of the pre-existing ATR indicator, with improvements and fine-tuning.

🪄Improvements

1. Normalization option (range 0 to 100)
snapshot

2. Optional calculation of the ratio between current volatility and average volatility
snapshot

3. Optional smoothing
snapshot

4. Show a moving average
snapshot

5. Show Bollinger Bands with 3 bands
snapshot

6. Change bar colors according to ATR and Bollinger Bands

📚 Definition

'The Average True Range (ATR) is a tool used in technical analysis to measure volatility. Unlike many of today's popular indicators, the ATR is not used to indicate the direction of price. Rather, it is a metric used solely to measure volatility, especially volatility caused by price gaps or limit moves.'
(TradingView)
Release Notes
Some fixes and improvements.
ATRAverage True Range (ATR)Bollinger Bands (BB)Historical Volatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


To contribute to my work:
⚡Bitcoin Lightning: forwardocean64@walletofsatoshi.com
🟠Bitcoin: bc1qv0j28wjsg6l8fdkphkmgfz4f55xpph893q0pdh
🔵PayPal: paypal.com/donate/?hosted_button_id=D9KRKY5HMSL9S
Also on:

Disclaimer