Skip to content
The Casebook · A classic strategy

Buy after a close above the high of an outside reversal day

Buy when the stock closes above the previous day's high after an outside reversal day.
VerdictTested Nov 22, 2026

Killed by costs

There is something there before trading costs; after them, too little is left to count (under 0.04R a trade).

  • +0.075R a trade before costs, −0.034R after the spread and the selection haircut.
Trades on the laggards
1,826

42 large US stocks, 15 years

Per trade, after costs
−0.034R

Before costs +0.075R

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

Across 1826 laggard trades the idea made +0.075R before costs but −0.034R after costs, so costs erase the edge. Bull markets came out at −0.047R and flat markets at −0.152R, while bear markets showed +0.303R (t 2.96). The winners group made +0.053R.

How it was tested

Go long at the close when the stock closes above the prior day's high on the day after a bullish outside reversal day.

Side
Long
Time limit
Exit at the close after 15 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
  • 'Outside reversal day' = outside day (higher high and lower low than the prior day) that closes up, above the prior close
  • 'Previous day's high' = the high of the outside reversal day, since the buy trigger follows that day
  • Signal allowed up to 3 trading days after the reversal day, first close above its high only
  • Stop placed at the outside day's low (natural invalidation); fallback of 2 x ATR(14) if degenerate
  • Target chosen as 2R since the idea named none
  • Max hold of 15 trading days chosen since the idea named none

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,346−0.047R−1.27−1.59 · 891d−0.059R · beats 55%+0.019R
Flat318−0.152R−2.12−2.16 · 211d−0.009R · beats 5%+0.099R
Bear162+0.303R2.961.72 · 87d+0.054R · beats 95%+0.261R
All1,826−0.034R−0.040R+0.053R

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 code
from decimal import Decimal

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


class OutsideReversalFollowthroughLong:
    name = "outside_reversal_followthrough_long"
    description = "Long at close of first close above a bullish outside reversal day's high, within 1-3 days after it"

    def __init__(self, max_wait_days: int = 3, atr_period: int = 14, atr_fallback_mult: float = 2.0, target_r: float = 2.0) -> None:
        self._max_wait = max_wait_days
        self._atr_period = atr_period
        self._atr_fallback_mult = atr_fallback_mult
        self._target_r = target_r

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < 30:
            return None
        i = len(bars) - 1
        cur = bars[i]
        entry = cur.close

        found_k = None
        for k in range(1, self._max_wait + 1):
            r = i - k
            if r < 1:
                break
            rb = bars[r]
            pb = bars[r - 1]
            if not (rb.high > pb.high and rb.low < pb.low and rb.close > pb.close):
                continue
            # no earlier close above high[R] between R+1 and S-1
            if any(bars[j].close > rb.high for j in range(r + 1, i)):
                continue
            if cur.close > rb.high:
                found_k = k
                break
        if found_k is None:
            return None

        rb = bars[i - found_k]
        stop = rb.low
        if stop >= entry:
            atr_val = atr(bars, self._atr_period)
            if atr_val is None or atr_val <= 0:
                return None
            stop = entry - Decimal(str(self._atr_fallback_mult)) * Decimal(str(atr_val))
        risk = entry - stop
        if risk <= 0:
            return None
        target = entry + Decimal(str(self._target_r)) * risk
        rr = (target - entry) / risk
        if rr < Decimal("1.5"):
            return None

        # signal strength components
        prior = bars[-21:-1]
        avg_vol = float(sum(float(b.volume) for b in prior)) / max(len(prior), 1)
        vol_ratio = float(cur.volume) / max(avg_vol, 1.0)
        vol_score = min(30, max(0, int((vol_ratio - 1.0) * 30)))
        clear_frac = float((entry - rb.high) / risk)
        clear_score = min(25, max(0, int(clear_frac * 50)))
        rng = rb.high - rb.low
        close_pos = float((rb.close - rb.low) / max(rng, Decimal("0.01")))
        rev_score = min(25, max(0, int(close_pos * 25)))
        recency_score = {1: 20, 2: 13, 3: 7}.get(found_k, 0)
        strength = max(0, min(100, vol_score + clear_score + rev_score + recency_score))

        return Candidate(
            ticker=ticker,
            side="buy",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=strength,
            thesis=f"First close above the high of a bullish outside reversal day {found_k} day(s) earlier; stop at reversal low, target 2R.",
        )

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
Buy after a close above the high of an outside reversal day: Killed by costs · EdgeProven