Short after an unfilled 3%+ gap-down, near the post-gap low
Condition: a gap-down of at least 3% (open below prior low) occurred 3 to 6 sessions ago, price has not closed above the gap-day midpoint since, latest close is within 2% of the post-gap low, and close below the 50-day SMA. Entry short at close. Stop above the gap-day high. Target 2.5x ATR(14) below close.
After a large gap-down that holds without being filled for three sessions, the holders who were trapped (anchored to prior higher prices) sell into every small bounce while no compelled buyer exists. Analyst downgrade herding and margin-driven liquidation extend the drift. In bear regimes the underreaction to the repricing persists after costs.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.060R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs +0.027R
By trade and by day, sized to 362 rules
What the numbers say
On the laggard stocks the 38 trades averaged −0.060R after costs (0.027R before costs). Winners averaged −0.692R. In bull markets it lost −0.238R over 26 trades; flat markets showed 1.321R but over only 7 trades; bear markets lost −1.073R over 5. The overall result is negative after costs, so the verdict is a loss.
How it was tested
The rule as written, coded once, run on every stock the same way.
- Side
- Short
- Time limit
- Exit at the close after 30 trading days, unless the stop, the target or its own exit comes first
- Bar to clear
- t > 2.95, by trade and by day, sized to the 362 rules in the search it came from
- Prices
- 15 years of daily bars through 2026-11-20; judged 2026-11-22
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.
| Market | Trades | Per trade | t, by trade | t, by day | Random dates | Winners, per trade |
|---|---|---|---|---|---|---|
| Bull | 26 | −0.238R | −0.91 | −0.91 · 26d | −0.214R · beats 50% | −0.679R |
| Flat | 7 | +1.321R | 2.86 | 2.86 · 7d | −0.147R · beats 95% | −1.136R |
| Bear | 5 | −1.073R | −69.56 | −69.56 · 5d | −0.364R · beats 5% | −0.208R |
| All | 38 | −0.060R | −0.221R | −0.692R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 10.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 codeHide
from decimal import Decimal
from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate
class PostGapDownUnfilledCapitulationShort:
name = "post_gap_down_unfilled_capitulation_short"
description = "First qualifying day 3-6 sessions after an unfilled 3%+ gap-down, pinned near the post-gap low below the 50-SMA; short at close."
def __init__(self, gap_pct: float = 0.03, min_age: int = 3, max_age: int = 6,
near_low_pct: float = 0.02, target_atr_mult: float = 2.5,
stop_atr_buffer: float = 0.25, min_bars: int = 220) -> None:
self._gap_pct = Decimal(str(gap_pct))
self._min_age = min_age
self._max_age = max_age
self._near = Decimal(str(near_low_pct))
self._tgt_mult = Decimal(str(target_atr_mult))
self._stop_buf = Decimal(str(stop_atr_buffer))
self._min_bars = min_bars
def _qualifies(self, view, g) -> bool:
n = len(view)
if g < 1 or g >= n:
return False
k = n - 1 - g
if k < self._min_age or k > self._max_age:
return False
gap = view[g]
prev = view[g - 1]
if prev.close <= 0:
return False
if not (gap.open < prev.low and gap.open <= prev.close * (Decimal("1") - self._gap_pct)):
return False
mid = (gap.high + gap.low) / Decimal("2")
for b in view[g + 1:]:
if b.close > mid:
return False
if b.close >= prev.low:
return False
post_low = min(b.low for b in view[g:])
last = view[-1]
if post_low <= 0 or last.close > post_low * (Decimal("1") + self._near):
return False
s50 = sma([b.close for b in view], 50)
if s50 is None or last.close >= Decimal(str(s50)):
return False
return True
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
n = len(bars)
if n < self._min_bars:
return None
g = None
age = None
for k in range(self._min_age, self._max_age + 1):
idx = n - 1 - k
if self._qualifies(bars, idx):
g = idx
age = k
break
if g is None:
return None
# De-duplicate: fire only on the first day this gap event qualified
for j in range(1, age - self._min_age + 1):
if self._qualifies(bars[:n - j], g):
return None
current = bars[-1]
gap = bars[g]
prev = bars[g - 1]
atr_val = atr(bars, 14)
if atr_val is None or atr_val <= 0:
return None
atr_dec = Decimal(str(atr_val))
entry = current.close
stop = gap.high + self._stop_buf * atr_dec
target = entry - self._tgt_mult * atr_dec
risk = stop - entry
if risk <= 0 or target <= 0 or target >= entry:
return None
rr = (entry - target) / risk
if rr < Decimal("1.5"):
return None
# Strength: gap magnitude, gap-day volume, bear trend alignment, pin to low
gap_size = float((prev.close - gap.open) / prev.close)
gap_score = min(35, max(0, int(10 + (gap_size - 0.03) * 500)))
vol_win = bars[max(0, g - 20):g]
avg_vol = sum(float(b.volume) for b in vol_win) / max(len(vol_win), 1)
vol_ratio = float(gap.volume) / max(avg_vol, 1.0)
vol_score = min(30, max(0, int((vol_ratio - 1.0) * 15)))
closes = [b.close for b in bars]
s50 = sma(closes, 50)
s200 = sma(closes, 200)
trend_score = 0
if s200 is not None and current.close < Decimal(str(s200)):
trend_score += 10
if s50 is not None and s200 is not None and s50 < s200:
trend_score += 10
post_low = min(b.low for b in bars[g:])
dist = float((current.close - post_low) / post_low) if post_low > 0 else 0.02
pin_score = min(15, max(0, int((0.02 - dist) / 0.02 * 15)))
strength = max(0, min(100, gap_score + vol_score + trend_score + pin_score))
return Candidate(
ticker=ticker,
side="sell",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=strength,
thesis=(
f"{gap_size*100:.1f}% gap-down {age} sessions ago remains unfilled with no close above the gap-day midpoint; "
f"price is pinned within 2% of the post-gap low below the 50-SMA. Trapped holders should keep supplying bounces "
f"(drift continuation). Stop above gap-day high; target 2.5x ATR."
),
)
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.
Describe it in plain words and get the same honest test in about a minute.