OPEN-SOURCE SCRIPT
ATR Dashboard (Volatility Quantifier)

ATR Dashboard
A simple volatility dashboard that displays current ATR values in a compact table in the top-right corner of the chart.
The indicator is designed to make ATR easier to quantify at a glance, especially when developing rules around changing volatility conditions. It displays three independently configurable ATR periods so you can compare short-term, standard, and longer-term volatility.
Features
Short / Long Ratio
The Short / Long row compares the short-term ATR to the long-term ATR:
[code]
Short ATR ÷ Long ATR × 100
[/code]
This provides a quick indication of whether recent volatility is expanding or contracting relative to the longer-term baseline.
For example:
This ratio can be useful for identifying volatility expansion or contraction even before a slower ATR measurement fully reacts.
The dashboard is intended primarily as an observation and rule-development tool. For example, it can help identify conditions such as:
[code]
ATR above X → reduce position size
ATR below X → avoid low-volatility conditions
Short / Long above X% → volatility expansion
[/code]
The default 5 / 14 / 50 settings are simply a starting point and can be adjusted for different instruments, timeframes, or trading styles.
Here's an example of the data table with large text:

A simple volatility dashboard that displays current ATR values in a compact table in the top-right corner of the chart.
The indicator is designed to make ATR easier to quantify at a glance, especially when developing rules around changing volatility conditions. It displays three independently configurable ATR periods so you can compare short-term, standard, and longer-term volatility.
Features
- Short ATR – Default length: 5
- Standard ATR – Default length: 14
- Long ATR – Default length: 50
- Displays ATR in both points and ticks
- Automatically uses the instrument's minimum tick size
- Configurable table text size
- Designed to work with TradingView Bar Replay
Short / Long Ratio
The Short / Long row compares the short-term ATR to the long-term ATR:
[code]
Short ATR ÷ Long ATR × 100
[/code]
This provides a quick indication of whether recent volatility is expanding or contracting relative to the longer-term baseline.
For example:
- 70% – Recent volatility is significantly lower than the longer-term baseline
- 100% – Recent volatility is approximately equal to the baseline
- 150% – Recent volatility is about 50% higher than the baseline
- 200% – Recent volatility is roughly double the baseline
This ratio can be useful for identifying volatility expansion or contraction even before a slower ATR measurement fully reacts.
The dashboard is intended primarily as an observation and rule-development tool. For example, it can help identify conditions such as:
[code]
ATR above X → reduce position size
ATR below X → avoid low-volatility conditions
Short / Long above X% → volatility expansion
[/code]
The default 5 / 14 / 50 settings are simply a starting point and can be adjusted for different instruments, timeframes, or trading styles.
Here's an example of the data table with large text:
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน