Skip to content
The Casebook · A classic strategy

Buy near the 1-year high after a pullback of at least 25%

Buy when a stock is back within 5% of its 1-year high after a pullback of at least 25% (a cup that is nearly complete).
VerdictTested Nov 22, 2026

Indistinguishable from luck

It looks positive, but not more than chance would produce at this many tries, or than the same plan on random dates.

  • Positive (+0.066R a trade), but no market clears t > 2.01 by trade and by day.
Trades on the laggards
92

42 large US stocks, 15 years

Per trade, after costs
+0.066R

Before costs +0.146R

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

On the 22 laggards, 92 trades averaged +0.066R after costs. Bull markets gave −0.058R (t −0.39) and bear markets −0.09R (t −0.21). Only the flat market, with 10 trades, reached +1.116R (t 2.80), too few to carry the result. No market cleared the 2.01 bar both by trade and by day.

How it was tested

Buy a stock the first day it closes within 5% of its 1-year high after having fallen at least 25% from a prior high within the past year.

Side
Long
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
Choices made where the idea was open
  • 1 year = 252 trading days
  • High and low use daily high and low prices, not closes
  • Within 5% of the high is tested on the close at or above 95% of the 1-year high
  • Pullback of at least 25% is measured from the 1-year high to the lowest low after it, within the same 252-bar window
  • Signal fires only on the first qualifying day, so a long stretch near the high is one trade
  • No stop or target was given, so 2.5 x ATR(14) stop and a target at twice the risk were chosen

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
Bull73−0.058R−0.39−0.31 · 66d+0.010R · beats 40%+0.171R
Flat10+1.116R2.802.80 · 10d−0.026R · beats 100%+0.171R
Bear9−0.090R−0.21−0.21 · 9d+0.013R · beats 30%−0.050R
All92+0.066R+0.007R+0.148R

R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 15.2 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 CupRecoveryNear1YHigh:
    name = "cup_recovery_near_1y_high"
    description = "Long on first close within 5% of the 252-bar high after a 25%+ drawdown from that high."

    def __init__(self, window: int = 252, near_pct: float = 0.05, drop_pct: float = 0.25,
                 atr_period: int = 14, stop_mult: float = 2.5, target_mult: float = 5.0) -> None:
        self._window = window
        self._near = Decimal(str(1 - near_pct))
        self._drop = Decimal(str(1 - drop_pct))
        self._atr_period = atr_period
        self._stop_mult = Decimal(str(stop_mult))
        self._target_mult = Decimal(str(target_mult))

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        w = self._window
        if len(bars) < w + 1:
            return None
        cur = bars[-1]
        win = bars[-w:]
        high = max(b.high for b in win)
        if cur.close < self._near * high:
            return None

        # prior day not within 5% of its own trailing 252-bar high
        prev_win = bars[-(w + 1):-1]
        prev_high = max(b.high for b in prev_win)
        if bars[-2].close >= self._near * prev_high:
            return None

        # lowest low after the high within the window
        hi_idx = 0
        for i, b in enumerate(win):
            if b.high == high:
                hi_idx = i
                break
        after = win[hi_idx + 1:]
        if not after:
            return None
        low_after = min(b.low for b in after)
        if low_after > self._drop * high:
            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 = cur.close
        stop = entry - self._stop_mult * atr_dec
        target = entry + self._target_mult * atr_dec
        if stop <= 0 or not (stop < entry < target):
            return None
        rr = (target - entry) / (entry - stop)

        return Candidate(
            ticker=ticker,
            side="buy",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=50,
            thesis="First close within 5% of the 1-year high after a 25%+ drawdown from that high.",
        )

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 near the 1-year high after a pullback of at least 25%: Indistinguishable from luck · EdgeProven