vnhilton

ADR + IDR [vnhilton]

vnhilton Updated   
Average Day Range (ADR) is an indicator that calculates the average range of high to low of the candles for a set period of time. This is more useful for intraday trading, where, on an average day, you'd expect price to trade in a range similar to the ADR. This indicator also includes an Intraday Day Range (IDR), which can be used to track progress of the intraday range. By default, IDR is in multiplier form i.e. if it's 2, then the day has traded at a range twice as large as the ADR (you have the option to change IDR to price form if you wish). Therefore, IDR can also be used to measure intraday volatility (as well as taking profit & perhaps fading false breakouts when IDR is at 1x, 1.5x, 2x, etc.) by seeing if today is above/below/at average. This means that this indicator is intended for intraday use, but can be used up to the daily timeframe.

(ADR & IDR values can be seen in the top left)

The indicator also plots intraday high & low levels so when price trades near these levels then the indicator can become of use (if price trades far away from these levels, then you don't need to pay any attention to the indicator).

We can see in the chart snapshot image above for BTCUSDT, its 10 period ADR is 1149.37, & IDR is 0.52 (just over 50% of the ADR) as of 21:40 BST, meaning that BTCUSDT price range today is lower than average.

You may notice that the intraday high & low isn't touching the intraday high & low lines respectively on instruments that isn't cryptocurrencies nor forex pairs. To solve this problem, you would have to get extra market data from TradingView, or to integrate your broker with TradingView to pass along your broker's data feed (provided your broker also has real-time data - if not you may need to get extra market data via the broker.
Release Notes:
- Added 25%,50%,75% lines in-between intraday high & low. To set custom percentages, modify the percentage value in the code (Note the percentage distance starts from the intraday low up).
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?