OPEN-SOURCE SCRIPT
Updated Bar Range vs ATR Overlay

This script shows each bars range as well as the ATR with significantly large or small bars highlighted. I use this in conjunction with a 2 period ADX (also shown) to find periods of low volatility from which price may break out of. The eggplants were added to the chart (they are not part of the script) to show what that looks like. The pepper shows where a there was another significant event that the combination of these indicators points out- A large bar that made a new high and a new low. This is a good sign of a reversal. Since multiple bars may make up a good signal, it's best to check higher time frames for confluence. I also like to look at a combination of moving averages and higher period ADX (not shown as to keep chart clean) to verify trend direction and will pass on a signal given by these indicators if the trend indicators give "mixed signals".
Release Notes
Added the actual ratio for reference.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.