Skip to content
The Casebook · An idea an AI invented

Buy a 3% intraday dip that closes strong on heavy volume

Entry at latest close if (open - low)/open is at least 3%, close is in the top 30% of the day's high-low range, and volume is at least 1.5x the 20-day average. Stop at the low of the day minus 0.2 ATR. Target 2 ATR above entry.
Why the AI thought it might work

When a stock trades down more than 3% intraday from the open but closes in the top 30% of the day's range on heavy volume, liquidity providers absorbed forced selling and were paid to hold inventory. Their recouping trades over the next days produce a short-horizon bounce. The signal rests on observed liquidity supply, not a candle pattern name.

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.051R a trade before costs, −0.023R after the spread and the selection haircut.
Trades on the laggards
124

42 large US stocks, 15 years

Per trade, after costs
−0.023R

Before costs +0.051R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

On the laggards, the 124 trades averaged +0.051R before costs and −0.023R after them, and the winners lost −0.147R. By market, bull was +0.105R (t 0.59), flat −0.062R (t −0.22) and bear −0.195R (t −0.89), and none of these t values comes near the bar of 2.95. The thin edge before costs does not survive them, so the verdict is killed by costs.

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
Bull57+0.105R0.590.58 · 56d−0.054R · beats 75%−0.176R
Flat32−0.062R−0.220.34 · 19d−0.041R · beats 55%+0.019R
Bear35−0.195R−0.890.41 · 23d+0.181R · beats 0%−0.303R
All124−0.023R+0.016R−0.147R

R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 9.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 IntradayFlushAbsorptionLong:
    name = "intraday_flush_absorption_long"
    description = "Long a >=3% intraday flush from the open that closes in the top 30% of range on >=1.5x volume"

    def __init__(self, min_flush_pct: float = 0.03, close_pos_min: float = 0.70, vol_mult: float = 1.5, stop_atr_buf: float = 0.2, target_atr: float = 2.0, min_rr: float = 1.6, max_risk_atr: float = 3.0, vol_lookback: int = 20, atr_period: int = 14) -> None:
        self._min_flush = min_flush_pct
        self._close_pos_min = close_pos_min
        self._vol_mult = vol_mult
        self._stop_buf = stop_atr_buf
        self._target_atr = target_atr
        self._min_rr = min_rr
        self._max_risk_atr = max_risk_atr
        self._vol_lb = vol_lookback
        self._atr_p = atr_period

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        need = max(self._vol_lb, self._atr_p) + 6
        if len(bars) < need:
            return None
        cur = bars[-1]
        o = float(cur.open)
        h = float(cur.high)
        l = float(cur.low)
        c = float(cur.close)
        if o <= 0 or c <= 0 or l <= 0:
            return None
        rng = h - l
        if rng <= 0:
            return None
        flush = (o - l) / o
        if flush < self._min_flush:
            return None
        close_pos = (c - l) / rng
        if close_pos < self._close_pos_min:
            return None
        prior = bars[-(self._vol_lb + 1):-1]
        avg_vol = sum(float(b.volume) for b in prior) / len(prior)
        if avg_vol <= 0:
            return None
        vol_ratio = float(cur.volume) / avg_vol
        if vol_ratio < self._vol_mult:
            return None
        atr_val = atr(bars, self._atr_p)
        if atr_val is None:
            return None
        a = float(atr_val)
        if a <= 0:
            return None

        entry = cur.close
        stop_f = l - self._stop_buf * a
        if stop_f <= 0:
            return None
        risk_f = c - stop_f
        if risk_f <= 0:
            return None
        # Drop only pathological events (e.g. huge news gaps) where the structural stop sits far beyond normal volatility
        if risk_f > self._max_risk_atr * a:
            return None
        # Operator target is 2 ATR; for deep flushes whose structural risk exceeds what 2 ATR covers,
        # extend the target to min_rr * risk instead of discarding the signal
        target_f = c + max(self._target_atr * a, self._min_rr * risk_f)
        stop = Decimal(str(round(stop_f, 4)))
        target = Decimal(str(round(target_f, 4)))
        risk = entry - stop
        if risk <= 0 or not (stop < entry < target):
            return None
        rr = (target - entry) / risk
        if rr <= Decimal("1.5"):
            return None

        vol_score = min(40, max(0, int((vol_ratio - 1.0) / 2.0 * 40)))
        pos_score = min(30, max(0, int((close_pos - 0.7) / 0.3 * 30)))
        depth_atr = (o - l) / a
        depth_score = min(30, max(0, int(depth_atr / 2.0 * 30)))
        strength = max(0, min(100, vol_score + pos_score + depth_score))

        thesis = (
            f"Flushed {flush*100:.1f}% below open ({depth_atr:.1f} ATR) then closed at {close_pos*100:.0f}% of range "
            f"on {vol_ratio:.1f}x avg volume: forced selling absorbed by liquidity providers; expect a short-horizon bounce "
            f"as inventory is recouped. Stop below day low minus {self._stop_buf} ATR."
        )
        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,
            asset_class="equity",
        )

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 3% intraday dip that closes strong on heavy volume: Killed by costs · EdgeProven