Skip to content
The Casebook · An idea an AI invented

Monday gap-down short, closing near the day's low

Fire only if the latest bar is a Monday. Require open at least 1.5% below Friday's close, close in the lowest 25% of the day's range, close below the 50-SMA, and volume >= 1.2x the 20-bar average. Enter short at the latest close; stop at the day's high plus 0.2 ATR(14); target 3 x ATR(14) below.
Why the AI thought it might work

Weekend news arrives while markets are closed, so Monday gaps embed information that institutions trade into over days. A Monday gap-down that closes in the lower quarter of the range, in a bear regime, signals institutional selling programs that continue through the week rather than reverting. Compelled sellers are funds executing multi-day liquidation orders.

VerdictTested Nov 22, 2026

Indistinguishable from luck

It looks positive, but not more than chance would produce at this many tries, or than the same plan on random dates.

  • Positive (+0.114R a trade), but no market clears t > 2.95 by trade and by day.
Trades on the laggards
55

42 large US stocks, 15 years

Per trade, after costs
+0.114R

Before costs +0.196R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

Across 55 laggard trades the idea averaged +0.114R after costs, but the winners ran −0.215R. By market, bull was −0.119R, flat +0.113R and bear +0.380R, where it beat 100% of random-date draws. Yet bear's t was 0.89 by trade and 0.22 by day, well short of the 2.95 bar, so it cannot be told apart from luck.

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.

MarketTradesPer tradet, by tradet, by dayRandom datesWinners, per trade
Bull24−0.119R−0.32−0.94 · 18d−0.105R · beats 50%−0.061R
Flat10+0.113R0.160.36 · 9d+0.089R · beats 55%−0.043R
Bear21+0.380R0.890.22 · 9d−0.263R · beats 100%−0.462R
All55+0.114R−0.130R−0.215R

R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 6.7 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 datetime import datetime, timedelta

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


class PostWeekendGapdownWeakCloseShort:
    name = "post_weekend_gapdown_weak_close_short"
    description = "Post-weekend/holiday gap-down closing in bottom quartile below 50-SMA on volume: short for multi-day institutional selling continuation"

    def __init__(self, gap_pct: float = 0.012, close_pos_max: float = 0.25, vol_mult: float = 1.2, stop_atr_buf: float = 0.2, target_atr_mult: float = 3.0, min_rsi: float = 25.0, min_bars: int = 60) -> None:
        self._gap_pct = gap_pct
        self._close_pos_max = close_pos_max
        self._vol_mult = vol_mult
        self._stop_buf = stop_atr_buf
        self._tgt_mult = target_atr_mult
        self._min_rsi = min_rsi
        self._min_bars = min_bars

    @staticmethod
    def _as_date(ts):
        if isinstance(ts, datetime):
            return ts.date()
        return ts

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < max(self._min_bars, 52):
            return None
        cur = bars[-1]
        prev = bars[-2]
        try:
            d_cur = self._as_date(cur.timestamp)
            d_prev = self._as_date(prev.timestamp)
            gap_days = (d_cur - d_prev).days
            wd = d_cur.weekday()
        except Exception:
            return None
        # First session after a weekend (Mon) or long weekend (e.g. Tue after Monday holiday)
        if not (wd == 0 or (gap_days >= 3 and wd <= 1)):
            return None
        if prev.close <= 0:
            return None

        gap = float((prev.close - cur.open) / prev.close)
        if gap < self._gap_pct:
            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

        closes = [float(b.close) for b in bars]
        sma50 = sma(closes, 50)
        if sma50 is None or float(cur.close) >= sma50:
            return None

        vols = [float(b.volume) for b in bars[-21:-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_mult:
            return None

        r = rsi(closes, 14)
        if r is not None and r < self._min_rsi:
            return None

        atr_val = atr(bars, 14)
        if atr_val is None or atr_val <= 0:
            return None
        atr_d = Decimal(str(atr_val))

        entry = cur.close
        stop = cur.high + Decimal(str(self._stop_buf)) * atr_d
        target = entry - Decimal(str(self._tgt_mult)) * atr_d
        if target <= 0 or not (target < entry < stop):
            return None
        risk = stop - entry
        if risk <= 0:
            return None
        rr = (entry - target) / risk
        if rr < Decimal("1.5"):
            return None

        # Strength components
        vol_score = min(30, max(0, int((vol_ratio - 1.0) * 30)))
        gap_score = min(25, max(0, int((gap - self._gap_pct) * 1000)))
        close_score = min(20, max(0, int((self._close_pos_max - close_pos) / self._close_pos_max * 20)))
        trend_score = 0
        sma50_prev = sma(closes[:-5], 50)
        if sma50_prev is not None and sma50 < sma50_prev:
            trend_score += 13
        if len(closes) >= 200:
            sma200 = sma(closes, 200)
            if sma200 is not None and sma50 < sma200:
                trend_score += 12
        strength = max(0, min(100, vol_score + gap_score + close_score + trend_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"Post-weekend gap-down of {gap*100:.1f}% closed in bottom {close_pos*100:.0f}% of range below the 50-SMA "
                f"on {vol_ratio:.1f}x volume; weekend news is being sold by multi-day institutional programs, "
                f"so continuation toward 3 ATR is expected. Invalidated above the session high."
            ),
            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.

Have an idea of your own?

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

Run the Gauntlet
Monday gap-down short, closing near the day's low: Indistinguishable from luck · EdgeProven