Trading concepts

Imbalance Trading: Auction Order Imbalances and Chart Gaps, Tested

Two meanings of the same word: the order imbalance that Nasdaq and the NYSE publish before the open and the close, and the three-candle chart gap traders expect to be filled. How each one is defined, and what 764 real gaps did next.

· Founder of PatternsWizard
Checked 7 min read
Order book: bids, asks and the spread: a price ladder with resting sell orders (asks) above and resting buy orders (bids) below, each level drawn as a bar sized by the quantity waiting there; the best ask and best bid frame the spread and the mid price.
On this page
  1. Order imbalance in the opening and closing auctions
  2. MOC imbalance: why 3:50 p.m. matters
  3. Imbalance on a chart: the three-candle gap
  4. Do chart imbalances get filled? Results on real bars
  5. Frequently asked questions

Traders use the word imbalance for two different things. On a stock exchange, an order imbalance is a published number: the shares that would be left unmatched if the opening or closing auction ran at the current price. On a chart, many traders call a three-candle gap an imbalance, or fair value gap, and expect price to come back and fill it. The first is documented by the exchanges; the second is a chart rule we can test, and we did, on 764 gaps in real daily and hourly bars.

Order book: bids, asks and the spread

Order book: bids, asks and the spread: a price ladder with resting sell orders (asks) above and resting buy orders (bids) below, each level drawn as a bar sized by the quantity waiting there; the best ask and best bid frame the spread and the mid price.
Schematic, not market data.An auction imbalance is the part of one side of the book that the other side cannot match at the reference price.

Order imbalance in the opening and closing auctions

Nasdaq and the NYSE open and close each stock with an auction that matches on-open and on-close orders at a single price. Before the auction, both publish what would be left unmatched. Nasdaq's term is Imbalance Shares: "The number of opening or closing shares that would remain unexecuted at the current reference price", published with the side of the imbalance (B for buy, S for sell, N for no imbalance, O for no marketable on-open or on-close orders) and the number of paired shares.

AuctionImbalance data publishedHow often
Nasdaq Opening CrossFrom 9:25 a.m., indicative prices from 9:28 a.m.Every 10 seconds, then every second
Nasdaq Closing CrossFrom 3:50 p.m., indicative prices from 3:55 p.m.Every 10 seconds, then every second
NYSE opening auctionFrom 8:00 a.m. until the stock opensEvery second, if changed
NYSE closing auctionFrom 3:50 p.m. until the stock closesEvery second, if changed

Times are Eastern Time, from the Nasdaq Opening and Closing Cross FAQ and the NYSE Opening and Closing Auctions fact sheet. Nasdaq distributes this Net Order Imbalance Indicator (NOII) through its TotalView ITCH feed and the Nasdaq Workstation; the NYSE publication includes the paired quantity, the unpaired quantity, the total imbalance quantity and two indicative prices.

MOC imbalance: why 3:50 p.m. matters

Market-on-close (MOC) and limit-on-close (LOC) orders on the NYSE "Can be entered, modified or canceled until 3:50 p.m." At 3:50 p.m. the exchange releases the MOC/LOC Significant Imbalance; after that, MOC and LOC orders "can be entered only on the contra-side" of that imbalance, and existing ones can no longer be canceled. Nasdaq has a similar tool, Imbalance-Only orders, which the FAQ describes as a way to provide liquidity to offset on-close imbalances.

A closing auction imbalance: paired shares and the unpaired excess

A closing auction imbalance: paired shares and the unpaired excess: two bars of on-close orders. The buy bar is longer than the sell bar. The part of the buy orders matched by sell orders is paired and crosses at one price; the extra length of the buy bar is the imbalance, unpaired buy shares. A dashed extension of the sell bar marks new sell orders: after 3:50 p.m. on the NYSE, only on-close orders on the other side of the imbalance can be added.
Schematic, not market data.The hypothetical above: more buy than sell orders on the close, so only part of them can be paired.

An imbalance tells you what is waiting for the close, not where the price will end: new offsetting orders arrive after the publication, and the close prints where buyers and sellers are matched. We have not tested imbalance data against closing prices, so this page makes no claim that trading the published imbalance pays. Order types are compared on our order types page, and the live order book on depth of market.

Imbalance on a chart: the three-candle gap

In chart-based trading, an imbalance (also called a fair value gap) is a zone that one candle skipped. We used this rule: a bullish gap exists when the low of a bar is above the high of the bar two bars earlier; a bearish gap exists when the high of a bar is below the low of the bar two bars earlier. The middle candle, the one that moved through the zone, is what some traders call the imbalance candle. The usual claim is that price returns to fill these zones.

A three-candle gap, touched then filled

A three-candle gap, touched then filled: three candles where the low of the third stays above the high of the first, leaving a shaded zone between them; the middle candle is the large one that moved through it. Later bars fall back: one enters the zone (touched), another crosses all of it (filled). The bearish case is the mirror image.
Schematic, not market data.Bullish case. The zone between the high of candle 1 and the low of candle 3 is what traders call the imbalance.

The bearish gap is the mirror image: the high of the third bar stays below the low of the first, and the zone sits above the price. Note what the definition does not include: volume, the order book or the auction data of the first half of this page. A chart imbalance is a pattern in three prices, nothing more, which is why it can be tested on price bars alone.

Do chart imbalances get filled? Results on real bars

We counted every gap on three real series and followed the next 20 bars. A gap is touched when price enters the zone, and filled when price crosses it entirely. To know whether the result says anything about the gaps, we ran the same count on 200 versions of each series whose bars were shuffled at random (each bar kept its size relative to the previous close, only the order changed). In shuffled bars, there is no structure for a gap to point to. With 118 to 520 gaps per series, the test can only detect differences of several points.

Gaps touched or filled within 20 bars, real bars against shuffled bars

Gaps touched or filled within 20 bars, real bars against shuffled bars. Bitcoin daily, 126 gaps: touched: Real bars 83.3%, Shuffled bars, median of 200 86.9%; Bitcoin daily: filled: Real bars 73.0%, Shuffled bars, median of 200 75.0%; S&P 500 ETF daily, 520 gaps: touched: Real bars 85.2%, Shuffled bars, median of 200 85.5%; S&P 500 ETF daily: filled: Real bars 73.7%, Shuffled bars, median of 200 73.2%; Bitcoin hourly, 118 gaps: touched: Real bars 81.4%, Shuffled bars, median of 200 87.6%; Bitcoin hourly: filled: Real bars 73.7%, Shuffled bars, median of 200 75.6%. Our computation; the inputs and the method are in the text.
  • Real bars
  • Shuffled bars, median of 200
Our computation; the inputs and the method are in the text.Real and shuffled bars stay within the range of chance on every row; on hourly Bitcoin, real gaps were touched somewhat less often than in shuffled bars.

Touched and filled within 20 bars, gaps followed by at least 20 bars only; shuffled figures are the median of 200 runs. The middle 95% of the shuffled runs spans, for touched gaps, 78.5% to 93.2% on Bitcoin daily, 82.0% to 89.2% on the ETF and 81.0% to 94.0% on Bitcoin hourly; every real figure falls inside that range. Price usually reached the gap within one or two bars: the median first contact came one bar after the gap on both daily series, two bars after it on the hourly one.

The real bars cover Bitcoin from March 8, 2025 to October 28, 2026 (daily), the S&P 500 ETF from January 4, 2021 to October 28, 2026 (daily, adjusted for dividends) and Bitcoin hourly from October 4 to 28, 2026. Bullish and bearish gaps did not behave the same on the ETF: 80.5% of bullish gaps and 93.2% of bearish gaps were touched, which fits a series whose dividend-adjusted price rose 126% over the period: a bearish gap sits above the price, where a rising market tends to return. Zones where buyers or sellers stepped in are discussed on our page about supply and demand trading, and resting orders on buy wall vs sell wall.

Other definitions are in the trading concepts section.

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

What is imbalance in trading?

Either a published auction figure, the on-open or on-close shares that would remain unmatched at the current reference price, or a chart gap left between three candles. The two meanings are unrelated.

What is a MOC imbalance?

The excess of market-on-close buy or sell orders before the closing auction. The NYSE publishes the MOC/LOC Significant Imbalance at 3:50 p.m.; after that, new MOC and LOC orders are accepted only on the side that offsets it.

Where can I see order imbalance data?

Nasdaq distributes its Net Order Imbalance Indicator through TotalView ITCH and the Nasdaq Workstation, and the NYSE publishes imbalance information for its auctions. Whether your own platform shows it depends on the data feed it receives.

Do fair value gaps always get filled?

No. On our three series, 81% to 85% were touched and about 73% fully filled within 20 bars. Shuffled bars with no structure gave fill rates in the same range, so the fill is not a signal.

What is an imbalance candle?

The middle candle of a three-candle gap: it moved so fast that the bars on each side of it do not overlap. The term comes from chart trading, not from exchange rules.

Sources

  1. Nasdaq, Opening and Closing Cross FAQ (PDF)
  2. NYSE, Opening and Closing Auctions fact sheet (PDF)
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

All trading concepts articles