OPEN-SOURCE SCRIPT

ATR Dashboard

85
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.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน