Logo
Home  >  Blog  >  On balance volume

Forex

On-Balance Volume (OBV): Formula, Strategy, and Benefits

Written by Sarah Abbas

Fact checked by Antonio Di Giacomo

Updated 31 January 2025

on-balance-volume
Table of Contents

    On-balance volume (OBV) is a technical indicator that links a stock’s volume to its price movement, helping traders identify momentum and predict price direction.

    In this article, we'll explain what OBV is, how it works, its formula, its strategies, and how it compares with other volume indicators.

    Key Takeaways

    • On-balance volume (OBV) is a technical indicator that links volume to price movement, helping traders predict future price trends and confirm existing ones.

    • OBV can indicate potential price reversals through OBV bullish divergence (when the price falls but OBV rises) and OBV bearish divergence (when the price rises but OBV falls).

    • OBV is a simple yet effective tool that can be used across various asset classes, including stocks, forex, and cryptocurrencies, making it suitable for traders of all experience levels.

    Try a No-Risk Demo Account

    Register for a free demo and refine your trading strategies.

    Open Your Free Account

    What is On-Balance Volume (OBV)?

    The on-balance volume (OBV) technical indicator was first introduced by Joseph Granville in 1963 to track the flow of volume in and out of a stock or asset.

    The basic idea behind OBV is that volume precedes price. When a stock's price is set to move up or down, you’ll often see a noticeable increase in trading volume before the actual price change occurs.

    OBV works on the principle of cumulative volume changes. When the price of an asset closes higher than the previous day, the day’s volume is added to the OBV.

    Conversely, the volume is subtracted from the OBV if the price closes lower. This continuous addition and subtraction of volume form a cumulative total, which is then analyzed to spot trends and divergences.

    Traders use OBV to understand if a stock is being accumulated (bought in large quantities) or distributed (sold in large quantities).

     

    How On-Balance Volume Works

    OBV offers traders a simple way to analyze price movement relative to volume. The idea is that when volume increases without a corresponding price change, a new price trend could begin.

    A significant volume increase typically means "smart money" (institutional investors) is either accumulating or distributing the asset, even though the price may not yet reflect this.

    The volume-price analysis is at the heart of OBV. For example, if the price of a stock is rising but OBV is falling, it could indicate OBV bearish divergence, which is a warning sign that the price rise lacks conviction and could reverse.

    Conversely, if the price falls and OBV rises, this is known as OBV bullish divergence—a sign that the stock may soon rebound.

    In essence, OBV helps predict whether a stock’s price will continue in its current direction or reverse, based on the volume behavior in relation to price.

    on-balance-volume-chart

    Common OBV Patterns

    Here are some common patterns traders look for when analyzing the On-Balance Volume (OBV) indicator.

     

    OBV Breakouts

    When the OBV line moves sharply above or below a key level, it signals a potential breakout in the stock price.

    A breakout above a resistance level suggests buying pressure, while a breakdown below support indicates selling pressure.

    Look for breakouts in OBV before the price moves—this can give you an early signal to act.

     

    OBV Divergences

    A divergence happens when the OBV line moves in the opposite direction of the price.

    • Bullish Divergence: OBV rises while the price falls, suggesting the price might reverse and move up soon.

    • Bearish Divergence: OBV falls while the price rises, warning that the price could reverse and drop.

    Divergences show that volume isn't supporting the current price trend, hinting at a possible change.

     

    OBV Trendlines

    Drawing trendlines on the OBV chart, just like you would on a price chart, can help identify uptrends or downtrends.

    If OBV stays in an uptrend, it supports a bullish price move. A downtrend in OBV suggests a bearish sentiment. Watch for breaks in OBV trendlines—these can act as early signals of a price trend change.

     

    OBV Consolidation

    When OBV moves sideways (in a range) without clear direction, it suggests indecision in the market. This pattern often occurs before a big move in the stock price.

    Keep an eye on the OBV. A breakout from the consolidation can confirm the start of a new price trend.

     

    OBV Support and Resistance

    OBV often respects its own support and resistance levels, similar to price charts. A bounce from OBV support suggests strong buying pressure. A break below support shows heavy selling. Use these levels to confirm price breakouts or breakdowns.

     

    OBV Spikes

    Sudden, sharp moves in OBV can indicate strong buying or selling activity. Spikes in OBV often occur before significant price moves, especially during earnings or news events.

    If OBV spikes before the price moves, it may be a sign that "smart money" is taking action.

     

    OBV Reversals

    A reversal happens when OBV changes direction after being in a strong uptrend or downtrend. A reversal in OBV can signal a turning point in the stock price.

     

    OBV Formula and Calculation

    The formula for calculating OBV is straightforward:

    • If the closing price today is higher than yesterday, OBV = OBV (previous day) + Volume (today)

    • If the closing price today is lower than yesterday, OBV = OBV (previous day) - Volume (today)

    • If the closing price today is the same as yesterday, OBV = OBV (previous day)

    For example, let's say a stock closes at a higher price today than yesterday, with a trading volume of 1 million shares. You would add that volume to the cumulative OBV. If the stock closes lower tomorrow with a volume of 500,000 shares, you would subtract that from the previous OBV.

    on-balance-volume-formula

    Traders don’t have to calculate OBV manually, as most charting platforms and tools like MetaTrader will automatically generate the OBV line on price charts. However, understanding how OBV is calculated can help traders better interpret its movements and identify trading signals.

     

    Strategies for Using OBV in Trading

    On-balance volume is most effective when combined with other technical indicators.

    Here are several strategies traders use to incorporate OBV into their trading:

     

    Trend Confirmation

    OBV can confirm whether a price trend is likely to continue. For example, if the price and OBV move in the same direction, it indicates a strong trend. However, if OBV starts to deviate from the price (showing a divergence), it could signal a weakening trend.

     

    Divergence Analysis

    The divergence between OBV and price is a powerful signal in trading. OBV bearish divergence occurs when the price makes higher highs, but OBV makes lower highs, indicating that the upward price momentum is losing strength.

    On the other hand, OBV bullish divergence happens when the price is making lower lows, but OBV is making higher lows, which suggests a reversal is likely.

     

    OBV and Moving Averages

    Combining OBV with moving averages can enhance your trading strategy. For instance, using OBV in conjunction with a 50-day or 200-day moving average helps smooth out the noise in the data and can identify more reliable buy and sell signals.

    When OBV crosses above a moving average, it may indicate bullish momentum, and vice versa for bearish momentum.

     

    Support and Resistance Breakouts

    OBV can also be used to confirm support and resistance breakouts. If the price breaks above resistance with a rising OBV, it signals that the breakout is likely to be valid because volume supports the price move.

     

    Key Benefits of Using OBV

    1. Early Detection of Trend Reversals: OBV often shifts before prices do, allowing traders to anticipate trend reversals. By monitoring volume accumulation (large buyers stepping in), traders can get an early signal to enter or exit positions.

    2. Simple and Effective for Beginners: One of the biggest advantages of OBV is its simplicity. Unlike other complex indicators, OBV only requires volume and price data, making it accessible to new traders.

    3. Confirming Price Movements: OBV helps validate price action. For example, if a stock price rises but OBV doesn’t, it could signal a false breakout or a lack of buying interest.

    4. Versatility Across Asset Classes: OBV is useful for stocks; it can also be applied to cryptocurrencies, forex, and commodities. Volume is essential to all financial markets, making OBV a versatile tool for traders.

     

    OBV vs. Other Volume Indicators

    There are several other volume-based indicators that traders use to measure price momentum. Here's how OBV compares:

     

    OBV vs Accumulation/Distribution Indicator

    The Accumulation/Distribution (A/D) indicator is similar to OBV but provides more nuance by factoring in the closing price relative to its high and low for the day.

    While OBV gives equal weight to all price changes, A/D considers where the price closes within the daily range, offering a more refined view of volume accumulation.

     

    OBV vs RSI

    The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements, ranging between 0 and 100.

    rsi-mean-reversion

    Unlike OBV, which focuses on volume, RSI analyzes the price's overbought or oversold conditions. OBV vs RSI is a common comparison, with OBV being more useful for identifying volume-driven trends, whereas RSI excels at identifying potential reversal points in price momentum.

     

    OBV vs Volume-Weighted Average Price (VWAP)

    VWAP provides the average price of an asset, weighted by volume, over a specific period. While OBV gives a cumulative view of volume trends, VWAP helps traders understand if an asset is trading above or below its average price.

    In OBV vs Volume-Weighted Average Price (VWAP), OBV is more trend-oriented, while VWAP focuses on mean-reversion trading strategies.

     

    Limitations and Drawbacks of OBV

    Despite its strengths, OBV has a few limitations:

    1. False Signals: OBV can sometimes generate false signals during periods of consolidation or low trading volume, which can mislead traders.

    2. Sensitivity to Volume Spikes: OBV is highly sensitive to abnormal spikes in volume, such as during earnings releases or major news events, which can distort its readings.

    3. Lack of Detailed Context: OBV does not provide information about the magnitude of price movement. For instance, it does not differentiate between minor and major price changes if the price closes higher or lower. This can make it difficult to gauge the strength of a move without considering other indicators.

     

    Conclusion

    In summary, OBV helps traders predict future price movements and confirm trends by tracking the volume flow about price. It is especially useful with other technical indicators like moving averages or RSI. However, OBV has drawbacks. Its sensitivity to volume spikes and potential for false signals mean it should be used in conjunction with other forms of analysis.

    Follow XS for more educational insights!

    Ready for the Next Trading Step?

    Open an account and get started.

    Get Free Access
    Table of Contents

      FAQs

      Yes, OBV is suitable for all types of traders, from beginners to advanced. It's simple to use and can be applied to various assets, including stocks, forex, and cryptocurrencies.

      OBV is typically calculated in real-time as price changes, so it updates automatically throughout the session. Most charting platforms calculate it continuously, so manual calculation isn't necessary.

      Yes, OBV can complement fundamental analysis by providing insights into price trends based on volume. Combining both can give a fuller picture of a stock's performance.

      OBV can be used in any time frame, but it is most effective in longer time frames (daily or weekly) for identifying sustained trends. For short-term traders, intraday time frames can also be useful.

      Yes, OBV works well in cryptocurrency trading, as volume is a crucial factor in the volatile crypto markets. It helps confirm price movements and potential reversals.

      Sarah Abbas

      Sarah Abbas

      SEO content writer

      Sarah Abbas is an SEO content writer with close to two years of experience creating educational content on finance and trading. Sarah brings a unique approach by combining creativity with clarity, transforming complex concepts into content that's easy to grasp.

      Antonio Di Giacomo

      Antonio Di Giacomo

      Market Analyst

      Antonio Di Giacomo studied at the Bessières School of Accounting in Paris, France, as well as at the Instituto Tecnológico Autónomo de México (ITAM). He has experience in technical analysis of financial markets, focusing on price action and fundamental analysis. After many years in the financial markets, he now prefers to share his knowledge with future traders and explain this excellent business to them.

      This written/visual material is comprised of personal opinions and ideas and may not reflect those of the Company. The content should not be construed as containing any type of investment advice and/or a solicitation for any transactions. It does not imply an obligation to purchase investment services, nor does it guarantee or predict future performance. XS, its affiliates, agents, directors, officers or employees do not guarantee the accuracy, validity, timeliness or completeness of any information or data made available and assume no liability for any loss arising from any investment based on the same. Our platform may not offer all the products or services mentioned.

      Register to our Newsletter to always be updated of our latest news!

      scroll top