OPEN-SOURCE SCRIPT
تم تحديثه OBV StdDev Trend Breakout

Overview
OBV StdDev Trend Breakout is a volume-based trend indicator built on On-Balance Volume. It compares OBV against its moving average and applies standard deviation bands to identify meaningful breakout conditions, then uses the OBV relationship to its average as the trend filter to confirm bullish or bearish bias.
How It Works
The indicator calculates upper and lower standard deviation bands around OBV. A bullish signal is triggered when OBV breaks above the prior upper band while remaining above its moving average, indicating expanding upside volume pressure with trend confirmation. A bearish signal is triggered when OBV breaks below the prior lower band while remaining below its moving average, indicating expanding downside volume pressure with trend confirmation. Once a bias is established, it persists until the opposing condition is met.
Visual Features
OBV line color updates dynamically based on the current bullish or bearish state.
Upper and lower standard deviation bands are calculated and used internally for breakout logic.
A normalized OBV baseline at 1 provides a clean reference for whether OBV is above or below its average.
Candle colors update to reflect the current OBV bias on the chart.
Inputs
SMA Period - controls the moving average length used as the trend baseline.
Standard Deviation Length - controls the lookback for standard deviation band calculation.
Standard Deviation Multiplier - adjusts the width of the bands.
Alerts
Bullish OBV Breakout: OBV breaks above the upper standard deviation band and remains above its moving average.
Bearish OBV Breakout: OBV breaks below the lower standard deviation band and remains below its moving average.
OBV StdDev Trend Breakout is a volume-based trend indicator built on On-Balance Volume. It compares OBV against its moving average and applies standard deviation bands to identify meaningful breakout conditions, then uses the OBV relationship to its average as the trend filter to confirm bullish or bearish bias.
How It Works
The indicator calculates upper and lower standard deviation bands around OBV. A bullish signal is triggered when OBV breaks above the prior upper band while remaining above its moving average, indicating expanding upside volume pressure with trend confirmation. A bearish signal is triggered when OBV breaks below the prior lower band while remaining below its moving average, indicating expanding downside volume pressure with trend confirmation. Once a bias is established, it persists until the opposing condition is met.
Visual Features
OBV line color updates dynamically based on the current bullish or bearish state.
Upper and lower standard deviation bands are calculated and used internally for breakout logic.
A normalized OBV baseline at 1 provides a clean reference for whether OBV is above or below its average.
Candle colors update to reflect the current OBV bias on the chart.
Inputs
SMA Period - controls the moving average length used as the trend baseline.
Standard Deviation Length - controls the lookback for standard deviation band calculation.
Standard Deviation Multiplier - adjusts the width of the bands.
Alerts
Bullish OBV Breakout: OBV breaks above the upper standard deviation band and remains above its moving average.
Bearish OBV Breakout: OBV breaks below the lower standard deviation band and remains below its moving average.
ملاحظات الأخبار
.نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.