Skip to content
The Casebook · A classic strategy

Buy a 3% heavy-volume gap-up that holds for 3 days

Buy a stock that gaps up 3% on heavy volume and holds above the gap for 3 days.
VerdictTested Nov 22, 2026

Killed by costs

There is something there before trading costs; after them, too little is left to count (under 0.04R a trade).

  • +0.040R a trade before costs, −0.035R after the spread and the selection haircut.
Trades on the laggards
217

42 large US stocks, 15 years

Per trade, after costs
−0.035R

Before costs +0.040R

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

On the laggards the idea made +0.040R a trade before costs and −0.035R after them, across 217 trades. The bull-market group, 167 of the trades, came to −0.092R after costs and beat 25% of random-date draws. The bear-market group was +0.168R but only 16 trades, so the costs erased the thin edge.

How it was tested

Buy at the close after a stock gaps up at least 3% on heavy volume and then keeps closing above the gap's prior close for 3 straight days.

Side
Long
Its own exit
Exit at the close of any day after entry on which the close is below the gap level (the gap has been filled)., checked at each close
Time limit
Exit at the close after 20 trading days, unless the stop, the target or its own exit comes first
Bar to clear
t > 2.01, by trade and by day, sized to a first try (one idea, tested once)
Prices
15 years of daily bars through 2026-11-20; judged 2026-11-22
Choices made where the idea was open
  • Gap up means today's open is at least 3% above the prior day's close
  • Heavy volume means gap-day volume is at least 2x the average volume of the prior 20 days
  • Holds above the gap means each of the 3 closes after the gap day is above the prior close that preceded the gap
  • Entry at the close of the third day after the gap day
  • Stop placed 1% below the gap level, widened to 1 x ATR(14) if that is too tight
  • Target at 2:1 reward-to-risk

The evidence

The laggards decide: 22 large stocks that lagged or fell, where hindsight can't flatter a rule. Today's winners sit beside them to show what survivorship would add.

MarketTradesPer tradet, by tradet, by dayRandom datesWinners, per trade
Bull167−0.092R−1.07−1.67 · 154d−0.039R · beats 25%+0.062R
Flat34+0.149R0.920.77 · 33d+0.010R · beats 90%+0.014R
Bear16+0.168R0.590.46 · 14d+0.182R · beats 50%−0.079R
All217−0.035R−0.015R+0.045R

R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 13.6 bps) plus 0.045R for the fills a real order wouldn't get. “By day” groups trades opened the same day, so a rule that fires on the same dates for every stock counts as a few events. “Random dates” places the same plan on random days of the same stocks in the same kind of market, 20 times; the idea must beat 95% of those draws.

The scanner we wroteShow the code
from decimal import Decimal

from core.domain import Bar
from strategies.indicators import atr
from scanners.base import Candidate


class GapUpHoldsThreeDays:
    name = "gap_up_3pct_heavy_volume_holds_3_days"
    description = "Long at close of G+3 after a 3%+ heavy-volume gap-up whose next 3 closes held above the gap level"

    def __init__(self, gap_pct: float = 0.03, vol_mult: float = 2.0, vol_lookback: int = 20,
                 hold_days: int = 3, stop_frac: float = 0.99, atr_period: int = 14,
                 atr_tight: float = 0.5, atr_widen: float = 1.0, target_r: float = 2.0) -> None:
        self._gap_pct = gap_pct
        self._vol_mult = vol_mult
        self._vol_lookback = vol_lookback
        self._hold_days = hold_days
        self._stop_frac = stop_frac
        self._atr_period = atr_period
        self._atr_tight = atr_tight
        self._atr_widen = atr_widen
        self._target_r = target_r

    def _gap_level_at(self, bars, s):
        # s = index of the signal day (G + hold_days). Returns gap level or None.
        g = s - self._hold_days
        if g < self._vol_lookback + 1 or s > len(bars) - 1:
            return None
        level = bars[g - 1].close
        if level <= 0:
            return None
        if bars[g].open < Decimal(str(1 + self._gap_pct)) * level:
            return None
        prior = bars[g - self._vol_lookback:g]
        avg_vol = sum(b.volume for b in prior) / self._vol_lookback
        if avg_vol <= 0:
            return None
        if bars[g].volume < self._vol_mult * avg_vol:
            return None
        for i in range(g + 1, s + 1):
            if bars[i].close <= level:
                return None
        return level

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < self._vol_lookback + self._hold_days + 2:
            return None
        s = len(bars) - 1
        level = self._gap_level_at(bars, s)
        if level is None:
            return None
        entry = bars[-1].close
        stop = level * Decimal(str(self._stop_frac))
        atr_val = atr(bars, self._atr_period)
        if atr_val is not None and atr_val > 0:
            atr_dec = Decimal(str(atr_val))
            if entry - stop < Decimal(str(self._atr_tight)) * atr_dec:
                stop = entry - Decimal(str(self._atr_widen)) * atr_dec
        risk = entry - stop
        if risk <= 0:
            return None
        target = entry + Decimal(str(self._target_r)) * risk
        rr = (target - entry) / risk
        return Candidate(
            ticker=ticker,
            side="buy",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=50,
            thesis="Gap up >=3% on >=2x volume, then 3 straight closes above the gap's prior close; entry at G+3 close.",
        )

    def exit_now(self, ticker: str, bars: list[Bar], entry: Decimal,
                 side: str, bars_held: int) -> bool:
        last = len(bars) - 1
        s = last - bars_held
        level = None
        if s >= 0:
            level = self._gap_level_at(bars, s)
            if level is not None and bars[s].close != entry:
                level = None
        if level is None:
            # fallback: locate the signal day by searching back for a matching setup
            for off in range(1, 30):
                s2 = last - off
                if s2 < 0:
                    break
                if bars[s2].close != entry:
                    continue
                lv = self._gap_level_at(bars, s2)
                if lv is not None:
                    level = lv
                    break
        if level is None:
            return False
        return bars[-1].close < level

Hypothetical results from our own backtest of the rule as restated, on 42 large US stocks over 15 years. Past performance, real or simulated, does not predict future results. Research and education only; not investment advice.

Have an idea of your own?

Describe it in plain words and get the same honest test in about a minute.

Run the Gauntlet