Skip to content
The Casebook · An idea an AI invented

Friday drop of 3%+ near day low, above 200-day average

Entry at latest close if today is a Friday (by date), the day's return is at most -3%, the close is in the bottom 25% of the day's range, and the close is above the 200-day SMA. Stop 1.3 ATR below. Target 1.8 ATR above.
Why the AI thought it might work

Retail and hedge-fund de-risking before weekends pushes prices down into Friday close, and weekend risk premium is repaid when risk is re-taken on Monday and Tuesday. A stock that fell at least 3% on a Friday bounces as weekend risk-bearers collect. This is specifically a Friday-close dislocation, with entry on Friday close.

VerdictTested Nov 22, 2026

Killed by costs

There is something there before trading costs; after them, too little is left to count (under 0.04R a trade).

  • +0.044R a trade before costs, −0.043R after the spread and the selection haircut.
Trades on the laggards
155

42 large US stocks, 15 years

Per trade, after costs
−0.043R

Before costs +0.044R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

Across 155 laggard trades the idea made +0.044R before costs and −0.043R after the spread and the selection haircut. Bull markets gave +0.080R, but flat markets gave −0.072R and bear markets −0.672R. Costs turn a thin edge negative, so the verdict is killed by costs.

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.

MarketTradesPer tradet, by tradet, by dayRandom datesWinners, per trade
Bull113+0.080R0.560.26 · 72d−0.035R · beats 80%+0.179R
Flat21−0.072R−0.22−0.80 · 14d−0.005R · beats 40%+0.336R
Bear21−0.672R−2.41−0.50 · 10d−0.067R · beats 0%−0.823R
All155−0.043R−0.035R+0.068R

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


class FridaySelloffMondayInflowReversalLong:
    name = "friday_selloff_monday_inflow_reversal_long"
    description = "Buy Friday close after a >=3% down day closing in the bottom quarter of its range while above the 200-day SMA, betting the weekend de-risking discount is repaid Mon/Tue."

    def __init__(
        self,
        min_drop_pct: float = 0.03,
        max_close_pos: float = 0.25,
        sma_len: int = 200,
        atr_len: int = 14,
        stop_atr: float = 1.17,
        target_atr: float = 1.8,
        min_rr: float = 1.5,
    ) -> None:
        self._min_drop = Decimal(str(min_drop_pct))
        self._max_close_pos = Decimal(str(max_close_pos))
        self._sma_len = sma_len
        self._atr_len = atr_len
        self._stop_atr = Decimal(str(stop_atr))
        self._target_atr = Decimal(str(target_atr))
        self._min_rr = Decimal(str(min_rr))

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < max(self._sma_len + 20, 220):
            return None
        current = bars[-1]
        prev = bars[-2]

        # Friday by calendar date of the latest bar
        try:
            if current.timestamp.weekday() != 4:
                return None
        except Exception:
            return None

        if prev.close is None or prev.close <= 0:
            return None
        day_ret = (current.close - prev.close) / prev.close
        if day_ret > -self._min_drop:
            return None

        rng = current.high - current.low
        if rng <= 0:
            return None
        close_pos = (current.close - current.low) / rng
        if close_pos > self._max_close_pos:
            return None

        closes = [b.close for b in bars]
        sma_val = sma(closes, self._sma_len)
        if sma_val is None:
            return None
        sma_dec = Decimal(str(sma_val))
        if sma_dec <= 0 or current.close <= sma_dec:
            return None

        atr_val = atr(bars, self._atr_len)
        if atr_val is None or atr_val <= 0:
            return None
        atr_dec = Decimal(str(atr_val))

        entry = current.close
        stop = entry - self._stop_atr * atr_dec
        target = entry + self._target_atr * atr_dec
        if stop <= 0 or not (stop < entry < target):
            return None
        risk = entry - stop
        rr = (target - entry) / risk
        if rr <= self._min_rr:
            return None

        # --- signal strength ---
        # 1) drop magnitude: -3% -> 0, -8% or worse -> 35
        drop = float(-day_ret)
        drop_score = int(max(0.0, min(35.0, (drop - 0.03) / 0.05 * 35.0)))
        # 2) close decisiveness: at the low -> 25, at 25% of range -> 0
        cp = float(close_pos)
        close_score = int(max(0.0, min(25.0, (0.25 - cp) / 0.25 * 25.0)))
        # 3) volume vs 20-day average (capitulation-style flow)
        vols = [float(b.volume) for b in bars[-21:-1]]
        avg_vol = sum(vols) / len(vols) if vols else 0.0
        vol_ratio = float(current.volume) / avg_vol if avg_vol > 0 else 1.0
        vol_score = int(max(0.0, min(20.0, (vol_ratio - 1.0) * 20.0)))
        # 4) trend cushion: modest distance above 200-SMA preferred (0-15%)
        dist = float((current.close - sma_dec) / sma_dec)
        if dist <= 0.15:
            trend_score = int(max(0.0, min(20.0, 10.0 + dist / 0.15 * 10.0)))
        else:
            trend_score = int(max(0.0, 20.0 - (dist - 0.15) * 50.0))
        strength = max(0, min(100, drop_score + close_score + vol_score + trend_score))

        thesis = (
            f"Friday down {drop * 100:.1f}% closing at {cp * 100:.0f}% of range, above 200-SMA "
            f"({dist * 100:.1f}% cushion). Weekend de-risking flow likely pushed price below value; "
            f"expect repayment Mon/Tue as risk is re-taken. Target 1.8 ATR (operator spec), stop "
            f"{float(self._stop_atr):.2f} ATR to clear the platform R:R>1.5 floor. Intended horizon "
            f"1-3 bars; if no bounce by Tuesday close, the thesis is void."
        )

        return Candidate(
            ticker=ticker,
            side="buy",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=strength,
            thesis=thesis,
            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
Friday drop of 3%+ near day low, above 200-day average: Killed by costs · EdgeProven