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, then the same count on 46 ETFs since 1993, against random price levels at the same distance.

· Founder of PatternsWizard
Checked 15 min read
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, November 3, 2023 to January 31, 2024. Real bars, each case marked by the rule; an illustration, not a backtest.
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. Do gaps fill more often than chance? 43,644 gaps on 46 ETFs
  5. How to trade gaps
  6. Candlestick patterns built on gaps
  7. 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. A jump at the open back to the previous day's open is the core of the separating lines pattern, a two-candle continuation signal.

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

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.
  • 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

The four types of price gaps: candles along an up move: a common gap inside a trading range, a breakaway gap leaving the range, a runaway gap in the middle of the trend, and an exhaustion gap near the top, followed by a reversal.
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. It is not the same thing as the breakaway candlestick pattern, a five-candle reversal whose last candle closes inside a gap.
  • 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

Gaps filled within 20 sessions, by direction and size. Under 0.5% (68 up, 55 down): Up gaps 67.6%, Down gaps 92.7%; 0.5% to 1% (20 up, 13 down): Up gaps 55.0%, Down gaps 84.6%; 1% or more (6 up, 7 down): Up gaps 0.0%, Down gaps 71.4%. Our computation; the inputs and the method are in the text.
  • 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

Gaps out of the 20-session range against gaps inside it. Filled within 5 sessions: Outside the range 43.6%, Inside the range 58.9%; Filled within 20 sessions: Outside the range 63.2%, Inside the range 75.8%; Never filled by October 28, 2026: Outside the range 12.8%, Inside the range 6.9%. Our computation; the inputs and the method are in the text.
  • 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

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.
  • 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.

Do gaps fill more often than chance? 43,644 gaps on 46 ETFs

Six years of one fund cannot say whether "gaps get filled" is a property of gaps. We applied the same rule, unchanged, to the full daily history of 46 ETFs, from January 29, 1993 to October 28, 2026: stock, sector, country, bond and commodity funds, on dividend-adjusted prices rounded to 4 decimals. ETFs are traded, so their open is a real price. As a check, the rule finds the same 172 gaps on the S&P 500 ETF since 2021 as the count above. Bars with no range (high equal to low) are left out, and a gap that touches one does not count.

Gaps on 46 ETFs, 1993 to 2026Count
All gaps43,644 (24,738 up, 18,906 down), 16.3% of 268,120 sessions
Filled the next session12,182 of 43,640, 27.9%
Filled within 5 sessions25,684 of 43,598, 58.9%
Filled within 20 sessions33,799 of 43,460, 77.8%
Not filled as of October 28, 20261,714, of which 1,499 up gaps
Median time to fill (gaps that filled)3 sessions

Gaps filled within 20 sessions on 46 ETFs, by direction and size

Gaps filled within 20 sessions on 46 ETFs, by direction and size. Under 0.5% (16,126 up, 11,352 down): Up gaps 78.5%, Down gaps 85.3%; 0.5% to 1% (5,030 up, 4,095 down): Up gaps 70.2%, Down gaps 79.5%; 1% or more (3,501 up, 3,356 down): Up gaps 63.4%, Down gaps 73.2%. Our computation; the inputs and the method are in the text.
  • Up gaps
  • Down gaps
Our computation; the inputs and the method are in the text.Every gap on 46 ETFs, 1993 to 2026, dividend-adjusted daily prices, with at least 20 sessions after it. Size: the empty range divided by the edge price.

The pattern of the S&P 500 ETF holds on the wider set: the larger the gap, the less often it filled within 20 sessions, and down gaps filled more often than up gaps of the same size. Up gaps of 1% or more filled within 20 sessions 63.4% of the time, down gaps of that size 73.2%. Small gaps under 0.5% filled 78.5% and 85.3% of the time.

The fair comparison: any price at the same distance

A fill rate alone proves little. Prices wander, and a level a fraction of a percent away from the close will often be touched within a few weeks whether a gap left it or not. So we gave every gap a twin: a session drawn at random in the same ETF, with a level placed at the same distance from its close as the gap edge was from the gap day's close, on the same side (below the close for an up gap). If the edge of a gap pulls prices back, gap edges should be reached more often than those random levels. We drew the twins 200 times with a fixed seed.

Level reachedGap edgeSame distance, random day
All gaps, within 5 sessions58.9%56.4%
All gaps, within 20 sessions77.8%75.5%
Up gaps, within 20 sessions74.6%74.2%
Down gaps, within 20 sessions81.9%77.3%

Most of the famous fill rate is just distance. Within 20 sessions, gap edges were reached 2.2 percentage points more often than random levels at the same distance. For up gaps there was almost no difference at all; the small extra came from down gaps, which were filled a little more often than chance, the same lean as on the S&P 500 ETF alone. Split by decade, even that small extra does not hold everywhere: in the 2010s, gap edges were reached less often than random levels.

Filled within 20 sessions: gaps against random days, by decade

Filled within 20 sessions: gaps against random days, by decade. 1993 to 1999 (885 gaps): Gap edge reached 80.5%, Same distance, random day 74.0%; 2000s (9,041 gaps): Gap edge reached 78.0%, Same distance, random day 71.0%; 2010s (18,590 gaps): Gap edge reached 77.6%, Same distance, random day 78.1%; 2020 to 2026 (14,944 gaps): Gap edge reached 77.7%, Same distance, random day 75.1%. Our computation; the inputs and the method are in the text.
  • Gap edge reached
  • Same distance, random day
Our computation; the inputs and the method are in the text.ETF gaps with at least 20 sessions after them. Random days: for each gap, a session drawn at random in the same ETF and a level at the same distance from its close, on the same side; average of 200 draws.

What came after the gap tells the same story. Over the 20 sessions after an up gap, the ETFs returned +0.64% on average, against +0.67% after random sessions of the same funds: an up gap said nothing about the next month. After a down gap the average was +0.77%, against +0.61%, a small rebound that matches the slightly higher fill rate of down gaps. These are averages before costs, a description rather than a trading rule.

Other markets, and why the indices are left out. Currencies trade around the clock from Sunday evening to Friday evening, so a daily gap can only open over the weekend: on 25 currency pairs since 2012, we found 279 gaps in 93,339 sessions, 97.8% of them on a Monday, and 73.3% were filled within 20 sessions. Cryptocurrencies never close: on 10 large cryptos, 30,296 daily bars since 2017 hold 0 gaps.

Share of daily sessions with a gap, by market

Share of daily sessions with a gap, by market. 46 ETFs, 1993 to 2026: 16.3%; 25 currency pairs, 2012 to 2026: 0.3%; 10 cryptos, 2017 to 2026: 0.0%; Dow Jones ETF, 1999 to 2014: 9.8%; Dow Jones index, 1999 to 2014: 1.0%; S&P 500 index, 1970s: 1.7%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Strict gaps (a low above the previous high or a high below the previous low) divided by daily sessions. Highlighted: index opens recorded at or near the previous close, the reason indices are left out of the count.

Stock indices are not in the count because an index open is not a traded price. In our daily price data, the S&P 500 index opened exactly at the previous close in 92.4% of the sessions of the 1970s and still in 96.7% from 1996 to 2005, and on those days a gap cannot happen; the Dow Jones index shows a gap in 1.0% of sessions from 1999 to 2014, against 9.8% for the ETF that tracks it. Counting gaps on an index of that era would measure how the open was recorded, not how prices moved.

Limits. Gaps cluster: a market-wide surprise opens gaps on dozens of ETFs on the same morning, and many of the funds hold the same stocks, so the 43,644 gaps hold far fewer independent events than their count. The random twins share that clustering only in part, which is why we read the differences as sizes, not as proof. No trading costs are counted in the fill rates.

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. Its structure and how traders handle it are on our island reversal pattern 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. One of the rarest, the concealing baby swallow pattern, needs a black candle that gaps down in the middle of a downtrend before the bottom forms.

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. On 46 ETFs since 1993, 77.8% of gaps filled within 20 sessions, barely more than the 75.5% reached by random price levels at the same distance.

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. The same holds for 10 large cryptos: 30,296 daily bars, 0 gaps.

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

Related guides

All technical analysis articles