Short a 30-bar support break below the 200-day
Identify a 30-bar low that held (touched at least twice within 1.5%) not including the last 3 bars. Require a close below it by at least 1.5%, the prior close also below it, and volume on the break day >= 1.3x the 20-bar average. Close below 200-SMA. Enter short at the latest close; stop at the shelf level plus 0.5 ATR(14); target 3 x ATR(14) below.
When a stock in a downtrend gaps below a multi-week support shelf and the close stays below it for two sessions on rising volume, long holders' stops and margin liquidations cascade under the shelf. The documented disposition effect means holders sell once prices dip under their breakeven and stop orders cluster at round and shelf levels, producing drift in the next weeks before supply is exhausted.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.279R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs −0.193R
By trade and by day, sized to 362 rules
What the numbers say
On the 22 laggard stocks, 107 trades averaged −0.279R after costs (−0.193R before). The 20 winners did worse at −0.526R. Bull markets gave −0.314R over 59 trades and flat markets −0.444R over 33. Only bear markets were positive, at 0.218R, but over just 15 trades with a t of 0.48.
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 | 59 | −0.314R | −1.78 | −1.57 · 57d | −0.107R · beats 5% | −0.690R |
| Flat | 33 | −0.444R | −1.96 | −1.93 · 30d | −0.123R · beats 10% | −0.823R |
| Bear | 15 | +0.218R | 0.48 | 0.54 · 13d | −0.248R · beats 90% | +0.081R |
| All | 107 | −0.279R | −0.132R | −0.526R |
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.1 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
import math
from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate
class GapAndHoldStopCascadeShort:
name = "gap_and_hold_stop_cascade_short"
description = "Short a downtrending stock after two closes below a multi-touch 30-bar support shelf on rising volume."
def __init__(self, shelf_lookback: int = 30, exclude_recent: int = 3, touch_tol: float = 0.015,
min_touches: int = 2, touch_gap: int = 3, break_pct: float = 0.015,
vol_mult: float = 1.3, vol_lookback: int = 20, atr_period: int = 14,
stop_atr: float = 0.5, target_atr: float = 3.0, min_rr: float = 1.5) -> None:
self._lb = shelf_lookback
self._ex = exclude_recent
self._tol = touch_tol
self._min_touches = min_touches
self._touch_gap = touch_gap
self._break_pct = break_pct
self._vol_mult = vol_mult
self._vol_lb = vol_lookback
self._atr_p = atr_period
self._stop_atr = stop_atr
self._target_atr = target_atr
self._min_rr = min_rr
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
n = len(bars)
if n < 220:
return None
cur = bars[-1]
prev = bars[-2]
close = float(cur.close)
if close <= 0:
return None
closes = [float(b.close) for b in bars]
sma200 = sma(closes, 200)
if sma200 is None or close >= float(sma200):
return None
# Shelf window: 30 bars ending before the last 3 bars
window = bars[-(self._lb + self._ex):-self._ex]
if len(window) < self._lb:
return None
lows = [float(b.low) for b in window]
shelf = min(lows)
if shelf <= 0:
return None
# Count distinct touches within tolerance
touches = 0
last_idx = -1000
for i, lo in enumerate(lows):
if lo <= shelf * (1.0 + self._tol):
if i - last_idx >= self._touch_gap:
touches += 1
last_idx = i
if touches < self._min_touches:
return None
# Two-session hold below shelf; latest close at least break_pct below
if float(prev.close) >= shelf:
return None
if close > shelf * (1.0 - self._break_pct):
return None
# Fresh event: bar before the two-session hold still closed at/above shelf
if float(bars[-3].close) < shelf:
return None
# Break day = bars[-2] (first close below shelf)
break_idx = n - 2
vol_window = bars[break_idx - self._vol_lb:break_idx]
if len(vol_window) < self._vol_lb:
return None
avg_vol = sum(float(b.volume) for b in vol_window) / self._vol_lb
if avg_vol <= 0:
return None
break_vol = float(bars[break_idx].volume)
vol_ratio = break_vol / avg_vol
if vol_ratio < self._vol_mult:
return None
atr_val = atr(bars, self._atr_p)
if atr_val is None:
return None
a = float(atr_val)
if a <= 0 or math.isnan(a):
return None
entry = cur.close
stop = Decimal(str(round(shelf + self._stop_atr * a, 4)))
target = entry - Decimal(str(round(self._target_atr * a, 4)))
if target <= 0:
return None
if not (target < entry < stop):
return None
risk = stop - entry
reward = entry - target
if risk <= 0:
return None
rr = reward / risk
if rr < Decimal(str(self._min_rr)):
return None
# Scoring
vol_score = min(35.0, max(0.0, (vol_ratio - 1.0) * 35.0))
depth_atr = (shelf - close) / a
# Reward decisive but not exhausted breaks (sweet spot ~0.5-1.0 ATR)
if depth_atr <= 1.0:
depth_score = min(25.0, depth_atr * 25.0)
else:
depth_score = max(0.0, 25.0 - (depth_atr - 1.0) * 25.0)
rng = float(cur.high - cur.low)
close_pos = (float(cur.high) - close) / rng if rng > 0 else 0.5
close_score = max(0.0, min(15.0, close_pos * 15.0))
sma50 = sma(closes, 50)
trend_score = 0.0
if sma50 is not None and float(sma50) < float(sma200):
trend_score += 10.0
if sma50 is not None and close < float(sma50):
trend_score += 5.0
touch_score = min(10.0, (touches - 1) * 5.0)
strength = int(max(0, min(100, round(vol_score + depth_score + close_score + trend_score + touch_score))))
thesis = (
f"Two closes below a {touches}-touch {self._lb}-bar support shelf at {shelf:.2f} "
f"(latest {((shelf - close) / shelf) * 100:.1f}% below) on {vol_ratio:.1f}x break-day volume, "
f"under the 200-SMA: clustered stops/margin liquidations and disposition selling below breakeven "
f"should drive downside drift. Stop above shelf + {self._stop_atr} ATR."
)
return Candidate(
ticker=ticker,
side="sell",
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.
Describe it in plain words and get the same honest test in about a minute.