Skip to content
The Casebook · A classic strategy

Close above 52-week high after 6 months without one

Buy when the stock closes above its 52-week high for the first time in 6 months.
VerdictTested Nov 22, 2026

Too rare to judge

Too few trades in 15 years to tell anything either way.

  • 0 trades on the laggard stocks in 15 years; 30 are needed to judge.
  • The rule as written never fired on any of the 42 stocks: it may be stricter than you meant.
Trades on the laggards
0

42 large US stocks, 15 years

Per trade, after costs
—

Before costs —

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

The rule produced 0 trades on the laggard stocks over 15 years, and none in bull, flat or bear markets, so no R per trade could be measured. 30 trades are needed to judge, and the rule never fired on any of the 42 stocks. Without trades, the verdict is too rare to judge.

How it was tested

Buy at the close when a stock closes above its prior 52-week high for the first time in about 6 months, then hold with a bracket stop and target.

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
  • 52-week high = highest daily high over the prior 252 trading days, excluding the signal day
  • 'Closes above' = daily close strictly greater than that prior 52-week high
  • 'First time in 6 months' = no close above its own prior 252-day high in the preceding 126 trading days
  • Entry at the close of the signal day
  • Stop 2 x ATR(14) below entry and target 4 x ATR(14) above entry were chosen because the idea names none
  • Time exit at 30 trading days, the harness maximum, because the idea names no holding period

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
Bull0—————
Flat0—————
Bear0—————
All0———

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.0 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, 0 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 Fresh52wHighBreakoutAfter6mGap:
    name = "fresh_52w_high_breakout_after_6m_gap"
    description = "Close above prior 252-day high, first such close in 126 trading days"

    def __init__(self, high_lookback: int = 252, gap_days: int = 126, atr_period: int = 14, stop_mult: float = 2.0, target_mult: float = 4.0) -> None:
        self._hl = high_lookback
        self._gap = gap_days
        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:
        n = len(bars)
        if n < self._hl + self._gap:
            return None
        current = bars[-1]
        t = n - 1
        prior_high = max(b.high for b in bars[t - self._hl:t])
        if current.close <= prior_high:
            return None
        # no breakout close in previous gap_days (t-gap .. t-1)
        for i in range(t - self._gap, t):
            if i - self._hl < 0:
                return None
            ph = max(b.high for b in bars[i - self._hl:i])
            if bars[i].close > ph:
                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 = current.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="First close above the prior 252-day high in at least 126 trading days.",
        )

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
Close above 52-week high after 6 months without one: Too rare to judge · EdgeProven