Skip to main content

Order Flow Imbalance Calculator

Calculate bid-ask imbalance ratios from order flow data to detect aggressive buying or selling.

Reviewed by Daniel Agrici, Founder & Lead Developer

Reviewed by Daniel Agrici, Founder & Lead Developer

Formula

Delta = Ask Volume - Bid Volume | VPIN = |Delta| / Total Volume

Delta measures the net difference between aggressive buying (ask volume) and aggressive selling (bid volume). VPIN (Volume-Synchronized Probability of Informed Trading) normalizes the absolute delta by total volume to estimate order flow toxicity. Imbalance Ratio divides ask volume by bid volume to show relative buying pressure.

Worked Examples

Example 1: Detecting Aggressive Buying on EUR/USD Futures

Problem:During a 1-hour period, EUR/USD futures show 55,000 contracts at the ask and 38,000 at the bid, with 4,200 total trades and price rising 12 pips. Analyze the order flow imbalance.

Solution:Total Volume = 55,000 + 38,000 = 93,000 contracts\nDelta = 55,000 - 38,000 = +17,000 (positive = bullish)\nDelta % = (17,000 / 93,000) x 100 = 18.3%\nImbalance Ratio = 55,000 / 38,000 = 1.447 (buy-side dominant)\nVPIN = |17,000| / 93,000 = 0.183 (moderate toxicity)\nVolume per minute = 93,000 / 60 = 1,550 contracts/min\nPrice moved with delta = confirming genuine buying (no absorption)

Result:Delta: +17,000 (18.3%) | Imbalance: 1.447 | VPIN: 0.183 | Verdict: Strong bullish flow, no absorption

Example 2: Absorption Detection at Key Resistance Level

Problem:At a resistance level, 60,000 contracts traded at the ask (aggressive buying) and 42,000 at the bid, but price dropped 5 pips during the period. Determine if absorption is present.

Solution:Delta = 60,000 - 42,000 = +18,000 (positive, indicating buying pressure)\nPrice Change = -5 pips (negative, price fell despite buying)\nDelta Direction: Bullish | Price Direction: Bearish\nDivergence detected = ABSORPTION\nLarge passive sell orders are absorbing aggressive buying\nImbalance Ratio = 60,000 / 42,000 = 1.429\nVPIN = 18,000 / 102,000 = 0.176 (moderate toxicity)\nConclusion: Sellers are defending resistance with limit orders

Result:Absorption Confirmed | Delta: +18,000 but price fell | Sellers defending resistance | High reversal probability

Frequently Asked Questions

What is order flow analysis and why do professional traders use it?

Order flow analysis is the study of actual buy and sell orders hitting the market in real-time, providing a granular view of supply and demand dynamics at each price level. Unlike traditional technical analysis that relies on lagging price and volume indicators, order flow shows the raw interaction between buyers and sellers as it happens. Professional traders at proprietary firms, hedge funds, and market-making desks use order flow because it reveals the true intentions behind price movements, specifically whether aggressive buyers or sellers are driving the market. By analyzing the imbalance between market buy orders (lifting the ask) and market sell orders (hitting the bid), traders can identify institutional activity and position themselves accordingly before price reflects the underlying pressure.

What is delta in order flow and how is it calculated?

Delta is the difference between buying volume and selling volume at a specific price level or over a time period, calculated as Delta = Ask Volume minus Bid Volume. Ask volume represents trades executed at the ask price (aggressive buyers lifting offers), while bid volume represents trades at the bid price (aggressive sellers hitting bids). A positive delta indicates more aggressive buying, while negative delta indicates more aggressive selling. Cumulative delta tracks the running total of delta over time, revealing the underlying directional bias of the market. For example, if price is rising but cumulative delta is falling, it suggests the rally is driven by short covering rather than genuine buying demand, signaling a potential reversal. Delta analysis is fundamental to understanding market microstructure.

What does the imbalance ratio tell traders about market conditions?

The imbalance ratio measures the relative strength between buyers and sellers by dividing ask volume by bid volume (or vice versa). A ratio significantly above 1.0 indicates buying dominance, while below 1.0 indicates selling dominance. Ratios between 0.8 and 1.2 are generally considered balanced or neutral. When the imbalance ratio exceeds 2.0 at a specific price level, it suggests strong aggressive activity that often precedes a directional move. Traders watch for diagonal imbalances across consecutive price levels on footprint charts, where sustained buying or selling imbalance creates a staircase pattern that signals genuine institutional momentum. Single-level imbalances are less significant than multi-level imbalances that show consistent directional pressure.

What is absorption in order flow and how can traders detect it?

Absorption occurs when large passive orders (limit orders resting in the order book) absorb aggressive market orders without allowing price to move in the expected direction. For example, if there is heavy aggressive buying (positive delta) but price fails to rise, it means large sell limit orders are absorbing the buying pressure, and a potential reversal or rejection is likely. Absorption is detected by comparing delta direction with price direction, specifically when they diverge. On a footprint chart, absorption appears as high volume at a single price level with minimal price progression beyond that level. It is one of the most reliable order flow signals because it reveals hidden institutional activity where large players are building positions against the prevailing market direction.

References

Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy