Short stocks at 52-week highs in the first days of a month
Fire only on trading days 1 to 3 of a month. Require the high within the last 3 bars to be at or above the 252-bar high, today's close below the prior close and in the lower half of the day's range, and RSI-free: close at least 5% above the 50-SMA. Enter short at the latest close; stop 1.5 x ATR(14) above; target 2.5 x ATR(14) below.
At the start of a month index-fund and 401(k) inflows pour into the highest-weight, highest-priced names, pushing stocks near 52-week highs to short-term extremes. When a stock at the 252-day high fails to hold gains (closes below the prior close and in the lower half of its range) in the first three sessions of a month, the compelled inflow is spent and anchored sellers who bought lower take profit, producing a pullback over days.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.169R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs −0.074R
By trade and by day, sized to 362 rules
What the numbers say
Across 163 laggard trades the result was −0.169R a trade after costs, and −0.074R before costs, so costs add to a loss that was already there. Winners also lost, at −0.215R. In bull markets the result was −0.085R, and flat markets were worse at −0.521R.
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.
| Market | Trades | Per trade | t, by trade | t, by day | Random dates | Winners, per trade |
|---|---|---|---|---|---|---|
| Bull | 136 | −0.085R | −0.70 | −0.49 · 109d | −0.153R · beats 80% | −0.217R |
| Flat | 24 | −0.521R | −2.27 | −2.89 · 19d | −0.260R · beats 20% | −0.206R |
| Bear | 3 | −1.158R | −22.70 | −22.70 · 3d | −0.363R · beats 10% | −0.085R |
| All | 163 | −0.169R | −0.173R | −0.215R |
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 codeHide
from decimal import Decimal
from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate
class High52MonthStartFailedFollowThroughShort:
name = "high52_month_start_failed_follow_through_short"
description = "Short a fresh 252-bar high, extended >=5% over the 50-SMA, that fails (down close, lower-half range) on trading days 1-3 of a month."
def __init__(self, high_lookback: int = 252, recent_bars: int = 3, max_month_day: int = 3, min_ext_pct: float = 0.05, stop_atr: float = 1.5, target_atr: float = 2.5, atr_period: int = 14) -> None:
self._high_lookback = high_lookback
self._recent = recent_bars
self._max_day = max_month_day
self._min_ext = Decimal(str(min_ext_pct))
self._stop_atr = Decimal(str(stop_atr))
self._target_atr = Decimal(str(target_atr))
self._atr_period = atr_period
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < max(self._high_lookback, 220) + 5:
return None
cur = bars[-1]
prev = bars[-2]
# Trading day of month: count trailing bars in the same calendar month
ts = cur.timestamp
day_n = 0
for b in reversed(bars):
t = b.timestamp
if t.year == ts.year and t.month == ts.month:
day_n += 1
if day_n > self._max_day:
return None
else:
break
if day_n < 1 or day_n > self._max_day:
return None
# Fresh 252-bar high printed within the last N bars
window = bars[-self._high_lookback:]
high_252 = max(b.high for b in window)
recent_high = max(b.high for b in bars[-self._recent:])
if recent_high < high_252:
return None
# Failed follow-through: down close, lower half of range
if cur.close >= prev.close:
return None
rng = cur.high - cur.low
if rng <= 0:
return None
close_pos = (cur.close - cur.low) / rng
if close_pos >= Decimal("0.5"):
return None
# Extension: close >= 5% above 50-SMA
closes = [b.close for b in bars]
sma50 = sma(closes, 50)
if sma50 is None:
return None
sma50_d = Decimal(str(sma50))
if sma50_d <= 0:
return None
ext = (cur.close - sma50_d) / sma50_d
if ext < self._min_ext:
return None
atr_val = atr(bars, self._atr_period)
if atr_val is None or atr_val <= 0:
return None
atr_d = Decimal(str(atr_val))
entry = cur.close
stop = entry + self._stop_atr * atr_d
target = entry - self._target_atr * atr_d
if target <= 0 or not (target < entry < stop):
return None
risk = stop - entry
reward = entry - target
if risk <= 0:
return None
rr = reward / risk
if rr < Decimal("1.5"):
return None
# Strength: extension, rejection close, give-back depth, volume
ext_f = float(ext)
ext_score = min(35, max(0, int((ext_f - 0.05) / 0.15 * 35) + 10))
close_score = min(25, max(0, int((0.5 - float(close_pos)) / 0.5 * 25)))
giveback = float((recent_high - cur.close) / atr_d)
give_score = min(20, max(0, int(giveback / 2.0 * 20)))
vols = [float(b.volume) for b in bars[-21:-1]]
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) / 1.2 * 20)))
strength = max(0, min(100, ext_score + close_score + give_score + vol_score))
thesis = (
f"Trading day {day_n} of month: 252-bar high set in last {self._recent} bars, "
f"close {ext_f * 100:.1f}% above 50-SMA, then a down close in the lower half of the range "
f"(close pos {float(close_pos):.2f}, vol {vol_ratio:.2f}x). Thesis: exhaustion at highs, "
f"trapped late buyers and profit-taking drive a pullback; month-start is a timing filter only."
)
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.
Describe it in plain words and get the same honest test in about a minute.