Skip to content
The Casebook · An idea an AI invented

Short Monday after a 3-ATR weekly surge, on a lower close

Fire on Monday when the 5-day return as of last Friday exceeded 3x ATR(14) as a percentage, and Monday's close is below Friday's close. Enter short at close. Stop above Monday's high plus 0.5 ATR; target 2x ATR below.
Why the AI thought it might work

Stocks up more than 3 ATR over a week into Friday attract retail momentum buying; the following Monday often sees profit-taking by short-term holders as weekend news absorption and thin weekend positioning reverse the push, giving a liquidity-provision payoff to sellers.

VerdictTested Nov 22, 2026

Loses money

After costs it lost money on the stocks that decide the verdict.

  • −0.124R a trade after costs on the laggard stocks.
Trades on the laggards
193

42 large US stocks, 15 years

Per trade, after costs
−0.124R

Before costs +0.001R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

On the laggard stocks it averaged −0.124R a trade after costs over 193 trades, against 0.001R before costs, so costs account for the whole loss. The winners did worse at −0.389R. Flat (−0.406R) and bear (−0.478R) markets were negative, and bull was −0.021R, so no regime shows a gain.

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
Bull144−0.021R−0.16−0.26 · 113d−0.166R · beats 90%−0.389R
Flat35−0.406R−1.79−1.19 · 22d−0.163R · beats 20%−0.995R
Bear14−0.478R−1.28−0.92 · 10d−0.287R · beats 30%+1.022R
All193−0.124R−0.174R−0.389R

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 code
from decimal import Decimal

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


def _bar_dt(bar):
    try:
        return bar.timestamp
    except AttributeError:
        pass
    try:
        return bar.date
    except AttributeError:
        pass
    try:
        return bar.ts
    except AttributeError:
        return None


class HotWeekOverextendedMondayFadeShort:
    name = "hot_week_overextended_monday_fade_short"
    description = "Short first session of the week after a >3 ATR weekly run-up when it closes below Friday's close"

    def __init__(self, ext_atr_mult: float = 3.0, atr_period: int = 14, stop_atr_buffer: float = 0.5, target_atr_mult: float = 2.0, min_bars: int = 40) -> None:
        self._ext = ext_atr_mult
        self._atr_period = atr_period
        self._stop_buf = stop_atr_buffer
        self._tgt = target_atr_mult
        self._min_bars = min_bars

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < max(self._min_bars, self._atr_period + 10):
            return None
        cur = bars[-1]
        fri = bars[-2]
        d_cur = _bar_dt(cur)
        d_fri = _bar_dt(fri)
        if d_cur is None or d_fri is None:
            return None
        try:
            wk_cur = d_cur.isocalendar()[:2]
            wk_fri = d_fri.isocalendar()[:2]
            fri_wd = d_fri.weekday()
        except Exception:
            return None
        # current bar must be the first trading day of a new week
        if wk_cur == wk_fri:
            return None
        # prior bar should be the last session of the prior week (Thu/Fri)
        if fri_wd < 3:
            return None

        # ATR as of Friday (no use of Monday in extension test)
        atr_val = atr(bars[:-1], self._atr_period)
        if atr_val is None or atr_val <= 0:
            return None
        atr_d = Decimal(str(atr_val))

        base_close = bars[-7].close
        fri_close = fri.close
        if base_close <= 0 or fri_close <= 0:
            return None
        week_ret = (fri_close - base_close) / base_close
        atr_pct = atr_d / fri_close
        ext_ratio = week_ret / atr_pct if atr_pct > 0 else Decimal("0")
        if ext_ratio < Decimal(str(self._ext)):
            return None

        # Monday must close below Friday close
        if cur.close >= fri_close:
            return None

        entry = cur.close
        stop = cur.high + Decimal(str(self._stop_buf)) * atr_d
        target = entry - Decimal(str(self._tgt)) * 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: extension magnitude, decisiveness of reversal, close location, volume
        ext_score = min(35, max(0, int((float(ext_ratio) - self._ext) * 12) + 10))
        drop_atr = float((fri_close - entry) / atr_d)
        drop_score = min(25, max(0, int(drop_atr * 30)))
        rng = cur.high - cur.low
        if rng > 0:
            close_pos = float((cur.high - cur.close) / rng)
        else:
            close_pos = 0.5
        close_score = min(20, max(0, int(close_pos * 20)))
        vols = [float(b.volume) for b in bars[-22:-2]]
        avg_vol = sum(vols) / len(vols) if vols else 0.0
        vol_ratio = float(cur.volume) / avg_vol if avg_vol > 0 else 1.0
        vol_score = min(20, max(0, int((vol_ratio - 0.8) * 20)))
        strength = max(0, min(100, ext_score + drop_score + close_score + vol_score))

        thesis = (
            f"Prior week ran {float(week_ret) * 100:.1f}% (~{float(ext_ratio):.1f}x ATR%) into Friday; "
            f"first session of new week closed {drop_atr:.2f} ATR below Friday's close. Fading the "
            f"overextended momentum push as weekend profit-taking unwinds it; stop above session high + "
            f"{self._stop_buf} ATR, target {self._tgt} ATR below entry."
        )
        return Candidate(
            ticker=ticker,
            side="sell",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=int(strength),
            thesis=thesis,
        )

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
Short Monday after a 3-ATR weekly surge, on a lower close: Loses money · EdgeProven