Skip to content
The Casebook · An idea an AI invented

Short deep laggards below both moving averages, ATR stop

Latest close < 0.55 * highest high of last 250 bars; close < 50-SMA < 200-SMA; 10-day return < 0 and close at a 20-day low. Enter short at close. Stop = entry + 2.0*ATR(14). Target = entry - 3.0*ATR(14).
Why the AI thought it might work

Stocks far from their 52-week high suffer from anchoring: investors treat the high as the fair value and under-react to bad news, then drift lower as the information diffuses. A stock below 55% of its 52-week high with continued weak closes is where holders refuse to capitulate and slow information diffusion keeps pushing price down.

VerdictTested Nov 22, 2026

Loses money

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

  • −0.402R a trade after costs on the laggard stocks.
Trades on the laggards
118

42 large US stocks, 15 years

Per trade, after costs
−0.402R

Before costs −0.331R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

Across 118 trades on the laggard stocks, the short lost −0.402R per trade after costs (−0.3305107198955467R before costs), and the winners lost −0.573R. It lost in all three markets: −0.414R in bull, −0.142R in flat and −0.659R in bear, and in bull and bear it beat 0.0% of random-date draws. Losses in every market, plus the cost drag, are why the verdict is that it loses money.

How it was tested

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

Side
Short
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
Bull52−0.414R−2.39−2.28 · 51d−0.130R · beats 0%+0.577R
Flat34−0.142R−0.59−0.59 · 34d+0.005R · beats 25%−1.053R
Bear32−0.659R−3.64−3.00 · 26d−0.322R · beats 0%−0.594R
All118−0.402R−0.143R−0.573R

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.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, sma
from scanners.base import Candidate


class FarFrom52wkHighNeglectShort:
    name = "far_from_52wk_high_neglect_short"
    description = "Short deeply drawn-down downtrend names making fresh 20-day lows (anchoring/neglect drift)"

    def __init__(self, high_lookback: int = 250, max_frac_of_high: float = 0.55,
                 low_lookback: int = 20, ret_lookback: int = 10, swing_lookback: int = 5,
                 stop_buffer_atr: float = 0.25, max_stop_atr: float = 2.0,
                 min_stop_atr: float = 1.0, target_atr: float = 3.0,
                 min_rr: float = 1.55) -> None:
        self._hl = high_lookback
        self._frac = max_frac_of_high
        self._ll = low_lookback
        self._rl = ret_lookback
        self._sl = swing_lookback
        self._buf = stop_buffer_atr
        self._max_stop = max_stop_atr
        self._min_stop = min_stop_atr
        self._tgt = target_atr
        self._min_rr = min_rr

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < max(self._hl, 220) + 1:
            return None
        cur = bars[-1]
        close = Decimal(str(cur.close))
        if close <= 0:
            return None

        hi_52 = max(Decimal(str(b.high)) for b in bars[-self._hl:])
        if hi_52 <= 0 or close >= Decimal(str(self._frac)) * hi_52:
            return None

        closes = [float(b.close) for b in bars]
        s50 = sma(closes, 50)
        s200 = sma(closes, 200)
        if s50 is None or s200 is None:
            return None
        s50d = Decimal(str(s50))
        s200d = Decimal(str(s200))
        if not (close < s50d < s200d):
            return None

        past = Decimal(str(bars[-1 - self._rl].close))
        if past <= 0 or close >= past:
            return None

        prior_low_close = min(Decimal(str(b.close)) for b in bars[-self._ll:-1])
        if close > prior_low_close:
            return None

        a = atr(bars, 14)
        if a is None or a <= 0:
            return None
        ad = Decimal(str(a))

        swing_high = max(Decimal(str(b.high)) for b in bars[-self._sl:])
        stop_struct = swing_high + Decimal(str(self._buf)) * ad
        stop_cap = close + Decimal(str(self._max_stop)) * ad
        stop_floor = close + Decimal(str(self._min_stop)) * ad
        stop = min(stop_struct, stop_cap)
        if stop < stop_floor:
            stop = stop_floor
        entry = close
        target = entry - Decimal(str(self._tgt)) * ad
        if target <= 0:
            return None
        risk = stop - entry
        if risk <= 0:
            return None
        rr = (entry - target) / risk
        if rr < Decimal(str(self._min_rr)):
            return None

        frac = float(close / hi_52)
        depth_score = min(30, max(0, int((self._frac - frac) / 0.25 * 30)))
        trend_spread = float((s200d - s50d) / s200d)
        trend_score = min(25, max(0, int(trend_spread / 0.15 * 25)))
        rng = Decimal(str(cur.high)) - Decimal(str(cur.low))
        if rng <= 0:
            close_pos = 0.5
        else:
            close_pos = float((Decimal(str(cur.high)) - close) / rng)
        close_score = min(25, max(0, int(close_pos * 25)))
        vols = [float(b.volume) for b in bars[-21:-1]]
        avg_vol = sum(vols) / len(vols) if vols else 0.0
        vr = float(cur.volume) / avg_vol if avg_vol > 0 else 1.0
        vol_score = min(20, max(0, int((vr - 0.8) * 20)))
        strength = max(0, min(100, depth_score + trend_score + close_score + vol_score))

        return Candidate(
            ticker=ticker,
            side="sell",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=strength,
            thesis=(f"Close at {frac:.0%} of 52-week high, below 50-SMA < 200-SMA, fresh {self._ll}-day closing low "
                    f"with negative {self._rl}-day return. Anchored holders under-react, so slow information diffusion should extend the drift lower. "
                    f"Stop above the {self._sl}-bar swing high; target 3 ATR."),
        )

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
Short deep laggards below both moving averages, ATR stop: Loses money · EdgeProven