Short the retest after a 252-day low bounce
Entry at latest close if a 252-day low occurred 5 to 12 bars ago, price bounced at least 1.5*ATR(14) above that low and has now closed back within 0.6*ATR(14) of that low, with latest close below its open. Stop = highest high since the low plus 0.2*ATR(14). Target = entry minus 2.5*ATR(14).
Stocks that make a 252-day low, bounce for 3 to 6 days, then close back near that bounce's start are met by trapped buyers who capitulate on the retest. Their forced exit and breakout-seller stop orders below the low produce continuation in the decline. Pure OHLC pattern with clear structure.
Killed by costs
There is something there before trading costs; after them, too little is left to count (under 0.04R a trade).
- +0.089R a trade before costs, +0.016R after the spread and the selection haircut.
42 large US stocks, 15 years
Before costs +0.089R
By trade and by day, sized to 362 rules
What the numbers say
Over 137 laggard trades the idea made +0.089R before costs but only +0.016R after, so costs consumed most of the edge. In bear markets it lost −0.534R a trade (t −3.16), beating 0.0% of random dates; bulls showed +0.299R. The winners lost −0.352R.
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 | 65 | +0.299R | 2.04 | 2.09 · 58d | −0.101R · beats 100% | −0.339R |
| Flat | 35 | +0.072R | 0.36 | 0.26 · 29d | −0.047R · beats 60% | −0.331R |
| Bear | 37 | −0.534R | −3.16 | −3.25 · 30d | −0.126R · beats 0% | −0.367R |
| All | 137 | +0.016R | −0.094R | −0.352R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 8.7 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 FailedLowBounceShort:
name = "failed_52wk_low_bounce_short"
description = "Short a failed bounce that retests a recent 252-day low on a down close"
def __init__(self, low_lookback: int = 252, min_age: int = 5, max_age: int = 12,
min_bounce_atr: float = 1.5, retest_atr: float = 0.6,
stop_buf_atr: float = 0.2, target_atr: float = 2.5,
min_rr: float = 1.0) -> None:
self._lb = low_lookback
self._min_age = min_age
self._max_age = max_age
self._bounce = min_bounce_atr
self._retest = retest_atr
self._buf = stop_buf_atr
self._tgt = target_atr
self._min_rr = min_rr
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
n = len(bars)
if n < self._lb + self._max_age + 5:
return None
cur = bars[-1]
if not (cur.close < cur.open):
return None
atr_val = atr(bars, 14)
if atr_val is None or atr_val <= 0:
return None
a = Decimal(str(atr_val))
last = n - 1
# Find most recent bar j (min_age..max_age bars ago) whose low is the
# lowest low of the 252 bars ending at j and not undercut by any bar
# between j and today (today excluded: it may break the low).
j_found = None
for age in range(self._min_age, self._max_age + 1):
j = last - age
start = j - self._lb + 1
if start < 0:
continue
lj = bars[j].low
window_low = min(b.low for b in bars[start:last])
if lj <= window_low:
j_found = j
break
if j_found is None:
return None
j = j_found
low52 = bars[j].low
between = bars[j + 1:last]
if len(between) < 2:
return None
peak = max(b.high for b in between)
peak_idx = j + 1 + max(range(len(between)), key=lambda k: between[k].high)
if peak_idx < j + 2:
return None
bounce = peak - low52
if bounce < Decimal(str(self._bounce)) * a:
return None
# Retest: close back within retest_atr of the low (either side)
if abs(cur.close - low52) > Decimal(str(self._retest)) * a:
return None
entry = cur.close
hi_since = max(peak, cur.high)
stop = hi_since + Decimal(str(self._buf)) * a
target = entry - Decimal(str(self._tgt)) * a
if target <= 0:
return None
risk = stop - entry
if risk <= 0:
return None
rr = (entry - target) / risk
if rr < Decimal(str(self._min_rr)):
return None
# Strength components
bounce_atr = float(bounce / a)
bounce_score = min(30, max(0, int((bounce_atr - self._bounce) * 15 + 10)))
rng = cur.high - cur.low
if rng <= 0:
rng = Decimal("0.01")
close_pos = float((cur.high - cur.close) / rng)
close_score = min(25, max(0, int(close_pos * 25)))
vols = [b.volume for b in bars[-21:-1]]
avg_vol = sum(vols) / max(len(vols), 1)
vr = float(cur.volume) / max(float(avg_vol), 1.0)
vol_score = min(25, max(0, int((vr - 0.8) * 25)))
closes = [b.close for b in bars]
s200 = sma(closes, 200)
s50 = sma(closes, 50)
trend_score = 0
if s200 is not None and float(entry) < float(s200):
trend_score += 10
if s50 is not None and s200 is not None and float(s50) < float(s200):
trend_score += 10
strength = max(0, min(100, bounce_score + close_score + vol_score + trend_score))
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"252-day low {last - j} bars ago at {low52}; bounce of {bounce_atr:.2f} ATR failed "
f"and price closed red back near the low. Trapped bounce buyers and breakdown stops "
f"below the yearly low should fuel continuation."),
)
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.