vtrader321

ADR Percent

vtrader321 Updated   
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.

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?