OPEN-SOURCE SCRIPT
Updated

ADR Percent

Uses past 5 day's daily average ranges and calculates average ADR percentage with respect to latest day's open

Acknowledgement - Uses code from another excellent indicator from critian.d
Release Notes
Add the ability to select the time period for ADR calculation to be chosen from one of the 5/10/15 days
Release Notes
Fixed a bug with time range selection
Release Notes
Added 20 day range
Release Notes
Upgrade to pine script version 5
Release Notes
Fixed a bug in the script where it was incorrectly diving the ADR by 2. Now you should correctly see the ADR to be twice as before.

Disclaimer