OPEN-SOURCE SCRIPT
ATR Volatility Strength Indicator

# ATR Volatility Strength Indicator
The ATR Volatility Strength Indicator is designed to measure the current market volatility relative to its recent average volatility.
Instead of displaying raw ATR values, the indicator compares the current candle range against a longer-term ATR baseline and converts the result into an easy-to-read 7-level volatility scale.
## Key Features
### Relative Volatility Measurement
Measures current price expansion by comparing the latest candle range to the average ATR.
This helps traders quickly identify whether the market is:
* Quiet
* Normal
* Trending
* Expanding
* Explosive
### 7 Volatility Levels
The indicator automatically classifies volatility into seven categories:
| Level | Description |
| ----- | ------------------------ |
| 0 | Extremely Low Volatility |
| 1 | Low Volatility |
| 2 | Normal |
| 3 | Moderate Strength |
| 4 | High Volatility |
| 5 | Volatility Expansion |
| 6 | Extreme Expansion |
### Color-Coded Histogram
Each volatility level is displayed using a different color for quick visual interpretation:
* Gray → Low activity
* Green → Normal market conditions
* Blue → Strong movement
* Orange → Expansion phase
* Red → Extreme volatility
### Extreme Volatility Highlight
When volatility reaches the highest level, the background is automatically highlighted to help traders identify potential breakout or climax conditions.
## Practical Uses
### Trend Confirmation
Strong trends are often accompanied by increasing volatility levels.
### Breakout Detection
Rapid increases in volatility may indicate the beginning of a breakout phase.
### Range Market Identification
Low volatility levels can help identify accumulation, consolidation, or ranging environments.
### Trade Filtering
Can be used as a volatility filter to avoid trading during inactive market conditions.
## Suitable Markets
* Forex
* Gold (XAUUSD)
* Indices
* Stocks
* Cryptocurrency
## Recommended Timeframes
Compatible with all timeframes, from scalping to swing trading.
## Disclaimer
This indicator measures volatility only and does not provide directional signals. It should be used alongside market structure, trend analysis, and proper risk management techniques.
The ATR Volatility Strength Indicator is designed to measure the current market volatility relative to its recent average volatility.
Instead of displaying raw ATR values, the indicator compares the current candle range against a longer-term ATR baseline and converts the result into an easy-to-read 7-level volatility scale.
## Key Features
### Relative Volatility Measurement
Measures current price expansion by comparing the latest candle range to the average ATR.
This helps traders quickly identify whether the market is:
* Quiet
* Normal
* Trending
* Expanding
* Explosive
### 7 Volatility Levels
The indicator automatically classifies volatility into seven categories:
| Level | Description |
| ----- | ------------------------ |
| 0 | Extremely Low Volatility |
| 1 | Low Volatility |
| 2 | Normal |
| 3 | Moderate Strength |
| 4 | High Volatility |
| 5 | Volatility Expansion |
| 6 | Extreme Expansion |
### Color-Coded Histogram
Each volatility level is displayed using a different color for quick visual interpretation:
* Gray → Low activity
* Green → Normal market conditions
* Blue → Strong movement
* Orange → Expansion phase
* Red → Extreme volatility
### Extreme Volatility Highlight
When volatility reaches the highest level, the background is automatically highlighted to help traders identify potential breakout or climax conditions.
## Practical Uses
### Trend Confirmation
Strong trends are often accompanied by increasing volatility levels.
### Breakout Detection
Rapid increases in volatility may indicate the beginning of a breakout phase.
### Range Market Identification
Low volatility levels can help identify accumulation, consolidation, or ranging environments.
### Trade Filtering
Can be used as a volatility filter to avoid trading during inactive market conditions.
## Suitable Markets
* Forex
* Gold (XAUUSD)
* Indices
* Stocks
* Cryptocurrency
## Recommended Timeframes
Compatible with all timeframes, from scalping to swing trading.
## Disclaimer
This indicator measures volatility only and does not provide directional signals. It should be used alongside market structure, trend analysis, and proper risk management techniques.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
輕輕得走過牛熊,用量化渡過長河
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
輕輕得走過牛熊,用量化渡過長河
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.