OPEN-SOURCE SCRIPT

ATR Dashboard

98
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。