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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
輕輕得走過牛熊,用量化渡過長河
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
輕輕得走過牛熊,用量化渡過長河
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.