T
Traderoid

OBV Node

On-Balance Volume

IndicatorVolumeMomentum

Overview

On-Balance Volume (OBV) is a momentum indicator that uses volume flow to predict changes in stock price. OBV measures the cumulative buying and selling pressure by adding volume on up days and subtracting volume on down days. This creates a running total that often leads price movements.

OBV is particularly useful for identifying divergences between price and volume, confirming trend strength, and spotting accumulation or distribution phases by institutional traders.

Formula

OBV calculation is straightforward and cumulative:

If Close > Previous Close:
OBV = Previous OBV + Current Volume
If Close < Previous Close:
OBV = Previous OBV - Current Volume
If Close = Previous Close:
OBV = Previous OBV (unchanged)

The key characteristic of OBV is that it's a running total - every historical value affects the current reading. This means OBV preserves the complete volume history and can reveal long-term accumulation or distribution patterns.

Parameters

ParameterTypeDefaultDescription
sourceNodeAutoThe data source node providing OHLCV (Open, High, Low, Close, Volume) data. Automatically detected from connected nodes.

💡 Note: OBV has no period parameter because it is a cumulative indicator. Every historical value affects the current OBV reading, making it sensitive to all past volume activity.

Common Use Cases

1. Divergence Detection

When price reaches new highs but OBV doesn't (bearish divergence), it signals weakening momentum and potential reversal. Conversely, new lows without OBV confirmation (bullish divergence) suggests potential reversal to the upside.

2. Trend Confirmation

Use OBV to confirm price trends. When price and OBV move together (both rising or both falling), the trend is strong and likely to continue. Divergence between price and OBV suggests the trend is weakening.

3. Accumulation/Distribution Identification

Rising OBV during ranging price action indicates institutional accumulation, often preceding a bullish breakout. Falling OBV suggests distribution, frequently preceding a bearish breakdown.

4. Breakout Validation

Confirm price breakouts with rising OBV. Breakouts without volume confirmation often fail quickly. Strong breakouts have OBV reaching new highs alongside price.

Advantages & Limitations

Advantages

  • Simple to understand - adds/subtracts volume based on price direction
  • No parameters to optimize - works immediately out of the box
  • Excellent for divergence detection with high reliability
  • Often leads price by 1-3 bars, providing early signals
  • Works effectively across all timeframes and asset classes
!

Limitations

  • Cumulative nature means early values can distort recent signals
  • Affected by gap openings and overnight volume
  • Less effective in low-volume or choppy markets
  • Requires confirmation from price action before trading signals
  • Absolute value varies greatly between securities

Tips & Best Practices

💡 Multi-Timeframe Analysis

Compare OBV across multiple timeframes. If 4-hour OBV is rising while 1-hour OBV is falling, look for counter-trend entries on the shorter timeframe into the longer-term uptrend.

📊 Trend Lines on OBV

Draw trend lines directly on OBV just as you would on price. Breaking the OBV trend line often precedes breaking the price trend line, providing early warning of trend changes.

⚡ Combine with Support/Resistance

Use OBV to confirm price at key support or resistance levels. Rising OBV at support suggests a strong reversal setup. Falling OBV at resistance warns of a potential breakdown.

⚠️ Watch for False Divergences

Not all divergences result in reversals. Confirm divergence signals with price action patterns, support/resistance, or other indicators before entering trades.

Example Strategy: OBV Divergence

A practical strategy using OBV for divergence trading:

OBV Bearish Divergence Short Trade

Setup

  • ✓ Price makes higher high (new peak)
  • ✓ OBV fails to make higher high (stays below previous peak)
  • ✓ Confirmation: Price is near resistance or in overbought RSI territory

Entry

  • → Wait for price to close below the most recent swing low
  • → Or enter on a break of an internal support level

Stop Loss

  • 2% above the divergence high, or
  • Below the most recent swing high

Profit Target

  • 1st target: 1:1 risk to reward
  • 2nd target: Support level below entry
  • Trail stop: Below rising support as price falls

Related Indicators

Chaikin Money Flow (CMF)

Similar to OBV but measures money flow over a specific period, making it more responsive to recent activity.

Volume-Weighted Average Price (VWAP)

Uses volume weighting differently to show the true average price traded during the period.

Money Flow Index (MFI)

Volume-weighted RSI that combines price and volume into a 0-100 oscillator for overbought/oversold signals.

Price Volume Trend (PVT)

Similar to OBV but weighs volume based on the percentage change in price instead of just direction.