OPEN-SOURCE SCRIPT

ka66: Average Bar Range

Averages price ranges (high - low) across a set of bars in a given timeframe. Additionally, also plots the Average True Range (ATR) as a better comparison for volatility.

Configurable period and averaging mechanism.

Useful for gauging minimum profits and price movement over a period, a filter for historical volatility.

Furthermore, executing trades is better done with channels like ATR/Keltner channels, or Bollinger Bands.
Average True Range (ATR)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?

Disclaimer