Skip to content
The Casebook · An idea an AI invented

Buy a high-volume 252-day-low close, 2.5 ATR target

Entry at latest close if close is the lowest close of the last 252 bars, volume >= 3x the 50-day average volume, and the bar is not a gap-through-only bar (close >= low + 0.2*(high-low)). Stop = low of the signal bar minus 0.5*ATR(14). Target = entry + 2.5*ATR(14). Max hold 35 days.
Why the AI thought it might work

A close at a 252-day low on volume 3x the 50-day average marks forced liquidation: margin calls, fund redemptions and stop cascades sell price-insensitively. Liquidity providers demand a premium, and price overshoots fundamentals until the supply is absorbed. The bounce in a laggard name shows in one stock's daily bars as a washout bar at the 52-week low.

VerdictTested Nov 22, 2026

Loses money

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

  • −0.652R a trade after costs on the laggard stocks.
Trades on the laggards
36

42 large US stocks, 15 years

Per trade, after costs
−0.652R

Before costs −0.553R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

On the 22 laggard stocks, 36 trades averaged −0.652R after costs (−0.553 before costs). The 20 winners also lost, at −0.128R. Every market type was negative: bull −0.72R, flat −0.746R, bear −0.458R. Each beat only 5%, 0% and 5% of random-date draws, so the washout bounce did not appear.

How it was tested

The rule as written, coded once, run on every stock the same way.

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.95, by trade and by day, sized to the 362 rules in the search it came from
Prices
15 years of daily bars through 2026-11-20; judged 2026-11-22

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
Bull19−0.720R−2.44−2.44 · 19d−0.123R · beats 5%−0.719R
Flat7−0.746R−1.97−5.92 · 5d−0.057R · beats 0%−0.353R
Bear10−0.458R−1.30−1.30 · 10d+0.199R · beats 5%+0.407R
All36−0.652R−0.021R−0.128R

R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 11.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 VolumeClimax52wkLowLong:
    name = "volume_climax_52wk_low_forced_liquidation_long"
    description = "Long a 252-day closing low on >=3x 50-day volume that closes off its lows (forced-liquidation washout)."

    def __init__(
        self,
        low_lookback: int = 252,
        vol_lookback: int = 50,
        vol_mult: float = 3.0,
        min_close_pos: float = 0.2,
        atr_period: int = 14,
        stop_atr_buffer: float = 0.5,
        target_atr_mult: float = 2.5,
        max_stop_atr: float = 1.6,
        cooldown: int = 10,
    ) -> None:
        self._low_lookback = low_lookback
        self._vol_lookback = vol_lookback
        self._vol_mult = vol_mult
        self._min_close_pos = min_close_pos
        self._atr_period = atr_period
        self._stop_buf = stop_atr_buffer
        self._target_mult = target_atr_mult
        self._max_stop_atr = max_stop_atr
        self._cooldown = cooldown

    def _climax_at(self, bars: list[Bar], j: int):
        # Uses only bars[..j]; returns vol ratio or None
        if j - (self._low_lookback - 1) < 0 or j - self._vol_lookback < 0:
            return None
        b = bars[j]
        window = bars[j - self._low_lookback + 1:j + 1]
        lowest_close = min(x.close for x in window)
        if b.close > lowest_close:
            return None
        prior = bars[j - self._vol_lookback:j]
        avg_vol = sum(float(x.volume) for x in prior) / len(prior)
        if avg_vol <= 0:
            return None
        ratio = float(b.volume) / avg_vol
        if ratio < self._vol_mult:
            return None
        rng = b.high - b.low
        if rng <= 0:
            return None
        if b.close < b.low + Decimal(str(self._min_close_pos)) * rng:
            return None
        return ratio

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        need = self._low_lookback + self._cooldown + 2
        if len(bars) < need:
            return None
        i = len(bars) - 1
        ratio = self._climax_at(bars, i)
        if ratio is None:
            return None

        # Cooldown: skip if a qualifying climax already fired recently
        for j in range(i - self._cooldown, i):
            if self._climax_at(bars, j) is not None:
                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))

        cur = bars[-1]
        entry = cur.close
        struct_stop = cur.low - Decimal(str(self._stop_buf)) * atr_dec
        cap_stop = entry - Decimal(str(self._max_stop_atr)) * atr_dec
        capped = cap_stop > struct_stop
        stop = cap_stop if capped else struct_stop
        if stop <= 0:
            return None
        target = entry + Decimal(str(self._target_mult)) * atr_dec
        risk = entry - stop
        if risk <= 0 or target <= entry:
            return None
        rr = (target - entry) / risk
        if rr <= Decimal("1.5"):
            return None

        rng = cur.high - cur.low
        close_pos = float((cur.close - cur.low) / rng)
        range_atr = float(rng / atr_dec)

        # Volume: 3x -> 0, 7x -> 40
        vol_score = min(40.0, max(0.0, (ratio - self._vol_mult) * 10.0))
        # Close strength: 0.2 -> 0, 1.0 -> 35
        close_score = min(35.0, max(0.0, (close_pos - self._min_close_pos) / (1.0 - self._min_close_pos) * 35.0))
        # Decisiveness: range 1 ATR -> 0, 3.5 ATR -> 25
        range_score = min(25.0, max(0.0, (range_atr - 1.0) * 10.0))
        strength = int(max(0, min(100, round(vol_score + close_score + range_score))))

        stop_note = " Stop capped at %.1f ATR because the climax bar was wide." % self._max_stop_atr if capped else ""
        thesis = (
            "Forced-liquidation washout: lowest close in %d bars on %.1fx 50-day volume, "
            "closing at %.0f%% of a %.1f-ATR range. Supply should be absorbed and the discount "
            "revert toward entry + %.1f ATR within 35 bars.%s"
            % (self._low_lookback, ratio, close_pos * 100, range_atr, self._target_mult, stop_note)
        )

        return Candidate(
            ticker=ticker,
            side="buy",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=strength,
            thesis=thesis,
        )

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 a high-volume 252-day-low close, 2.5 ATR target: Loses money · EdgeProven