Buy after four down closes, sell on the first up close
Buy after 4 consecutive down days and sell on the first up close.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.053R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs +0.021R
By trade and by day, sized to a first try
What the numbers say
Across 3913 trades on the laggard stocks the result was −0.053R a trade after costs, versus 0.021R before costs, so trading costs account for the loss. Bull markets averaged −0.055R (t −8.68) and flat markets −0.069R; bear markets came out at −0.013R. Winners averaged −0.006R.
How it was tested
Buy at the close after four consecutive lower closes and exit at the first close higher than the prior close.
- Side
- Long
- Its own exit
- At each close after entry, exit at that close if it is higher than the previous day's close (first up 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
- A down day means a close lower than the previous day's close
- Four consecutive down days means exactly the last four closes each lower than the one before; a longer streak also qualifies
- Entry is at the close of the fourth down day
- First up close means close higher than the prior close, checked starting the day after entry
- Stop and target are wide protective levels (3 x ATR(14) and 6 x ATR(14)) since the idea's real exit is the up close
- Time limit set to the 30-bar maximum as a backstop
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 | 2,538 | −0.055R | −8.68 | −7.24 · 1,257d | −0.075R · beats 100% | −0.009R |
| Flat | 884 | −0.069R | −5.17 | −3.77 · 347d | −0.062R · beats 45% | −0.013R |
| Bear | 491 | −0.013R | −0.74 | 0.46 · 143d | −0.041R · beats 90% | +0.020R |
| All | 3,913 | −0.053R | −0.068R | −0.006R |
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 FourDownClosesExitFirstUpClose:
name = "four_down_closes_exit_first_up_close"
description = "Long after four consecutive lower closes; exit at the first up close."
def __init__(self, down_days: int = 4, atr_period: int = 14, stop_mult: float = 3.0, target_mult: float = 6.0) -> None:
self._down_days = down_days
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._down_days + 1, self._atr_period + 1)
if len(bars) < need:
return None
for i in range(1, self._down_days + 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
risk = entry - stop
if risk <= 0 or stop >= entry or target <= entry:
return None
rr = (target - entry) / risk
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=50,
thesis=f"Closed lower {self._down_days} days in a row; buying the close for a bounce, exit on first up close.",
)
def exit_now(self, ticker: str, bars: list[Bar], entry: Decimal, side: str, bars_held: int) -> bool:
if 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.