OPEN-SOURCE SCRIPT
Average Volatility Zones

Displays the average volatility range directly on the chart as horizontal levels projected from the current period's open.
The indicator calculates the average candle size (High-Low or True Range) over a configurable period and timeframe (default: Daily, 20 bars), then draws upper and lower lines at that distance from the current timeframe open — showing how far price typically moves within one period.
Key features:
- Multi-timeframe support — measure volatility from any timeframe (M15 to Monthly)
- Scalable levels — optional 2x, 3x, and custom multiplier levels for extended volatility zones
- Zone mode — converts lines into shaded bands based on a percentage of the average volatility
- Automatic pip detection for forex pairs (supports 5-digit and 3-digit brokers)
- Each level is labeled with its timeframe, period, and value in pips
- Fully customizable colors, line styles, label positioning, and zone transparency
Useful for gauging intraday range potential, setting realistic targets, identifying overextended moves, and filtering entries near volatility extremes.
The indicator calculates the average candle size (High-Low or True Range) over a configurable period and timeframe (default: Daily, 20 bars), then draws upper and lower lines at that distance from the current timeframe open — showing how far price typically moves within one period.
Key features:
- Multi-timeframe support — measure volatility from any timeframe (M15 to Monthly)
- Scalable levels — optional 2x, 3x, and custom multiplier levels for extended volatility zones
- Zone mode — converts lines into shaded bands based on a percentage of the average volatility
- Automatic pip detection for forex pairs (supports 5-digit and 3-digit brokers)
- Each level is labeled with its timeframe, period, and value in pips
- Fully customizable colors, line styles, label positioning, and zone transparency
Useful for gauging intraday range potential, setting realistic targets, identifying overextended moves, and filtering entries near volatility extremes.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.