Short a faded gap-up with a 1.5x ATR target
Entry at latest close if open is at least 1.0x ATR(14) above prior close, close is at or below the open, and the close lies in the bottom 40% of the day's range, with volume under 2.5x its 20-day average (non-news filter). Stop = max(high of the bar, entry+1x ATR). Target = entry minus 1.5x ATR(14).
Overnight gains are where retail and momentum demand concentrates (opening auction imbalances), while intraday trading is dominated by informed liquidity suppliers who fade it. A stock gapping up on ordinary volume that then gives back most of the gap intraday shows the overnight buyers were absorbed; the overnight bid is exhausted and the next days drift lower. Visible via open vs prior close vs close.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.211R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs −0.094R
By trade and by day, sized to 362 rules
What the numbers say
On the laggard stocks the idea averaged −0.211R a trade after costs over 161 trades, and −0.344R on the winners. Costs explain only part of it: before costs it was still negative at −0.094R. It lost in bull (−0.214R), flat (−0.125R) and bear (−0.398R) markets, and beat only 40%, 55% and 35% of random-date draws, so the verdict follows.
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 | 116 | −0.214R | −1.62 | −1.38 · 99d | −0.146R · beats 40% | −0.270R |
| Flat | 32 | −0.125R | −0.50 | −0.41 · 27d | −0.107R · beats 55% | −0.372R |
| Bear | 13 | −0.398R | −1.13 | −0.91 · 12d | −0.278R · beats 35% | −0.919R |
| All | 161 | −0.211R | −0.149R | −0.344R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 9.2 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 GapUpGivebackExhaustionShort:
name = "gap_up_giveback_exhaustion_short"
description = "Short a >=1 ATR gap-up on ordinary volume that closes at/below the open in the bottom 40% of its range"
def __init__(self, gap_atr: float = 1.0, close_pos_max: float = 0.40, vol_mult_max: float = 2.5, stop_buffer_atr: float = 0.1, max_risk_atr: float = 1.5, target_atr: float = 1.5, min_rr: float = 1.6) -> None:
self._gap_atr = gap_atr
self._close_pos_max = close_pos_max
self._vol_mult_max = vol_mult_max
self._stop_buffer_atr = stop_buffer_atr
self._max_risk_atr = max_risk_atr
self._target_atr = target_atr
self._min_rr = min_rr
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < 60:
return None
cur = bars[-1]
prev = bars[-2]
# ATR measured through the prior bar so today's gap doesn't inflate it
atr_val = atr(bars[:-1], 14)
if atr_val is None or atr_val <= 0:
return None
a = Decimal(str(atr_val))
gap = cur.open - prev.close
if gap < Decimal(str(self._gap_atr)) * a:
return None
if cur.close > cur.open:
return None
rng = cur.high - cur.low
if rng <= 0:
return None
close_pos = float((cur.close - cur.low) / rng)
if close_pos > self._close_pos_max:
return None
vols = [float(b.volume) for b in bars[-21:-1]]
avg_vol = sum(vols) / 20.0
if avg_vol <= 0:
return None
vol_ratio = float(cur.volume) / avg_vol
if vol_ratio >= self._vol_mult_max:
return None
entry = cur.close
stop = cur.high + Decimal(str(self._stop_buffer_atr)) * a
risk = stop - entry
if risk <= 0:
return None
if risk > Decimal(str(self._max_risk_atr)) * a:
return None
reward = max(Decimal(str(self._target_atr)) * a, Decimal(str(self._min_rr)) * risk)
target = entry - reward
if target <= 0:
return None
rr = (entry - target) / risk
if rr < Decimal("1.5"):
return None
# Strength components
giveback = float((cur.open - cur.close) / gap) if gap > 0 else 0.0
give_score = min(35, max(0, int(giveback * 35)))
close_score = min(25, max(0, int((self._close_pos_max - close_pos) / self._close_pos_max * 25)))
vol_score = min(20, max(0, int((self._vol_mult_max - vol_ratio) / self._vol_mult_max * 20)))
gap_atr_mult = float(gap / a)
gap_score = min(20, max(0, int((gap_atr_mult - self._gap_atr) * 15)))
strength = max(0, min(100, give_score + close_score + vol_score + gap_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"Gapped up {gap_atr_mult:.2f} ATR on {vol_ratio:.2f}x avg volume, then gave back "
f"{giveback * 100:.0f}% of the gap and closed in the bottom {close_pos * 100:.0f}% of the range; "
"the overnight bid was absorbed by intraday supply, so the expectation is drift lower."
),
)
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.