Short after 5 up days and a weak close in the day's range
Short a stock after it rises 5 days in a row and closes in the bottom quarter of its daily range.
Killed by costs
There is something there before trading costs; after them, too little is left to count (under 0.04R a trade).
- +0.081R a trade before costs, −0.005R after the spread and the selection haircut.
42 large US stocks, 15 years
Before costs +0.081R
By trade and by day, sized to a first try
What the numbers say
Across 120 laggard trades the idea averaged +0.081R before costs and −0.005R after the spread and the selection haircut. Bull (0.025R, t 0.22) and bear (0.119R, t 0.44) fell short of the 2.01 bar, and flat was −0.252R. The 20 winners averaged −0.161R. After costs, the edge is gone.
How it was tested
Short a stock at the close when it has closed higher than the prior close for 5 consecutive days and today's close is in the bottom quarter of its daily range.
- Side
- Short
- Time limit
- Exit at the close after 10 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
- 'Rises 5 days in a row' = 5 consecutive closes each higher than the previous day's close, with the 5th being the signal day
- 'Bottom quarter of its daily range' = close within the lowest 25% of (high - low) for the signal day
- No stop or target was given, so stop = 2 x ATR(14) above entry and target = 4 x ATR(14) below entry
- No holding period was given, so the time limit is 10 trading days with exit at the close
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 | 87 | +0.025R | 0.22 | 0.30 · 78d | −0.108R · beats 90% | −0.137R |
| Flat | 18 | −0.252R | −1.19 | −0.62 · 13d | −0.194R · beats 35% | −0.175R |
| Bear | 15 | +0.119R | 0.44 | 0.55 · 10d | −0.117R · beats 90% | −0.429R |
| All | 120 | −0.005R | −0.122R | −0.161R |
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.9 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 ShortAfter5UpDaysWeakClose:
name = "short_after_5_up_days_weak_close"
description = "Short at close after 5 consecutive higher closes with a close in the bottom quarter of the day's range."
def __init__(self, streak_days: int = 5, close_pos_max: float = 0.25, atr_period: int = 14, stop_atr_mult: float = 2.0, target_atr_mult: float = 4.0) -> None:
self._streak = streak_days
self._pos_max = close_pos_max
self._atr_period = atr_period
self._stop_mult = stop_atr_mult
self._target_mult = target_atr_mult
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
n = self._streak
if len(bars) < max(n + 1, self._atr_period + 1, 21):
return None
current = bars[-1]
rng = current.high - current.low
if rng <= 0:
return None
# five consecutive higher closes, including today
for i in range(n):
if not (bars[-1 - i].close > bars[-2 - i].close):
return None
close_pos = (current.close - current.low) / rng
if close_pos > Decimal(str(self._pos_max)):
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))
entry = current.close
stop = entry + Decimal(str(self._stop_mult)) * atr_dec
target = entry - Decimal(str(self._target_mult)) * atr_dec
if not (target < entry < stop) or target <= 0:
return None
risk = stop - entry
rr = (entry - target) / risk
if rr < Decimal("1.5"):
return None
# signal strength: run size in ATRs, weakness of close, volume expansion
gain = current.close - bars[-1 - n].close
gain_atr = float(gain / atr_dec)
run_score = min(40, max(0, int(gain_atr * 10)))
weak = (float(self._pos_max) - float(close_pos)) / max(float(self._pos_max), 1e-9)
weak_score = min(30, max(0, int(weak * 30)))
prior = bars[-21:-1]
avg_vol = sum(b.volume for b in prior) / len(prior)
vol_ratio = float(current.volume) / max(float(avg_vol), 1.0)
vol_score = min(30, max(0, int((vol_ratio - 0.5) * 20)))
strength = max(0, min(100, run_score + weak_score + vol_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"Five straight higher closes ending with a weak close (bottom {int(self._pos_max * 100)}% of range) signals buying exhaustion; short with 2x ATR stop and 4x 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.