Skip to content
The Casebook · A classic strategy

Three up days in a row, each closing near its high

Buy three white soldiers: three up days in a row, each closing near its high.
VerdictTested Nov 22, 2026

Loses money

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

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

42 large US stocks, 15 years

Per trade, after costs
−0.076R

Before costs +0.015R

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

On the 22 laggard stocks the idea averaged −0.076R a trade after costs over 1168 trades, against 0.042R on today's winners. In bull markets it lost −0.113R (t −3.36) and beat only 5% of random-date draws; bear markets were positive at 0.249R across 82 trades. The overall laggard loss is why it reads as losing money.

How it was tested

Go long at the close after three consecutive up days that each close in the top of their daily range, with a volatility-based stop and a 2R 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
  • 'Near its high' = close in the top 25% of the day's high-low range
  • 'Up day' = close above both its own open and the previous close
  • Each of the three days must satisfy the condition; they must be consecutive trading days
  • Stop chosen as 2 x ATR(14) below entry since none was given
  • Target chosen at twice the risk (4 x ATR(14)) since none was given
  • Maximum hold of 10 trading days chosen since none was given

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
Bull884−0.113R−3.36−3.13 · 596d−0.062R · beats 5%+0.022R
Flat202−0.048R−0.70−1.11 · 122d−0.038R · beats 40%+0.217R
Bear82+0.249R2.323.08 · 47d+0.012R · beats 100%−0.159R
All1,168−0.076R−0.052R+0.042R

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.3 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 ThreeWhiteSoldiersLong:
    name = "three_white_soldiers_long"
    description = "Three consecutive up days closing in the top 25% of range; 2xATR stop, 4xATR target."

    def __init__(self, atr_period: int = 14, stop_mult: float = 2.0, target_mult: float = 4.0, top_frac: float = 0.75) -> None:
        self._atr_period = atr_period
        self._stop_mult = stop_mult
        self._target_mult = target_mult
        self._top_frac = top_frac

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < self._atr_period + 4:
            return None
        thr = Decimal(str(self._top_frac))
        for i in (-3, -2, -1):
            b = bars[i]
            prev = bars[i - 1]
            if not (b.close > b.open and b.close > prev.close):
                return None
            rng = b.high - b.low
            if rng <= 0:
                return None
            if (b.close - b.low) / rng < thr:
                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="Three consecutive up days each closing in the top 25% of the daily range.",
        )

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
Three up days in a row, each closing near its high: Loses money · EdgeProven