On-Balance Volume (OBV)
OBV is a cumulative volume indicator that adds volume on up days and subtracts on down days. It measures buying/selling pressure and can diverge from price to signal reversals.
TL;DR
- OBV is a volume indicator used in technical analysis
- Rising OBV confirms uptrend. Falling OBV confirms downtrend. OBV divergence from price signals potential reversal.
- Best timeframes: H1, H4, D1
- Skip to API docs →
What is On-Balance Volume?
OBV is a cumulative volume indicator that adds volume on up days and subtracts on down days. It measures buying/selling pressure and can diverge from price to signal reversals.
How OBV is Calculated
If Close > Close(prev): OBV = OBV(prev) + Volume
If Close < Close(prev): OBV = OBV(prev) - Volume
If Close = Close(prev): OBV = OBV(prev) How to Interpret OBV
Rising OBV confirms uptrend. Falling OBV confirms downtrend. OBV divergence from price signals potential reversal.
Trading Strategies Using OBV
Strategy 1: OBV Divergence
Trade when OBV and price diverge, signaling underlying volume-based weakness.
Entry Rules
Enter long when price makes lower low but OBV makes higher low (bullish divergence). Reverse for bearish.
Exit Rules
Exit when divergence resolves or OBV confirms new price direction.
Combining OBV with Other Indicators
OBV works best when combined with complementary indicators:
- OBV + MFI: Combine for stronger confluence signals
- OBV + A/D Line: Combine for stronger confluence signals
- OBV + Tick Volume: Combine for stronger confluence signals
OBV Across Different Timeframes
OBV works across all 7 timeframes but performs best on H1, H4, D1 for most trading styles.
Accessing OBV via TickAtlas API
https://tickatlas.com/v1/indicator Python Example
import requests
url = "https://tickatlas.com/v1/indicator"
headers = {"X-API-Key": "YOUR_API_KEY"}
params = {
"symbol": "EURUSD",
"indicator": "OBV",
"timeframe": "H1"
}
response = requests.get(url, headers=headers, params=params)
data = response.json()
print(data) Sample Response
{
"symbol": "EURUSD",
"indicator": "OBV",
"timeframe": "H1",
"timestamp": "2026-03-21T14:00:00Z",
"value": 1234567,
"signal": "neutral"
} Common Mistakes to Avoid
- 1
Comparing OBV absolute values between different symbols — only the trend matters
- 2
Ignoring OBV divergence signals which are among the most reliable volume-based signals
Frequently Asked Questions
Does OBV work with forex tick volume?
Yes, OBV works with tick volume in forex. While tick volume is not true traded volume, it correlates with actual market activity and OBV divergence signals remain valid.
Continue learning
More volume indicators
- Indicator
Money Flow Index (MFI)
MFI is a volume-weighted version of RSI.
Read more - Indicator
Accumulation/Distribution Line (A/D)
The A/D Line measures the cumulative flow of money into and out of a security.
Read more - Indicator
Tick Volume (Tick Vol)
Tick Volume measures the number of price changes (ticks) within a period.
Read more
Ready to use OBV data in your application?
Start your free trial and access real-time OBV data across 7 timeframes.