Short the failed volume spike at a 250-day high
Prior bar: volume > 3.5x 50-day average, up >7% on the day, close at a 250-day high. Latest bar: close below prior bar's close and below the prior bar's midpoint. Enter short at close. Stop = prior bar high plus 0.25*ATR(14). Target = entry - 2.5*ATR(14).
Short-squeeze or forced-cover spikes (extreme volume, huge up day, close near the high 52-week range) pull price far above value because the buyer is compelled (short covering), not informed. Once the covering is complete the supply of forced buyers disappears and price mean-reverts. Requires volume-extreme up bar at a 52-week high followed by a failure to extend.
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.
42 large US stocks, 15 years
Before costs —
By trade and by day, sized to 362 rules
What the numbers say
The rule as written never fired on any of the 42 stocks in 15 years, so it produced 0 trades on the laggards (30 are needed to judge) and none in bull, flat or bear markets. With no trades there is no R per trade to report. The verdict follows from that gap: the numbers cannot say whether the idea works.
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.
| Market | Trades | Per trade | t, by trade | t, by day | Random dates | Winners, per trade |
|---|---|---|---|---|---|---|
| Bull | 0 | — | — | — | — | — |
| Flat | 0 | — | — | — | — | — |
| Bear | 0 | — | — | — | — | — |
| All | 0 | — | — | — |
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 codeHide
from decimal import Decimal
from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate
class UpperTailForcedBuyingShort:
name = "upper_tail_forced_buying_short"
description = "Short the first close back below the midpoint of an extreme-volume >7% spike to a 250-day closing high, within 1-3 bars, with no extension above the spike high."
def __init__(self, vol_mult: float = 3.0, min_up_pct: float = 0.07, high_lookback: int = 250, vol_lookback: int = 50, max_lag: int = 3, atr_period: int = 14, stop_atr_buf: float = 0.25, target_atr_mult: float = 2.5, max_target_atr: float = 4.5, min_rr: float = 1.55) -> None:
self._vol_mult = vol_mult
self._min_up = Decimal(str(min_up_pct))
self._hl = high_lookback
self._vl = vol_lookback
self._max_lag = max_lag
self._atr_p = atr_period
self._buf = Decimal(str(stop_atr_buf))
self._tmult = Decimal(str(target_atr_mult))
self._tmax = Decimal(str(max_target_atr))
self._min_rr = Decimal(str(max(min_rr, 1.51)))
def _spike_ok(self, bars, i):
if i < max(self._hl, self._vl) + 1:
return None
s = bars[i]
p = bars[i - 1]
if p.close <= 0 or s.close <= p.close:
return None
up = s.close / p.close - 1
if up <= self._min_up:
return None
vols = [float(b.volume) for b in bars[i - self._vl:i]]
avg_v = sum(vols) / len(vols)
if avg_v <= 0:
return None
vr = float(s.volume) / avg_v
if vr <= self._vol_mult:
return None
window = bars[i - self._hl + 1:i + 1]
if s.close < max(b.close for b in window):
return None
return (float(up), vr)
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
n = len(bars)
if n < self._hl + self._vl + self._max_lag + 5:
return None
cur = bars[-1]
for k in range(1, self._max_lag + 1):
si = n - 1 - k
res = self._spike_ok(bars, si)
if res is None:
continue
spike = bars[si]
mid = (spike.high + spike.low) / 2
between = bars[si + 1:n - 1]
# no extension: no intermediate bar made a new high above the spike
if any(b.high > spike.high for b in between):
return None
# first failure only: earlier bars must not already have closed below midpoint
if any(b.close < mid for b in between):
return None
if not (cur.close < spike.close and cur.close < mid):
return None
if cur.high > spike.high:
return None
a = atr(bars, self._atr_p)
if a is None or a <= 0:
return None
ad = Decimal(str(a))
entry = cur.close
stop = spike.high + self._buf * ad
risk = stop - entry
if risk <= 0:
return None
# operator target: 2.5 ATR; structural alternative: pre-spike close (value before forced buying)
atr_target = entry - self._tmult * ad
pre_close = bars[si - 1].close
target = atr_target
if pre_close < atr_target:
target = max(pre_close, entry - self._tmax * ad)
if target <= 0 or target >= entry:
return None
rr = (entry - target) / risk
if rr < self._min_rr:
return None
up, vr = res
rng = spike.high - spike.low
if rng <= 0:
return None
# sub-scores
vol_score = min(30, max(0, int((vr - self._vol_mult) * 6 + 10)))
depth = float((mid - cur.close) / rng)
fail_score = min(30, max(0, int(depth * 60 + 8)))
sma50 = sma([b.close for b in bars[:si + 1]], 50)
ext_score = 0
if sma50 is not None and sma50 > 0:
ext = float(spike.close) / float(sma50) - 1
ext_score = min(20, max(0, int(ext * 80)))
cr = cur.high - cur.low
close_pos = float((cur.high - cur.close) / cr) if cr > 0 else 0.5
close_score = min(20, max(0, int(close_pos * 20)))
strength = max(0, min(100, vol_score + fail_score + ext_score + close_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"Forced-buying spike {k} bar(s) ago (+{up*100:.1f}%, {vr:.1f}x vol, 250d closing high) "
f"failed: close back below spike midpoint without extension. Covering exhausted; "
f"expect reversion toward pre-spike value. Stop above spike high + {self._buf} ATR."),
)
return None
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.
Describe it in plain words and get the same honest test in about a minute.