OPEN-SOURCE SCRIPT

ADR% / ATR / Market Cap

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).
Market Cap: Total value of all a company's shares of stock.

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, and ArmerSchlucker for the original script which includes LoD Dist . instead of Market Cap.
ADRATRaveragedailyrangeAverage True Range (ATR)marketcap

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