OPEN-SOURCE SCRIPT

ADR% / ATR / LoD dist. Table

Displays the following values in a table in the upper right corner of the chart:

  • ADR%: Average daily range (in percent).
  • ATR: Average true range (hidden by default).
  • LoD dist.: Distance of current price to low of the day as a percentage of ATR.


All values are calculated based on daily bars, no matter what time frame you are currently viewing. Doesn't work for time frames >1D, which is why the table is not shown on weekly/monthly charts.

Credit to MikeC / TheScrutiniser and GlinckEastwoot for ADR% formula
ADRATRaveragedailyrangeAverage True Range (ATR)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer