Skip to content
The Casebook · An idea an AI invented

Fade a strong Friday close, short with ATR stop and target

Latest bar is Friday. Close is within top 10% of the day's range, daily return >= +3%, close >= 10% above 20-day SMA, and volume >= 1.3x 20-day average. Short at close. Stop = entry + 1.2*ATR(14). Target = entry - 1.8*ATR(14).
Why the AI thought it might work

Retail and leveraged-ETF-driven late-day chasing of strong stocks into a weekend produces closes at the day's extreme that lack institutional follow-through; liquidity providers fade it Monday. In daily bars: a Friday with a large upside close in a name already extended produces next-session mean reversion.

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.068R a trade), but no market clears t > 2.95 by trade and by day.
Trades on the laggards
81

42 large US stocks, 15 years

Per trade, after costs
+0.068R

Before costs +0.157R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

On the laggards, 81 trades averaged +0.068R after costs, but the best market t was 0.86 by trade against a bar of 2.95, and the bull-market result beat 95% of random-date draws. Flat (−0.12R) and bear (−0.356R) were negative, and today's winners averaged −0.362R. The gain is too small to separate 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
Bull60+0.154R0.860.80 · 54d−0.135R · beats 95%−0.344R
Flat16−0.120R−0.37−0.45 · 15d−0.221R · beats 75%−0.212R
Bear5−0.356R−0.50−0.19 · 4d−0.069R · beats 30%−1.333R
All81+0.068R−0.148R−0.362R

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.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 FridaysRebalanceTailReversalShort:
    name = "fridays_rebalance_tail_reversal_short"
    description = "Short an extended stock's high-volume Friday up-close near the day's high, fading expiry/weekend-driven chasing."

    def __init__(self, friday_only: bool = True, min_return: float = 0.025, min_close_pos: float = 0.85, min_ext_pct: float = 0.07, min_ext_atr: float = 2.5, min_vol_ratio: float = 1.2, stop_atr: float = 1.2, target_atr: float = 1.9, min_bars: int = 60) -> None:
        self._friday_only = friday_only
        self._min_return = min_return
        self._min_close_pos = min_close_pos
        self._min_ext_pct = min_ext_pct
        self._min_ext_atr = min_ext_atr
        self._min_vol_ratio = min_vol_ratio
        self._stop_atr = stop_atr
        self._target_atr = target_atr
        self._min_bars = min_bars

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < self._min_bars:
            return None
        cur = bars[-1]
        prev = bars[-2]
        try:
            wd = cur.timestamp.weekday()
        except Exception:
            return None
        if self._friday_only and wd != 4:
            return None

        close = float(cur.close)
        high = float(cur.high)
        low = float(cur.low)
        pclose = float(prev.close)
        if pclose <= 0 or close <= 0:
            return None
        rng = high - low
        if rng <= 0:
            return None
        close_pos = (close - low) / rng
        if close_pos < self._min_close_pos:
            return None
        ret = close / pclose - 1.0
        if ret < self._min_return:
            return None

        closes = [float(b.close) for b in bars]
        sma20 = sma(closes, 20)
        if sma20 is None or sma20 <= 0:
            return None
        atr_val = atr(bars, 14)
        if atr_val is None or float(atr_val) <= 0:
            return None
        a = float(atr_val)
        ext_pct = close / sma20 - 1.0
        ext_atr = (close - sma20) / a
        if ext_pct < self._min_ext_pct and ext_atr < self._min_ext_atr:
            return None
        if ext_pct <= 0:
            return None

        prior_vols = [float(b.volume) for b in bars[-21:-1]]
        avg_vol = sum(prior_vols) / len(prior_vols) if prior_vols else 0.0
        if avg_vol <= 0:
            return None
        vol_ratio = float(cur.volume) / avg_vol
        if vol_ratio < self._min_vol_ratio:
            return None

        entry = cur.close
        a_dec = Decimal(str(a))
        stop = entry + Decimal(str(self._stop_atr)) * a_dec
        target = entry - Decimal(str(self._target_atr)) * a_dec
        sma_dec = Decimal(str(sma20))
        # Structural cap: reversion goal is the 20-day mean; never target beyond it
        if target < sma_dec:
            target = sma_dec
        if 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

        ext_score = min(35, max(0, int(max(ext_pct / 0.20, ext_atr / 5.0) * 35)))
        vol_score = min(25, max(0, int((vol_ratio - 1.0) / 1.5 * 25)))
        ret_score = min(20, max(0, int(ret / 0.08 * 20)))
        close_score = min(10, max(0, int((close_pos - 0.8) / 0.2 * 10)))
        day = cur.timestamp.day
        opex_bonus = 10 if (wd == 4 and 15 <= day <= 21) else (5 if wd == 4 else 0)
        strength = max(0, min(100, ext_score + vol_score + ret_score + close_score + opex_bonus))

        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"Friday expiry/weekend fade: +{ret*100:.1f}% day closing at {close_pos*100:.0f}% of range, "
                f"{ext_pct*100:.1f}% ({ext_atr:.1f} ATR) above SMA20 on {vol_ratio:.2f}x volume; "
                f"expect dealer-hedge unwind and weekend inventory de-risking to revert the spike."
            ),
        )

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
Fade a strong Friday close, short with ATR stop and target: Indistinguishable from luck · EdgeProven