Pre-expiry Thursday dip buy above 100-day average
Entry at latest close if it is the Thursday before the third Friday of the month, the close is below the 5-day high by more than 1.2*ATR(14), and the close is above the 100-day SMA. Stop = entry minus 1.5*ATR(14). Target = entry + 1.8*ATR(14).
Dealers who are short gamma into options expiry pin or suppress price, and a dip on the Wednesday-Thursday before the third Friday occurs from hedging flow rather than information. After expiry, hedges roll off and price drifts back. Combined with a stock-specific down move to ensure variation across names.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.084R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs +0.012R
By trade and by day, sized to 362 rules
What the numbers say
On the laggard stocks the idea averaged −0.084R a trade after costs over 548 trades, against 0.012R before costs. Bull markets gave −0.057R and flat markets −0.052R, both close to the random-date results (−0.0527R and −0.0423R). Bear markets were the worst at −0.692R, beating 0.0% of random draws. The result is a loss after 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.
| Market | Trades | Per trade | t, by trade | t, by day | Random dates | Winners, per trade |
|---|---|---|---|---|---|---|
| Bull | 439 | −0.057R | −0.86 | −1.87 · 110d | −0.053R · beats 60% | +0.087R |
| Flat | 85 | −0.052R | −0.32 | −1.15 · 22d | −0.042R · beats 50% | +0.102R |
| Bear | 24 | −0.692R | −3.25 | −3.17 · 11d | −0.034R · beats 0% | +0.112R |
| All | 548 | −0.084R | −0.050R | +0.090R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 10.4 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 codeHide
from decimal import Decimal
from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate
class ThirdFridayPreExpiryDipLong:
name = "third_friday_pre_expiry_dip_long"
description = "Thursday-before-third-Friday dip >1.2 ATR below 5-day high, above 100-SMA; flat 1.5 ATR stop to survive expiry-day hedging noise"
def __init__(self, dip_atr: float = 1.2, stop_atr: float = 1.5, target_atr: float = 1.8, rr_floor: float = 1.6, sma_len: int = 100, atr_len: int = 14, high_lookback: int = 5, min_bars: int = 130) -> None:
self._dip_atr = Decimal(str(dip_atr))
self._stop_atr = Decimal(str(stop_atr))
self._target_atr = Decimal(str(target_atr))
self._rr_floor = Decimal(str(rr_floor))
self._sma_len = sma_len
self._atr_len = atr_len
self._hl = high_lookback
self._min_bars = min_bars
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < max(self._min_bars, self._sma_len + 5):
return None
cur = bars[-1]
ts = cur.timestamp
# Thursday whose following day (Friday) falls on day 15-21 = third Friday
if ts.weekday() != 3:
return None
if not (14 <= ts.day <= 20):
return None
sma_val = sma([b.close for b in bars], self._sma_len)
if sma_val is None:
return None
sma_dec = Decimal(str(sma_val))
entry = cur.close
if entry <= 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))
hi5 = max(b.high for b in bars[-self._hl:])
dip = hi5 - entry
if dip <= self._dip_atr * atr_dec:
return None
# Operator stop: flat 1.5 ATR, wide enough to ride through Friday expiry
stop = entry - self._stop_atr * atr_dec
risk = entry - stop
if risk <= 0:
return None
# Target: operator 1.8 ATR, or the pre-dip 5-day high (the reversion anchor) if further;
# lifted to the platform R:R floor because 1.8/1.5 = 1.2R would be dropped downstream.
target = max(entry + self._target_atr * atr_dec, hi5)
if (target - entry) / risk < self._rr_floor:
target = entry + self._rr_floor * risk
if not (stop < entry < target):
return None
rr = ((target - entry) / risk).quantize(Decimal("0.01"))
if rr <= Decimal("1.5"):
return None
# Strength components
dip_ratio = float(dip / atr_dec)
depth_score = min(35, max(0, int((dip_ratio - 1.2) / 1.3 * 35)))
above_pct = float((entry - sma_dec) / sma_dec)
trend_score = min(30, max(0, int(above_pct / 0.10 * 30)))
rng = cur.high - cur.low
close_pos = float((cur.close - cur.low) / rng) if rng > 0 else 0.5
close_score = min(20, max(0, int(close_pos * 20)))
avg_vol = sum(float(b.volume) for b in bars[-21:-1]) / 20.0
vol_ratio = float(cur.volume) / max(avg_vol, 1.0)
# Flow-driven (not informational) dips should NOT show a volume spike
vol_score = 15 if vol_ratio <= 1.0 else max(0, int(15 - (vol_ratio - 1.0) * 15))
strength = max(0, min(100, depth_score + trend_score + close_score + vol_score))
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr,
signal_strength=strength,
thesis=(
f"Pre-expiry Thursday dip of {dip_ratio:.2f} ATR below the {self._hl}-day high, "
f"held {above_pct*100:.1f}% above the {self._sma_len}-SMA. The dip is likely short-gamma hedging flow "
f"that unwinds after third-Friday expiry. Stop {self._stop_atr} ATR survives expiry noise; "
f"target is the pre-dip high, 1.8 ATR, or the R:R floor, whichever is furthest."
),
)
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.
Describe it in plain words and get the same honest test in about a minute.