Technical analysis

Gaps in Trading: Definition, the Four Types and How Often They Fill

What a price gap is by the strict definition, how the four classic types differ, and a count of every gap on the daily S&P 500 ETF from January 2021 to October 2026: how many were filled, how fast, and which ones never were.

· Founder of PatternsWizard
Checked 9 min read
Price gaps: a low above the previous high (up gap) ora high below the previous low (down gap)
On this page
  1. Why gaps form
  2. The four types of gaps
  3. How often gaps are filled: a count on the S&P 500 ETF
  4. How to trade gaps
  5. Candlestick patterns built on gaps
  6. Frequently asked questions

A gap is a price range where no trade took place between two bars. ChartSchool, the StockCharts education site, uses a strict definition: in an up gap, the low of the new bar is higher than the high of the previous bar; in a down gap, the high of the new bar is lower than the low of the previous bar. A stock that opens higher and then trades back into the previous day's range left an opening gap during the session, but no gap on the daily chart.

Every gap on the daily S&P 500 ETF, September 2023 to January 2024

476.0435.3394.6Sep 8, 2023Nov 16, 2023Jan 31, 2024
  • Price, daily candles (hollow up, filled down)
  • Up gap: the low stays above the previous bar's high
  • Down gap: the high stays below the previous bar's low
Price gaps: a low above the previous high (up gap) or a high below the previous low (down gap) on S&P 500 ETF, dividend-adjusted prices, daily, September 8, 2023 to January 31, 2024. Real bars, each case marked by the rule; an illustration, not a backtest.

The chart above marks every gap by that definition on the daily S&P 500 ETF from September 2023 to January 2024. Four up gaps opened during the November 2023 rally, on November 1, 2, 3 and 14. None of them had been filled by October 28, 2026, the last bar of our data: the ETF never traded back down to those prices.

Why gaps form

Most gaps form between one session's close and the next session's open, when news arrives while the market is closed: an earnings report, an economic release, a change in rates. Orders pile up overnight and the first trades print at a new price. How overnight and daytime returns compare on the S&P 500 ETF is measured on our Smart Money Flow Index page. Gaps appear on daily, weekly and monthly charts, but they are rare on weekly and monthly charts, where the gap has to open between Friday and Monday, or between two months.

The four types of gaps

The four types of price gaps

Common gapBreakaway gapRunaway gapExhaustion gapTrading rangeReversalTimePrice
Schematic, not market data.
  • Common gap. Appears inside a trading range, often on low volume, and usually fills quickly. ChartSchool doubts it produces trading opportunities.
  • Breakaway gap. Opens out of a trading range or congestion area and starts a new trend. The level of the breakout becomes support (or resistance), and the gap can stay open a long time.
  • Runaway gap. Opens in the middle of an established trend, when traders who waited for a pullback give up and buy (or sell) at any price. It is also called a measuring gap, from the idea that it marks the middle of the move.
  • Exhaustion gap. Opens near the end of a long trend on high volume, then fills quickly as the trend reverses. It is covered on its own page: exhaustion gap.

The types are defined by what comes after the gap. A breakaway gap and a common gap look the same on the day they open; so do a runaway gap and an exhaustion gap. That is why the count below sorts gaps only by rules you can check on the day: direction, size, and whether the gap opened outside the range of the previous 20 sessions.

How often gaps are filled: a count on the S&P 500 ETF

A gap is filled when a later bar trades back to the edge of the bar before the gap: down to the previous high for an up gap, up to the previous low for a down gap. ChartSchool describes the fill the same way, as a retracement to the last day before the gap. We counted every gap on the daily S&P 500 ETF (dividend-adjusted prices rounded to 4 decimals, the precision of the series we publish; an exact tie with the previous bar is not a gap) over 1,462 sessions, from January 4, 2021 to October 28, 2026. A gap counts in the "within 5 sessions" line only if at least 5 sessions followed it, and likewise for 20 sessions.

Gaps, January 4, 2021 to October 28, 2026Count
All gaps172 (96 up, 76 down)
Filled the next session45 of 172
Filled within 5 sessions96 of 171
Filled within 20 sessions124 of 169
Not filled as of October 28, 202614, all up gaps
Median time to fill (gaps that filled)3 sessions

The split by direction and size shows where the adage fails:

Gaps by direction and sizeFilled within 5 and within 20 sessionsNever filled; median sessions to fill
Up, under 0.5% (70 gaps)37 of 70; 46 of 688; median 3
Up, 0.5% to 1% (20 gaps)7 of 20; 11 of 203; median 8
Up, 1% or more (6 gaps)0 of 6; 0 of 63; median 40
Down, under 0.5% (56 gaps)41 of 55; 51 of 550; median 2
Down, 0.5% to 1% (13 gaps)8 of 13; 11 of 130; median 5
Down, 1% or more (7 gaps)3 of 7; 5 of 70; median 8

Gaps filled within 20 sessions, by direction and size

Under 0.5% (68 up, 55 down)67.6%92.7%0.5% to 1% (20 up, 13 down)55.0%84.6%1% or more (6 up, 7 down)0.0%71.4%
  • Up gaps
  • Down gaps
Our computation; the inputs and the method are in the text.Daily S&P 500 ETF, dividend-adjusted, prices rounded to 4 decimals, January 4, 2021 to October 28, 2026; gaps with at least 20 sessions after them. Size: the empty range divided by the edge price. The last row has 6 and 7 cases.

The size of a gap is the empty range divided by the edge price. The six up gaps of 1% or more are too few to make a rule, but none of them filled within 20 sessions, and three were never filled. Across all sizes, down gaps were filled faster than up gaps. Over this period the ETF rose, and every gap that stayed open was an up gap.

A gap that opens outside the range of the previous 20 sessions is the closest a rule gets to a breakaway gap: the whole gap bar sits outside that range, its low above the highest high (or its high below the lowest low) of those 20 sessions. Of the 169 gaps with 20 sessions of history before them, 39 opened outside that range and 130 inside it.

Where the gap openedOutside the 20-session range (39 gaps)Inside it (130 gaps)
Filled within 5 sessions17 of 3976 of 129
Filled within 20 sessions24 of 3897 of 128
Never filled59
Median sessions to fill53

Gaps out of the 20-session range against gaps inside it

Filled within 5 sessions43.6%58.9%Filled within 20 sessions63.2%75.8%Never filled by October 28, 202612.8%6.9%
  • Outside the range
  • Inside the range
Our computation; the inputs and the method are in the text.Shares of the gaps with enough sessions after them for each line (39 and 129 for 5 sessions, 38 and 128 for 20, 39 and 130 for never filled). Outside: the whole gap bar beyond the highest high, or lowest low, of the previous 20 sessions.

Gaps that opened outside the recent range filled less often and more slowly, as the breakaway idea predicts, but 17 of 39 still filled within a week. A gap out of a range is a hint, not a classification.

The spring of 2025 shows both sides on one chart. The down gaps of April 3 and April 4, 2025, of 1.23% and 2.02%, were filled within 17 and 3 sessions. The up gaps of April 23, May 12 and June 24, 2025, of 0.87%, 1.68% and 0.48%, were never filled: the ETF had not traded back to those prices by October 28, 2026.

Every gap on the daily S&P 500 ETF, February to June 2025

610.9542.4473.9Feb 5, 2025Apr 16, 2025Jun 30, 2025
  • Price, daily candles (hollow up, filled down)
  • Up gap: the low stays above the previous bar's high
  • Down gap: the high stays below the previous bar's low
Price gaps: a low above the previous high (up gap) or a high below the previous low (down gap) on S&P 500 ETF, dividend-adjusted prices, daily, February 5, 2025 to June 30, 2025. Real bars, each case marked by the rule; an illustration, not a backtest.Marked gaps leave the whole day's range above the previous high or below the previous low. The up gaps of April 23, May 12 and June 24, 2025 were still open on October 28, 2026.

How to trade gaps

  1. Classify by context first. Inside a range, on ordinary volume: probably a common gap; on our count, most small gaps filled within a few sessions. Out of a range or a chart pattern, on high volume: possibly a breakaway gap, and the edge of the gap is the level to watch as support or resistance. Gaps of the same kind also form patterns of their own, such as the island reversal, measured in the bench box at the end of this page.
  2. Wait for the first session to close. A gap by the strict definition only exists once the bar is complete: an opening gap can be filled in the same session.
  3. Put the stop on the other side of the gap. For a trade in the direction of an up gap, a fill of the gap is the sign that it was not a breakaway: a stop under the previous high says so. For a fade, the stop goes beyond the high (or low) of the gap bar.
  4. Check volume. ChartSchool ties breakaway and exhaustion gaps to high volume; a trading volume well above its average on the gap day is part of the reading, not a detail.

Buying a stock that gaps up at the open and keeps rising in the first minutes is a different trade, an intraday one: it is covered in the gap and go strategy.

A gap through support or resistance is a breakout that skipped the intraday steps; when it closes back inside the range within a few sessions, it becomes a bull trap or a bear trap.

Candlestick patterns built on gaps

Gaps are one of the chart readings covered in our technical analysis section, and several candlestick patterns need a gap to exist. Our bench measures how they behaved on real markets; the method is described in how we test patterns.

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 a gap in trading terms?

A price range with no trades between two bars. In an up gap, a bar's low is above the previous bar's high; in a down gap, a bar's high is below the previous bar's low. It usually forms between a close and the next open.

What are the four types of gaps?

Common gaps, inside a trading range; breakaway gaps, out of a range at the start of a trend; runaway gaps, in the middle of a trend; and exhaustion gaps, at the end of a trend, quickly filled as it reverses.

Do all gaps get filled?

No. On the daily S&P 500 ETF from January 2021 to October 2026, 14 of 172 gaps were still open on October 28, 2026, and none of the six up gaps of 1% or more filled within 20 sessions. Most small gaps did fill within a few sessions.

What does it mean when a gap is filled?

Price trades back to where the gap started: down to the high of the bar before an up gap, or up to the low of the bar before a down gap. The empty range on the chart is then covered.

Why are there no gaps on a Bitcoin chart?

Bitcoin trades 24 hours a day, every day, so one daily bar opens where the previous one closed. Our 600 daily Bitcoin bars from March 2025 to October 2026 contain no gap by the strict definition.

Sources

  1. StockCharts ChartSchool, Gaps and Gap Analysis
, 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 technical analysis articles