Skip to content
The Casebook · An idea an AI invented

Quad-witching drop on heavy volume, long next session

Prior bar is the third Friday of March/June/September/December with volume > 2x 20-day average and close down >2.5%. Latest bar (next session) closes above prior close. Enter long at close. Stop = prior bar low minus 0.25*ATR(14). Target = entry + 2.0*ATR(14).
Why the AI thought it might work

Triple-witching and index-rebalancing sessions (third Friday of Mar/Jun/Sep/Dec) generate compelled closing-auction volume from index funds and options hedgers unrelated to fundamentals. A stock that falls hard on abnormal volume in that session suffers temporary price pressure that reverses the following sessions as the flow disappears.

VerdictTested Nov 22, 2026

Too rare to judge

Too few trades in 15 years to tell anything either way.

  • 8 trades on the laggard stocks in 15 years; 30 are needed to judge.
Trades on the laggards
8

42 large US stocks, 15 years

Per trade, after costs
−0.611R

Before costs −0.478R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

The rule produced only 8 trades on the laggard stocks over 15 years, short of the 30 needed to judge. Those 8 averaged −0.611R per trade after costs, and the 6 bull-market trades averaged −1.223R. The flat and bear markets have 1 trade each, so too few trades to support a verdict.

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
Bull6−1.223R−30.85−33.71 · 4d−0.416R · beats 5%+0.793R
Flat1+3.507R—— · 1d−0.355R · beats 95%−1.463R
Bear1−1.060R—— · 1d−0.616R · beats 25%—
All8−0.611R−0.434R+0.041R

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.9 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
import math

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


class TripleWitchingReversal:
    name = 'triple_witching_reversal'
    description = 'Long the session after a quarterly-expiration high-volume selloff once price closes back above the witching close.'

    def __init__(self, vol_mult: float = 2.0, min_drop_pct: float = 0.025, min_drop_atr: float = 1.0, max_prior_5d_drop: float = 0.06, stop_atr_buffer: float = 0.25, target_atr_mult: float = 2.0, min_rr: float = 1.5, min_bars: int = 60) -> None:
        self._vol_mult = vol_mult
        self._min_drop_pct = min_drop_pct
        self._min_drop_atr = min_drop_atr
        self._max_prior_5d_drop = max_prior_5d_drop
        self._stop_buf = stop_atr_buffer
        self._target_mult = target_atr_mult
        # Platform floor: orchestrator discards anything at or below 1.5R.
        self._min_rr = max(1.5, min_rr)
        self._min_bars = max(30, min_bars)

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

    def _is_quarterly_expiry(self, dw, dnext) -> bool:
        if dw.month not in (3, 6, 9, 12):
            return False
        gap = (dnext - dw).days
        if gap < 1 or gap > 5:
            return False
        wd = dw.weekday()
        if wd == 4 and 15 <= dw.day <= 21:
            return True
        # Holiday-shifted expiration (e.g. Good Friday): Thursday before a third Friday, next session after the weekend.
        if wd == 3 and 14 <= dw.day <= 20 and gap >= 4:
            return True
        return False

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < self._min_bars:
            return None
        cur = bars[-1]
        witch = bars[-2]
        pre = bars[-3]
        try:
            dw = self._day(witch.timestamp)
            dc = self._day(cur.timestamp)
        except Exception:
            return None
        if dw is None or dc is None:
            return None
        if not self._is_quarterly_expiry(dw, dc):
            return None

        # Volume: witching volume vs 20 sessions before it
        vol_window = bars[-22:-2]
        if len(vol_window) < 20:
            return None
        avg_vol = sum(float(b.volume) for b in vol_window) / 20.0
        if avg_vol <= 0:
            return None
        vol_ratio = float(witch.volume) / avg_vol
        if vol_ratio <= self._vol_mult:
            return None

        # Drop on the witching session
        if pre.close <= 0:
            return None
        drop_pct = float((pre.close - witch.close) / pre.close)
        if drop_pct <= self._min_drop_pct:
            return None

        # Drop must be abnormal relative to the stock's own pre-witching volatility
        atr_pre = atr(bars[:-2], 14)
        if atr_pre is None or atr_pre <= 0:
            return None
        drop_atr = float(pre.close - witch.close) / float(atr_pre)
        if drop_atr < self._min_drop_atr:
            return None

        # Isolation: skip names already in a multi-day crash before expiry (generic capitulation, not flow)
        base = bars[-8].close
        if base <= 0:
            return None
        prior_5d = float((pre.close - base) / base)
        if prior_5d < -self._max_prior_5d_drop:
            return None

        # Confirmation: next session closes above witching close
        if cur.close <= witch.close:
            return None

        atr_now = atr(bars, 14)
        if atr_now is None or atr_now <= 0:
            return None
        atr_dec = Decimal(str(atr_now))
        entry = cur.close
        stop = witch.low - Decimal(str(self._stop_buf)) * atr_dec
        target = entry + Decimal(str(self._target_mult)) * atr_dec
        risk = entry - stop
        if risk <= 0 or target <= entry or stop >= entry:
            return None
        rr = (target - entry) / risk
        # Documented gate: keeps entries still within ~1 ATR of the witching low (reversal not yet spent)
        if rr <= Decimal(str(self._min_rr)):
            return None

        # Strength components
        vol_score = min(35.0, max(0.0, (vol_ratio - self._vol_mult) / 2.0 * 35.0 + 10.0))
        drop_score = min(25.0, max(0.0, (drop_atr - self._min_drop_atr) * 12.0 + 5.0))
        rng = cur.high - cur.low
        close_pos = float((cur.close - cur.low) / rng) if rng > 0 else 0.5
        close_score = min(20.0, max(0.0, close_pos * 20.0))
        iso_score = min(20.0, max(0.0, (prior_5d + self._max_prior_5d_drop) / (2 * self._max_prior_5d_drop) * 20.0))
        strength = int(max(0, min(100, round(vol_score + drop_score + close_score + iso_score))))

        thesis = (
            'Quarterly-expiration flow dislocation: ' + str(dw) + ' closed down ' + str(round(drop_pct * 100, 1))
            + '% (' + str(round(drop_atr, 2)) + ' ATR) on ' + str(round(vol_ratio, 1))
            + 'x avg volume after a non-crashing week; next session reclaimed the witching close. '
            + 'Mechanical index/hedging flow is gone, so temporary price pressure should revert. '
            + 'Stop below witching low, target +' + str(self._target_mult) + ' ATR.'
        )

        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
Quad-witching drop on heavy volume, long next session: Too rare to judge · EdgeProven