Skip to content
The Casebook · A classic strategy

Buy after 10 up days in the last 12

Buy when a stock has been up on 10 of the last 12 days.
VerdictTested Nov 22, 2026

Loses money

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

  • −0.093R a trade after costs on the laggard stocks.
Trades on the laggards
1,552

42 large US stocks, 15 years

Per trade, after costs
−0.093R

Before costs +0.001R

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

On 1552 laggard trades the idea averaged −0.093R after costs, against 0.0007588116958061752R before costs, so costs account for the loss. Bull markets gave −0.108R (t −3.64) and flat markets −0.104R. Only bear markets were positive, at 0.170R on 80 trades.

How it was tested

Buy a stock at the close when at least 10 of its last 12 daily closes were higher than the prior day's close, then hold with a bracket stop and target.

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
  • 'Up on a day' means close higher than the previous day's close
  • 'Last 12 days' includes the signal day itself
  • '10 of 12' means 10 or more up days
  • The idea names no stop or target, so a 2 x ATR(14) stop and a 4 x ATR(14) target were chosen
  • The idea names no holding period, so a 10 trading day time limit was chosen
  • Entry is at the close of the signal day

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
Bull1,228−0.108R−3.64−1.46 · 789d−0.046R · beats 0%−0.024R
Flat244−0.104R−1.57−1.78 · 166d−0.035R · beats 25%−0.047R
Bear80+0.170R1.762.00 · 56d+0.097R · beats 65%+0.118R
All1,552−0.093R−0.037R−0.019R

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.5 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 BuyAfter10Of12UpDays:
    name = "buy_after_10_of_12_up_days"
    description = "Long when at least 10 of last 12 closes were up days; 2x ATR stop, 4x ATR target."

    def __init__(self, window: int = 12, min_up: int = 10, atr_period: int = 14, stop_mult: float = 2.0, target_mult: float = 4.0) -> None:
        self._window = window
        self._min_up = min_up
        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._window + 1, self._atr_period + 1)
        if len(bars) < need:
            return None
        ups = 0
        for i in range(len(bars) - self._window, len(bars)):
            if bars[i].close > bars[i - 1].close:
                ups += 1
        if ups < self._min_up:
            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 <= 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=f"{ups} of last {self._window} closes were up days; momentum persistence long.",
        )

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