OPEN-SOURCE SCRIPT
ADR vs ATR Dashboard v1.2

ADR vs ATR Dashboard v1.2 — User Guide
This dashboard calculates and compares Average True Range (ATR) and Average Daily Range (ADR) from the Daily timeframe ("D") to analyze current market volatility and structural shifts.
1. Understanding Dashboard Metrics
2. How to Access and Adjust Settings
To modify any calculation, layout, or color configurations:
Calculations Tab
Dashboard Layout Tab
Dashboard Colors Tab
This dashboard calculates and compares Average True Range (ATR) and Average Daily Range (ADR) from the Daily timeframe ("D") to analyze current market volatility and structural shifts.
1. Understanding Dashboard Metrics
- Daily ATR: Measures the asset's average volatility over a set number of days including overnight gaps. If an asset gaps up or down significantly at the open, ATR captures that distance.
- Daily ADR: Measures the average high-to-low range of the trading session only, specifically using completed past daily sessions (high[1] - low[1]). It excludes overnight gaps.
- ATR - ADR (Difference): Shows the raw price point difference between the two metrics.
‣ Positive value: High overnight gap activity or recent expanding range.
‣ Negative value: Compressed overnight action relative to intraday ranges. - ATR / ADR (Percentage): Expresses the relationship as a percentage.
‣ Below 90% (Below Threshold): Volatility is compressed or overnight gaps are smaller than typical intraday moves.
‣ 90% – 110% (Balanced): Intraday range and total gap volatility are historical norms.
‣ Above 110% (Above Threshold): Significant price gaps are occurring outside of standard trading hours.
2. How to Access and Adjust Settings
To modify any calculation, layout, or color configurations:
- Hover your mouse over the dashboard title (ADR-ATR) in the top-left corner of your main chart.
- Click the Gear Icon (Settings).
- Use the tabs inside the settings window to customize your experience.
Calculations Tab
- ADR Length & ATR Length: Change the lookback periods.
‣ Swing Trading (Default): ATR 14 / ADR 20
‣ Fast/Responsive: ATR 10 / ADR 10
‣ Macro/Smooth: ATR 20 / ADR 50 - Lower & Upper Thresholds: Adjust the percentage boundaries (90% and 110%) that trigger the "Below ADR", "Balanced", or "Above ADR" condition states.
Dashboard Layout Tab
- Dashboard Location: Move the panel to any corner of your chart window (Top Right, Top Left, Bottom Right, Bottom Left).
- Text Size: Scale the dashboard visibility (Tiny, Small, Normal, Large) to match your screen resolution.
- Toggles: Uncheck "Show ATR Minus ADR" or "Show ATR / ADR Percentage" to hide those rows and make the panel more compact.
Dashboard Colors Tab
- Click the color boxes next to any parameter to completely customize the dashboard background, text, borders, and conditional alert highlights (Below ADR, Balanced, Above ADR).
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.