OPEN-SOURCE SCRIPT

ADR(20)% - Qullamagi (corner value) v6

132
Description:
This indicator calculates the 20-day Average Daily Range (ADR) as a percentage (or in raw $) and displays it in a clean corner table on the chart.

Formula: average of (High ÷ Low – 1) over the last 20 bars.

Use % or $ mode via settings.

Position the box in any chart corner.

Inspired by Kristjan Qullamägi (Qullamaggie), who uses ADR to filter strong movers and size stop-losses (stops should generally be ≤ 1×ADR).

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.