OPEN-SOURCE SCRIPT
Updated Avg daily range

The Average Daily Range (ADR) is a technical indicator that measures the average price movement of a financial instrument over a specific period.
Release Notes
The average daily range (ADR) represents the typical price movement of a currency pair within a 24-hour period, calculated by averaging the daily price range.Displays avg pips movement of last N days (range). Supports display for 3 ranges at the same time.
Release Notes
Limits usage on >D timeframesRelease Notes
fix pip calculationRelease Notes
Changed logic:The last daily bar is no longer factored in the ADR calculation, instead the n previous days before current are calculated
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.