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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน