Short after four up days, cover on first down close
Short after 4 consecutive up days and cover on the first down close.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.067R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs +0.011R
By trade and by day, sized to a first try
What the numbers say
On the laggard stocks this made −0.067R a trade after costs over 4990 trades, versus 0.011R before costs. It was negative in bull (−0.072R), flat (−0.051R) and bear (−0.043R) markets, and on winners too (−0.075R). The verdict follows from the negative result after costs.
How it was tested
Short at the close after four consecutive higher closes and cover at the first close lower than the prior close.
- Side
- Short
- Its own exit
- Cover at the close of the first day after entry where close < previous day's close (first down close)., checked at each close
- 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.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
- An 'up day' means the close is above the prior day's close
- The signal needs exactly the latest 4 closes to each exceed the prior close; longer streaks also qualify on any day they satisfy this
- Cover at the first down close is the idea's own exit, so it goes in exit_rule
- Stop (3 x ATR(14)) and target (6 x ATR(14)) are wide protective choices since the idea names none
- Time limit set to the 30-day maximum since the idea names no holding limit
- A close equal to the prior close is neither up nor down
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 | 3,818 | −0.072R | −12.86 | −9.57 · 1,593d | −0.088R · beats 95% | −0.075R |
| Flat | 803 | −0.051R | −4.53 | −4.92 · 344d | −0.093R · beats 100% | −0.109R |
| Bear | 369 | −0.043R | −2.60 | −1.91 · 139d | −0.069R · beats 90% | −0.008R |
| All | 4,990 | −0.067R | −0.087R | −0.075R |
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.8 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 ShortAfterFourUpClosesCoverFirstDown:
name = "short_after_four_up_closes_cover_first_down"
description = "Short after four consecutive higher closes; cover at the first lower close."
def __init__(self, streak: int = 4, atr_period: int = 14, stop_mult: float = 3.0, target_mult: float = 6.0) -> None:
self._streak = streak
self._atr_period = atr_period
self._stop_mult = stop_mult
self._target_mult = target_mult
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
need = max(self._streak + 1, self._atr_period + 1)
if len(bars) < need:
return None
for i in range(1, self._streak + 1):
if not (bars[-i].close > bars[-i - 1].close):
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 = bars[-1].close
stop = entry + Decimal(str(self._stop_mult)) * atr_dec
target = entry - Decimal(str(self._target_mult)) * atr_dec
if not (target < entry < stop):
return None
risk = stop - entry
reward = entry - target
rr = reward / risk
return Candidate(
ticker=ticker,
side="sell",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=50,
thesis=f"Four consecutive higher closes; short at close, cover at first down close.",
)
def exit_now(self, ticker: str, bars: list[Bar], entry: Decimal, side: str, bars_held: int) -> bool:
if bars_held < 1 or len(bars) < 2:
return False
return bars[-1].close < bars[-2].close
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.