OPEN-SOURCE SCRIPT
ATR Dashboard

The script calculates and displays an interactive ATR dashboard showing the current volatility level through various ATR metrics. It includes multi-period ATR values (5, 14, 20, 50), the ATR percentage relative to price, an estimated daily range, and suggested Stop Loss levels for both long and short positions.
Optionally, it can plot ATR bands on the chart to visualize the volatility zone.
⚙️ Key Features
Dynamic calculation of ATR and its moving average to detect whether volatility is increasing or decreasing.
Customizable on-chart dashboard (position, colors) displaying:
Current ATR value and % of price
ATR multiplied by a configurable factor
Multi-timeframe ATR (5, 14, 20, 50)
Volatility trend (Increasing / Decreasing)
Suggested Stop Loss levels (Long / Short)
Optional ATR bands plotted directly on the chart.
Built-in alerts for:
ATR crossing its moving average (volatility shift)
50%+ volatility spike in a single bar.
Optionally, it can plot ATR bands on the chart to visualize the volatility zone.
⚙️ Key Features
Dynamic calculation of ATR and its moving average to detect whether volatility is increasing or decreasing.
Customizable on-chart dashboard (position, colors) displaying:
Current ATR value and % of price
ATR multiplied by a configurable factor
Multi-timeframe ATR (5, 14, 20, 50)
Volatility trend (Increasing / Decreasing)
Suggested Stop Loss levels (Long / Short)
Optional ATR bands plotted directly on the chart.
Built-in alerts for:
ATR crossing its moving average (volatility shift)
50%+ volatility spike in a single bar.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน