Average Daily Range High Low

This version uses Pine Script v4 line objects which has a limit of 50 bars.
Release Notes: This version displays the average range on the upper line. If "Display average range as forex pips?" is enabled, the range value will be shown in pips.
Release Notes: Update parameter names
Release Notes: Fixed bug in yearly ADR. Thanks to @kiero!
Release Notes: Use the new arrays feature to track how many ADR to show
Release Notes: Add line color inputs
Release Notes: Fixed label alignment issue
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.

Want to use this script on a chart?


Thank you @sherwind
In this example, don't you think that the ADR-high calculation should be done from the low of the day (yellow arrow)? Currently it is done from the open and/or simply shows the high of the day. Or I'm missing something?
+10 Reply
kiero kiero
+4 Reply
excuse me, the yearly doesn't plot correctly
+3 Reply
Any chance you could make so we can change the colours please? It frequently gets lost in my existing colour scheme
+1 Reply
Hi Sherwind, i was using the previous version , but found that weekly and monthly levels mover as time progressed, is this supposed to happen, does the indicator update at each close?
Really like the clarity of this indicator and use it alot. Is it difficult to adjust to show a line at the 75%, 50% of the 5D ADR High and Low?