Gap down to a 20-day low on light volume, bought at close
Fire when the open is below the prior close by at least 1.2 ATR(14), the close is a 20-day low, volume is below the 20-day average, and the close is above the open. Enter long at close. Stop at the day's low minus 0.3 ATR; target the prior close.
A gap down that makes a 20-day low on below-average volume indicates absence of sellers rather than forced liquidation; with no informed flow, the gap reflects thin overnight liquidity and tends to retrace as normal daytime liquidity arrives.
Too rare to judge
Too few trades in 15 years to tell anything either way.
- 1 trades on the laggard stocks in 15 years; 30 are needed to judge.
42 large US stocks, 15 years
Before costs −1.369R
By trade and by day, sized to 362 rules
What the numbers say
The rule fired only 1 time on the laggard stocks in 15 years, and that one trade came to −1.431R after costs. Judging it takes 30 trades, so the sample is too small to say anything. The winners group averaged −0.592R per trade.
How it was tested
The rule as written, coded once, run on every stock the same way.
- Side
- Long
- 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 | 1 | −1.431R | — | — · 1d | −0.047R · beats 0% | +1.611R |
| Flat | 0 | — | — | — | — | — |
| Bear | 0 | — | — | — | — | −1.326R |
| All | 1 | −1.431R | −0.047R | −0.592R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 4.0 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
from scanners.base import Candidate
class GapDown20dLowDeadVolumeLong:
name = "gap_down_20d_low_dead_volume_long"
description = "Gap down >= 1.0 ATR to a 20-day closing low on below-average volume that closes above its open; long for a gap refill to the prior close."
def __init__(
self,
gap_atr_mult: float = 1.0,
vol_ratio_max: float = 1.0,
low_lookback: int = 20,
vol_lookback: int = 20,
atr_period: int = 14,
stop_atr_buffer: float = 0.3,
min_rr: float = 1.5,
min_bars: int = 60,
) -> None:
self._gap_mult = Decimal(str(gap_atr_mult))
self._vol_max = vol_ratio_max
self._low_lb = low_lookback
self._vol_lb = vol_lookback
self._atr_p = atr_period
self._buf = Decimal(str(stop_atr_buffer))
self._min_rr = Decimal(str(min_rr))
self._min_bars = max(min_bars, low_lookback + 2, vol_lookback + 2, atr_period + 2)
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < self._min_bars:
return None
cur = bars[-1]
prev = bars[-2]
prev_close = Decimal(str(prev.close))
o = Decimal(str(cur.open))
c = Decimal(str(cur.close))
lo = Decimal(str(cur.low))
hi = Decimal(str(cur.high))
if prev_close <= 0 or c <= 0:
return None
# ATR measured through the prior bar so today's gap does not inflate it
atr_val = atr(bars[:-1], self._atr_p)
if atr_val is None or atr_val <= 0:
return None
atr_d = Decimal(str(atr_val))
# 1) Gap down of at least gap_mult * ATR
gap = prev_close - o
if gap < self._gap_mult * atr_d:
return None
# 2) Close above open (intraday absorption)
if c <= o:
return None
# 3) Close is a 20-day closing low (vs prior low_lb-1 closes)
prior_closes = [Decimal(str(b.close)) for b in bars[-self._low_lb:-1]]
if not prior_closes or c > min(prior_closes):
return None
# 4) Volume below the prior vol_lb-day average
vols = [float(b.volume) for b in bars[-(self._vol_lb + 1):-1]]
avg_vol = sum(vols) / len(vols) if vols else 0.0
if avg_vol <= 0:
return None
vol_ratio = float(cur.volume) / avg_vol
if vol_ratio >= self._vol_max:
return None
# Trade plan
entry = c
stop = lo - self._buf * atr_d
target = prev_close
if not (stop < entry < target):
return None
risk = entry - stop
if risk <= 0:
return None
rr = (target - entry) / risk
if rr < self._min_rr:
return None
# Strength: volume dryness, gap size, intraday absorption
dry = max(0.0, min(1.0, (self._vol_max - vol_ratio) / max(self._vol_max, 0.01)))
vol_score = int(min(40, max(0, dry * 40 / 0.6)))
gap_atr = float(gap / atr_d)
gap_score = int(min(30, max(0, (gap_atr - float(self._gap_mult)) * 20 + 10)))
rng = hi - lo
close_pos = float((c - lo) / rng) if rng > 0 else 0.5
body_frac = float((c - o) / rng) if rng > 0 else 0.0
absorb_score = int(min(30, max(0, close_pos * 18 + body_frac * 12)))
strength = max(0, min(100, vol_score + gap_score + absorb_score))
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=strength,
thesis=(
f"Gapped down {gap_atr:.2f} ATR to a {self._low_lb}-day closing low on only "
f"{vol_ratio:.2f}x average volume, then closed above the open. That looks like "
f"thin overnight liquidity, not forced selling, so the setup targets a refill "
f"to the prior close {prev_close}."
),
asset_class="equity",
)
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.