Buy a 5% pullback after a 30% three-month rise
Buy a stock that is up more than 30% over the last 3 months when it pulls back 5% from its high.
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.045R a trade), but no market clears t > 2.01 by trade and by day.
42 large US stocks, 15 years
Before costs +0.115R
By trade and by day, sized to a first try
What the numbers say
Across 165 laggard trades the result was +0.045R after costs (+0.115R before). No market cleared the t > 2.01 bar: bull was −0.027R (t −0.25), flat +0.325R (t 1.59 by trade, 1.12 by day), bear −0.094R on 3 trades. That is why it reads as indistinguishable from luck.
How it was tested
Buy a stock at the close when it is up more than 30% over the last 63 trading days and has closed at least 5% below its recent high.
- Side
- Long
- Time limit
- Exit at the close after 20 trading days, unless the stop, the target or its own exit comes first
- Bar to clear
- t > 2.01, by trade and by day, sized to a first try (one idea, tested once)
- Prices
- 15 years of daily bars through 2026-11-20; judged 2026-11-22
- 3 months = 63 trading days
- 'its high' = highest close over the last 63 trading days
- 'pulls back 5%' = close at least 5% below that high, counted on the first day it crosses
- Signal evaluated on closing prices, entry at the signal day's close
- No stop or target given: chose 2 x ATR(14) stop and a target at twice the risk
- No holding period given: chose 20 trading days as the time limit
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 | 128 | −0.027R | −0.25 | −0.26 · 117d | −0.021R · beats 45% | −0.006R |
| Flat | 34 | +0.325R | 1.59 | 1.12 · 27d | −0.035R · beats 100% | +0.832R |
| Bear | 3 | −0.094R | −0.15 | −0.15 · 3d | +0.136R · beats 45% | −0.347R |
| All | 165 | +0.045R | −0.021R | +0.096R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 4.0 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
from scanners.base import Candidate
class MomentumLeaderPullback:
name = "momentum_leader_5pct_pullback_long"
description = "Up >30% over 63 days and first close >=5% below the 63-day closing high; long at close with 2 ATR stop and 4 ATR target"
def __init__(self, lookback: int = 63, min_return: float = 0.30, pullback: float = 0.05, atr_period: int = 14, stop_mult: float = 2.0, target_mult: float = 4.0) -> None:
self._lookback = lookback
self._min_return = Decimal(str(min_return))
self._pullback = Decimal(str(pullback))
self._atr_period = atr_period
self._stop_mult = Decimal(str(stop_mult))
self._target_mult = Decimal(str(target_mult))
def _state(self, closes, idx):
n = self._lookback
if idx - n < 0:
return None
base = closes[idx - n]
if base <= 0:
return None
hi = max(closes[idx - n + 1: idx + 1])
mom = closes[idx] / base - Decimal(1)
ok = mom > self._min_return and closes[idx] <= (Decimal(1) - self._pullback) * hi
return ok, mom, hi
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < self._lookback + 2:
return None
closes = [b.close for b in bars]
last = len(bars) - 1
cur = self._state(closes, last)
prev = self._state(closes, last - 1)
if cur is None or prev is None:
return None
ok, mom, hi = cur
if not ok:
return None
if prev[0]:
return None
atr_val = atr(bars, self._atr_period)
if atr_val is None or atr_val <= 0:
return None
atr_dec = Decimal(str(atr_val))
current = bars[-1]
entry = current.close
stop = entry - self._stop_mult * atr_dec
target = entry + self._target_mult * atr_dec
if stop <= 0 or not (stop < entry < target):
return None
risk = entry - stop
rr = (target - entry) / risk
if rr < Decimal("1.5"):
return None
mom_score = min(40, max(0, int(float(mom - self._min_return) * 100)))
depth = float(Decimal(1) - entry / hi)
depth_score = min(30, max(0, int((depth - float(self._pullback)) * 300)))
rng = current.high - current.low
pos = float((current.close - current.low) / rng) if rng > 0 else 0.5
close_score = min(30, max(0, int(pos * 30)))
strength = max(0, min(100, mom_score + depth_score + close_score))
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=strength,
thesis=f"Up {float(mom) * 100:.0f}% over {self._lookback} days; first close {depth * 100:.1f}% below the {self._lookback}-day closing high. Momentum leader pullback, 2 ATR stop, 4 ATR target.",
)
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.