P
PipsGrowth

النقاط الرئيسية

الصعوبة:Beginner
الموثوقية:Moderate
الفئة:volume
الأطر الزمنية:1H, 4H, Daily

On-Balance Volume (OBV)

volume📊 1H, 4H, Daily

Cumulative indicator that adds volume on up days and subtracts on down days. Shows buying/selling pressure.

المعادلة

Code
If Close > Close(prev): OBV = OBV(prev) + Volume
If Close < Close(prev): OBV = OBV(prev) - Volume

شرح تفصيلي

On-Balance Volume (OBV) was developed by Joe Granville. It creates a running total of volume, adding volume on up days and subtracting on down days.

**Key Concept:** Volume precedes price. Changes in OBV often lead price movements.

**Trading Applications:** - Trend Confirmation: OBV trending with price - Divergence: OBV and price disagreement - Breakout Confirmation: Volume supporting breakouts

📈 إشارات صعودية

OBV rising while price consolidates, bullish divergence

📉 إشارات هبوطية

OBV falling while price consolidates, bearish divergence

تطبيق بايثون

OBV calculation

Python
import pandas_ta as ta
df['OBV'] = ta.obv(df['close'], df['volume'])

كود TradingView

JavaScript
//@version=5
indicator("OBV")
obv = ta.obv
plot(obv, "OBV", color=color.blue)
📊 استخدم TradingView للرسوم البيانية المتقدمة
أدوات تحليل احترافية مع أكثر من 100 مؤشر فني
احصل على TradingView Pro

كود MT5

C++
int obv_handle = iOBV(_Symbol, _Period, VOLUME_TICK);
double obv[];
CopyBuffer(obv_handle, 0, 0, 100, obv);

أخطاء شائعة

Using OBV without volume data (forex spot)
Ignoring OBV divergences

إشارات التأكيد

Price breakout
Trend indicators

الأفضل لـ

Volume confirmationDivergence tradingTrend validation

💡 نصائح احترافية

  • OBV divergence is a powerful leading indicator
  • Works best in markets with reliable volume data
  • Trend in OBV should confirm price trend
آخر تحديث: ٢٩ ديسمبر ٢٠٢٤

إخلاء مسؤولية تعليمي

هذا المحتوى للأغراض التعليمية فقط ولا يُعد نصيحة مالية أو استثمارية. التداول ينطوي على مخاطر كبيرة وقد تفقد رأس مالك. استشر مستشارًا ماليًا مرخصًا قبل اتخاذ أي قرارات استثمارية.

الأسئلة الشائعة