Skip to content
The Casebook · An idea an AI invented

High-volume capitulation dip, long with ATR stop and target

Fire when close is at least 25% below the 250-day high, volume is the highest of the last 60 sessions, the day's return is below -3%, and the close is above the day's midpoint. Enter long at close. Stop 1.5x ATR(14) below the day's low; target 3x ATR above entry.
Why the AI thought it might work

A stock down more than 25% from its 52-week high that prints its highest volume in 60 sessions on a down day is experiencing forced selling by margin calls and redemption-driven holders. Liquidity suppliers demand an immediacy discount that is recovered over the next several sessions.

VerdictTested Nov 22, 2026

Too rare to judge

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

  • 28 trades on the laggard stocks in 15 years; 30 are needed to judge.
Trades on the laggards
28

42 large US stocks, 15 years

Per trade, after costs
−0.151R

Before costs −0.090R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

The rule fired only 28 times on the laggard stocks over 15 years, short of the 30 needed to judge. Average result was −0.151R per trade after costs (winners: −0.126). Bull markets came to −0.293 over 15 trades and flat to −0.383 over 6; bear was 0.351 over 7, with a t of 0.73. With so few trades the verdict is too rare to judge.

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
Bull15−0.293R−1.06−1.06 · 15d−0.034R · beats 5%−0.355R
Flat6−0.383R−0.74−0.74 · 6d+0.061R · beats 20%−0.630R
Bear7+0.351R0.730.73 · 7d+0.177R · beats 55%+0.190R
All28−0.151R+0.039R−0.126R

R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 4.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, 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 AnnualHighVolumeCapitulationDipLong:
    name = "annual_high_volume_capitulation_dip_long"
    description = "Long a >3% down day on 60-session-high volume, >=25% below the 250-day high, closing above the bar midpoint."

    def __init__(self, high_lookback: int = 250, vol_lookback: int = 60, min_drawdown: float = 0.25, min_drop: float = 0.03, atr_period: int = 14, stop_atr_mult: float = 1.5, target_atr_mult: float = 3.0, min_rr: float = 1.6) -> None:
        self._high_lookback = high_lookback
        self._vol_lookback = vol_lookback
        self._min_drawdown = min_drawdown
        self._min_drop = min_drop
        self._atr_period = atr_period
        self._stop_atr_mult = stop_atr_mult
        self._target_atr_mult = target_atr_mult
        self._min_rr = min_rr

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        need = max(self._high_lookback, self._vol_lookback) + 2
        if len(bars) < need:
            return None
        cur = bars[-1]
        prev = bars[-2]
        close = Decimal(str(cur.close))
        high = Decimal(str(cur.high))
        low = Decimal(str(cur.low))
        prev_close = Decimal(str(prev.close))
        if prev_close <= 0 or close <= 0:
            return None

        # Day's return must be below -min_drop
        day_ret = float(close / prev_close - 1)
        if day_ret >= -self._min_drop:
            return None

        # Close above the day's midpoint
        rng = high - low
        if rng <= 0:
            return None
        mid = (high + low) / 2
        if close <= mid:
            return None

        # Drawdown from the 250-day high
        hh = max(Decimal(str(b.high)) for b in bars[-self._high_lookback:])
        if hh <= 0:
            return None
        drawdown = float(1 - close / hh)
        if drawdown < self._min_drawdown:
            return None

        # Highest volume of the last 60 sessions
        prior_vols = [float(b.volume) for b in bars[-self._vol_lookback:-1]]
        cur_vol = float(cur.volume)
        if not prior_vols or cur_vol <= max(prior_vols):
            return None
        avg_vol = sum(prior_vols) / len(prior_vols)
        if avg_vol <= 0:
            return None

        atr_val = atr(bars, self._atr_period)
        if atr_val is None or float(atr_val) <= 0:
            return None
        atr_dec = Decimal(str(atr_val))

        entry = close
        stop = low - Decimal(str(self._stop_atr_mult)) * atr_dec
        if stop <= 0:
            return None
        risk = entry - stop
        if risk <= 0:
            return None
        # Target: 3x ATR above entry, extended to a 1.6R floor so the plan clears the orchestrator's R:R filter
        target = max(entry + Decimal(str(self._target_atr_mult)) * atr_dec, entry + Decimal(str(self._min_rr)) * risk)
        rr = (target - entry) / risk
        if rr < Decimal("1.5"):
            return None

        # Strength: volume climax, close recovery, drawdown depth
        vol_ratio = cur_vol / avg_vol
        vol_score = min(40, max(0, int((vol_ratio - 1.0) * 13)))
        close_pos = float((close - low) / rng)
        close_score = min(35, max(0, int((close_pos - 0.5) * 70)))
        dd_score = min(25, max(0, int((drawdown - self._min_drawdown) * 100)))
        strength = max(0, min(100, vol_score + close_score + dd_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"Capitulation: {drawdown*100:.0f}% below 250d high, {day_ret*100:.1f}% down day on "
                f"60-session-high volume ({vol_ratio:.1f}x avg), closed in upper {(1-close_pos)*100:.0f}% of range. "
                "Forced selling absorbed; expect immediacy discount to be recovered."
            ),
        )

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
High-volume capitulation dip, long with ATR stop and target: Too rare to judge · EdgeProven