OPEN-SOURCE SCRIPT
ADR(20)% - Qullamagi (corner value) v6

This indicator displays the 20-bar Average Daily Range (ADR) either as a percentage of price or in raw dollar terms, shown in a clean corner box on the chart.
Switch between % ADR and $ ADR with a single checkbox.
Place the output box in any chart corner.
Useful for volatility assessment, stop-loss sizing, and stock selection.
Inspired by the trading approach of Kristjan Qullamägi (Qullamaggie), who uses ADR(20) both to filter high-momentum stocks and to size risk (stops should generally be ≤ 1×ADR).
Switch between % ADR and $ ADR with a single checkbox.
Place the output box in any chart corner.
Useful for volatility assessment, stop-loss sizing, and stock selection.
Inspired by the trading approach of Kristjan Qullamägi (Qullamaggie), who uses ADR(20) both to filter high-momentum stocks and to size risk (stops should generally be ≤ 1×ADR).
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.