Short narrow-range pause at 20-bar low below the 200-day
Require close below the 200-SMA and within 2% of the 20-bar low, and each of the last 4 ranges (high-low) smaller than the 20-bar average range with the last 4 ranges not increasing. Today close is below the prior close. Enter short at the latest close; stop 1.2 x ATR(14) above; target 2.5 x ATR(14) below.
Short sellers press positions in persistent downtrends; a pause of four narrow-range days at the 20-day low is not accumulation but short-seller position rebuilding while longs wait for a bounce to exit. Trapped longs from the previous bounce supply exit liquidity once price ticks down again, and the pause reduces the volatility denominator so the stop can be tight relative to expected drift.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.238R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs −0.126R
By trade and by day, sized to 362 rules
What the numbers say
Across 476 trades on the laggard stocks, the average result was −0.238R per trade after costs (−0.126R before costs). The 20 winners also lost, at −0.195R. All three market types were negative: bull −0.214R, flat −0.220R, bear −0.521R. In bull and bear markets it beat only 15% and 5% of random-date draws.
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 | 356 | −0.214R | −2.73 | −2.86 · 295d | −0.149R · beats 15% | −0.172R |
| Flat | 84 | −0.220R | −1.52 | −1.13 · 74d | −0.211R · beats 40% | −0.152R |
| Bear | 36 | −0.521R | −2.87 | −2.25 · 30d | −0.251R · beats 5% | −0.431R |
| All | 476 | −0.238R | −0.167R | −0.195R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 12.2 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, ema
from scanners.base import Candidate
class NarrowingRangeDowntrendPauseShort:
name = "narrowing_range_downtrend_pause_short"
description = "Short a sub-200-SMA stock after a 4-day narrow, contracting-range pause within 2% of its 20-day low, triggered by a down close."
def __init__(self, pause_len: int = 4, avg_len: int = 20, low_len: int = 20, near_low_pct: float = 0.02, stop_atr: float = 1.2, target_atr: float = 2.5, pause_high_buffer_atr: float = 0.1) -> None:
self._pause_len = pause_len
self._avg_len = avg_len
self._low_len = low_len
self._near_low_pct = near_low_pct
self._stop_atr = stop_atr
self._target_atr = target_atr
self._buf = pause_high_buffer_atr
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
n = self._pause_len
need = max(220, self._avg_len + n + 2, self._low_len + 2)
if len(bars) < need:
return None
cur = bars[-1]
prev = bars[-2]
closes = [float(b.close) for b in bars]
c = float(cur.close)
# Trend: below 200-SMA
s200 = sma(closes, 200)
if s200 is None or c >= s200:
return None
# Trigger: down close today
if cur.close >= prev.close:
return None
# Near the 20-bar low
low20 = min(float(b.low) for b in bars[-self._low_len:])
if low20 <= 0 or c > low20 * (1.0 + self._near_low_pct):
return None
# Compression: each of last n ranges below avg range of the prior window
pause = bars[-n:]
ranges = [float(b.high) - float(b.low) for b in pause]
ref = bars[-(self._avg_len + n):-n]
avg_rng = sum(float(b.high) - float(b.low) for b in ref) / len(ref)
if avg_rng <= 0:
return None
if any(r >= avg_rng for r in ranges):
return None
# Relaxed non-increasing rule: the last range is no wider than the first
if ranges[-1] > ranges[0]:
return None
atr_val = atr(bars, 14)
if atr_val is None or atr_val <= 0:
return None
a = float(atr_val)
entry = cur.close
pause_high = max(float(b.high) for b in pause)
stop_f = max(c + self._stop_atr * a, pause_high + self._buf * a)
target_f = c - self._target_atr * a
if target_f <= 0:
return None
stop = Decimal(str(round(stop_f, 4)))
target = Decimal(str(round(target_f, 4)))
if 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 scoring
comp = (sum(ranges) / n) / avg_rng
comp_score = max(0.0, min(35.0, (1.0 - comp) * 70.0))
dist = (c - low20) / low20
prox_score = max(0.0, min(20.0, (1.0 - dist / self._near_low_pct) * 20.0))
trend_score = 0.0
e50 = ema(closes, 50)
if e50 is not None:
if c < e50:
trend_score += 10.0
if e50 < s200:
trend_score += 10.0
hl = float(cur.high) - float(cur.low)
close_pos = (float(cur.high) - c) / hl if hl > 0 else 0.5
close_score = max(0.0, min(15.0, close_pos * 15.0))
mono = sum(1 for i in range(1, n) if ranges[i] <= ranges[i - 1] * 1.05)
mono_score = 10.0 * mono / max(1, n - 1)
strength = int(max(0, min(100, comp_score + prox_score + trend_score + close_score + mono_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"Below the 200-SMA and within {dist*100:.1f}% of the 20-day low after {n} narrow, contracting days "
f"(avg {comp:.2f}x normal range); the down close signals shorts pressing while trapped longs supply exit liquidity."
),
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.