Skip to content
The Casebook · A classic strategy

Three lower closes, exit on the first up close

Buy after three consecutive lower closes and exit after the first up close.
VerdictTested Nov 22, 2026

Loses money

After costs it lost money on the stocks that decide the verdict.

  • −0.064R a trade after costs on the laggard stocks.
Trades on the laggards
8,247

42 large US stocks, 15 years

Per trade, after costs
−0.064R

Before costs +0.010R

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

On the laggard stocks, 8247 trades averaged −0.064R after costs, against 0.010R before costs, so trading costs account for the loss. The winners also lost, at −0.018R per trade. Every market type was negative: bull −0.067R, flat −0.078R, bear −0.025R. Random dates did about as poorly, so the verdict is that it loses money.

How it was tested

Buy at the close after three consecutive lower closes and exit at the first close that is higher than the prior close.

Side
Long
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
Choices made where the idea was open
  • Three consecutive lower closes means each of the last three closes is strictly below the one before it.
  • Entry is at the close of the third lower close day.
  • Stop and target were not specified; chose wide protective 3 x ATR(14) stop and 6 x ATR(14) target so the up-close exit is the main exit.
  • Time limit not specified; chose 10 trading days as a backstop.
  • First up close means a close strictly above the prior day's 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.

MarketTradesPer tradet, by tradet, by dayRandom datesWinners, per trade
Bull5,534−0.067R−15.31−11.78 · 1,871d−0.076R · beats 85%−0.019R
Flat1,751−0.078R−8.23−5.22 · 472d−0.059R · beats 10%−0.024R
Bear962−0.025R−2.17−0.09 · 212d−0.041R · beats 75%+0.002R
All8,247−0.064R−0.069R−0.018R

R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 13.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 code
from decimal import Decimal

from core.domain import Bar
from strategies.indicators import atr
from scanners.base import Candidate


class ThreeLowerClosesBuyFirstUpCloseExit:
    name = "three_lower_closes_buy_first_up_close_exit"
    description = "Long after three consecutive lower closes; exit at first close above prior close."

    def __init__(self, atr_period: int = 14, stop_mult: float = 3.0, target_mult: float = 6.0) -> None:
        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:
        if len(bars) < self._atr_period + 5:
            return None
        c0 = bars[-1].close
        c1 = bars[-2].close
        c2 = bars[-3].close
        c3 = bars[-4].close
        if not (c0 < c1 and c1 < c2 and c2 < c3):
            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 = c0
        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 <= 0:
            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="Three consecutive lower closes; buying the short-term mean-reversion bounce.",
        )

    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.

Have an idea of your own?

Describe it in plain words and get the same honest test in about a minute.

Run the Gauntlet