Real-Time Analysis

Free Order Flow Imbalance Calculator

Analyze bid/ask volume imbalances to identify buying and selling pressure. Understand market dynamics, spot institutional activity, and make informed trading decisions.

Instant Calculation
Visual Pressure Gauge
100% Free

Volume at bid price (buyers)

Volume at ask price (sellers)

Calculate Order Flow Imbalance

Enter bid and ask volume data to calculate the order flow imbalance and identify market pressure direction.

1

Enter Volumes

Input bid and ask volume

2

Calculate

Get imbalance percentage

3

Analyze

Understand market pressure

What is Order Flow Imbalance?

Order Flow Imbalance (OFI) is a powerful market microstructure indicator that measures the difference between buying and selling pressure in real-time. It is calculated by comparing the volume at the bid price (buyers) versus the volume at the ask price (sellers), normalized by total volume. This gives traders a percentage-based view of which side is dominating the market.

Unlike traditional volume indicators that only show total activity, OFI reveals the underlying supply and demand dynamics. A positive imbalance indicates more aggressive buying (buyers lifting offers), while a negative imbalance indicates more aggressive selling (sellers hitting bids). This information is crucial for understanding market sentiment and predicting short-term price movements.

Why Order Flow Analysis Matters for Traders

Spot Institutional Activity

Large imbalances often indicate institutional participation. Institutions cannot hide their footprint in order flow, making OFI valuable for tracking smart money.

Confirm Breakouts

Strong imbalance in the direction of a breakout adds conviction. Breakouts without supporting order flow are more likely to fail.

Identify Divergences

Price moving up with negative OFI may signal weakness. Divergences between price and order flow often precede reversals.

Time Your Entries

Enter trades when imbalance aligns with your directional bias. Waiting for order flow confirmation improves trade quality.

How to Use This Order Flow Imbalance Calculator

  1. 1

    Gather Volume Data

    Obtain bid volume (volume at bid price) and ask volume (volume at ask price) from your trading platform, Level 2 data, or time and sales feed.

  2. 2

    Enter the Values

    Input the bid volume and ask volume into the calculator. You can also use preset scenarios to understand different market conditions.

  3. 3

    Analyze the Results

    Review the imbalance percentage, pressure gauge, and interpretation. Positive values indicate buying pressure, negative values indicate selling pressure.

  4. 4

    Apply to Your Trading

    Use the imbalance reading to confirm trade setups, identify potential reversals, or gauge the strength of current trends.

Interpreting Order Flow Imbalance Values

Order Flow Imbalance ranges from -100% (all selling) to +100% (all buying). Here is how to interpret different levels:

  • +40% to +100%: Strong buying pressure. Aggressive accumulation, often seen before or during bullish moves. Watch for potential exhaustion at extreme levels.
  • +15% to +40%: Moderate buying pressure. Gradual accumulation with steady bid support. Favorable for long positions if price confirms.
  • -15% to +15%: Neutral or balanced. Neither side dominates. Common during consolidation or when waiting for catalysts.
  • -40% to -15%: Moderate selling pressure. Gradual distribution with persistent ask pressure. Caution for longs, opportunity for shorts.
  • -100% to -40%: Strong selling pressure. Aggressive distribution, often seen before or during bearish moves. Watch for potential capitulation at extreme levels.

Order Flow Imbalance vs Delta

Both OFI and Delta measure buying vs selling pressure, but they serve different purposes:

MetricFormulaBest For
OFI (Imbalance)(Bid - Ask) / TotalComparing across different volume levels, relative strength
DeltaBid - AskAbsolute volume difference, cumulative delta analysis

Important Considerations

Context is Everything

Order flow imbalance should not be used in isolation. Always consider price action, market structure, and broader context. High imbalance during low volume periods may be less significant than moderate imbalance during high volume.

  • Volume context: A 50% imbalance on 1,000 shares is less meaningful than 30% imbalance on 1,000,000 shares. Always consider absolute volume.
  • Timeframe matters: Imbalance can vary significantly across different timeframes. Match your analysis to your trading style.
  • Market conditions: During trending markets, expect persistent imbalance in the trend direction. During ranges, imbalance may oscillate.
  • Data quality: Ensure your bid/ask volume data is accurate. Different data providers may classify trades differently.

Frequently Asked Questions

What is Order Flow Imbalance (OFI)?

Order Flow Imbalance (OFI) measures the difference between buying and selling pressure in the market. It is calculated as (Bid Volume - Ask Volume) / Total Volume. A positive value indicates more buying pressure, while a negative value indicates more selling pressure. OFI helps traders understand the underlying supply and demand dynamics.

How do you calculate Order Flow Imbalance?

Order Flow Imbalance is calculated using the formula: OFI = (Bid Volume - Ask Volume) / Total Volume. Bid Volume represents the volume of orders at the bid price (buyers), and Ask Volume represents the volume at the ask price (sellers). The result ranges from -1 (100% selling) to +1 (100% buying).

What does a high positive imbalance indicate?

A high positive imbalance (typically above +40%) indicates strong buying pressure. This suggests that buyers are aggressively lifting offers and there is significant demand. This can be a bullish signal, especially when combined with price confirmation. However, extreme readings may also indicate potential exhaustion.

How can traders use Order Flow Imbalance?

Traders use OFI to: 1) Confirm price breakouts - strong imbalance in the breakout direction adds conviction, 2) Identify divergences - price moving up with negative imbalance may signal weakness, 3) Time entries - enter when imbalance aligns with your directional bias, 4) Spot institutional activity - large imbalances often indicate institutional participation.

What is the difference between OFI and Delta?

While both measure buying vs selling pressure, OFI normalizes the difference by total volume (percentage-based), making it comparable across different volume levels. Delta is simply Bid Volume minus Ask Volume (absolute value). OFI is better for comparing imbalance across different time periods or securities with varying volume.

Is Order Flow Imbalance a leading or lagging indicator?

Order Flow Imbalance is considered a leading indicator because it measures real-time supply and demand dynamics before they fully manifest in price. Unlike lagging indicators that use past prices, OFI shows current market participant behavior, potentially signaling price moves before they occur.

Understand Order Flow? Automate Your Trading Signals

Use Pineify to create custom Pine Script indicators that incorporate order flow analysis. Build automated alerts for imbalance thresholds, divergences, and institutional activity patterns.