Long after a volatility spike fades, below 20-day average
5-day realized vol > 2.5x 60-day realized vol two bars ago; latest bar's range (high-low) < 0.7x the range of the peak-volatility bar of last 5 days; close above prior close; close below 20-SMA. Enter long at close. Stop = lowest low of last 5 bars minus 0.25*ATR(14). Target = entry + 2.5*ATR(14).
After a volatility spike, vol-targeting funds are forced to de-lever (sell) to hit risk budgets, creating mechanical selling that overshoots; as realized vol mean-reverts, they re-lever. The deleveraging pressure peaks when short-term realized vol is far above its longer-term level and starts to decline, marking the end of the forced selling.
Too rare to judge
Too few trades in 15 years to tell anything either way.
- 7 trades on the laggard stocks in 15 years; 30 are needed to judge.
42 large US stocks, 15 years
Before costs +0.422R
By trade and by day, sized to 362 rules
What the numbers say
Only 7 trades appeared on the laggard stocks in 15 years, short of the 30 needed to judge. They averaged 0.366R per trade after costs, 0.335 in flat markets (2 trades) and 0.379 in bear markets (5 trades), with t values of 0.24 and 0.79. No bull-market trades occurred.
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.
| Market | Trades | Per trade | t, by trade | t, by day | Random dates | Winners, per trade |
|---|---|---|---|---|---|---|
| Bull | 0 | — | — | — | — | +2.161R |
| Flat | 2 | +0.335R | 0.24 | 0.24 · 2d | +0.039R · beats 70% | — |
| Bear | 5 | +0.379R | 0.79 | −0.14 · 3d | +0.043R · beats 85% | +2.873R |
| All | 7 | +0.366R | +0.042R | +2.517R |
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 codeHide
import math
from decimal import Decimal
from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate
class VolSpikeDeleveragingReboundLong:
name = "vol_spike_deleveraging_rebound_long"
description = "Long after a broad multi-day downside vol cluster shows exhaustion (vol rolling over, range contraction, up close below 20-SMA)."
def __init__(self, short_win: int = 5, long_win: int = 60, ratio_min: float = 2.5,
range_frac_max: float = 0.7, max_day_share: float = 0.55,
min_big_days: int = 3, big_day_sigma: float = 1.25,
min_drawdown_sigma: float = 1.0, atr_buffer: float = 0.25,
target_atr: float = 2.5, min_bars: int = 90) -> None:
self._sw = short_win
self._lw = long_win
self._ratio_min = ratio_min
self._range_frac = range_frac_max
self._max_share = max_day_share
self._min_big = min_big_days
self._big_sigma = big_day_sigma
self._min_dd = min_drawdown_sigma
self._buf = atr_buffer
self._tgt = target_atr
self._min_bars = min_bars
@staticmethod
def _rets(closes, end, n):
if end - n < 0:
return None
out = []
for k in range(end - n + 1, end + 1):
a = closes[k - 1]
b = closes[k]
if a <= 0 or b <= 0:
return None
out.append(math.log(b / a))
return out
@staticmethod
def _sd(xs):
if xs is None or len(xs) < 2:
return None
m = sum(xs) / len(xs)
v = sum((x - m) ** 2 for x in xs) / (len(xs) - 1)
return math.sqrt(v) if v > 0 else None
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
n = len(bars)
if n < max(self._min_bars, self._lw + 10):
return None
i = n - 1
closes = [float(b.close) for b in bars]
cur = bars[-1]
prev = bars[-2]
# Basic price-action gates
if cur.close <= prev.close:
return None
sma20 = sma(closes, 20)
if sma20 is None or closes[-1] >= float(sma20):
return None
# Vol ratio measured two bars ago
se = i - 2
spike_rets = self._rets(closes, se, self._sw)
long_rets = self._rets(closes, se, self._lw)
rv_s = self._sd(spike_rets)
rv_l = self._sd(long_rets)
if rv_s is None or rv_l is None or rv_l <= 0:
return None
ratio = rv_s / rv_l
if ratio <= self._ratio_min:
return None
# Vol must be rolling over now (forced selling fading)
rv_now = self._sd(self._rets(closes, i, self._sw))
if rv_now is None or rv_now >= rv_s:
return None
# Breadth of the spike: reject single-gap / single-news events
sq = [r * r for r in spike_rets]
sq_sum = sum(sq)
if sq_sum <= 0:
return None
share = max(sq) / sq_sum
if share > self._max_share:
return None
big_days = sum(1 for r in spike_rets if abs(r) > self._big_sigma * rv_l)
if big_days < self._min_big:
return None
# Spike must be a selling episode (deleveraging is net selling)
cum = sum(spike_rets)
if cum > -self._min_dd * rv_l * math.sqrt(self._sw):
return None
# Range contraction vs peak-volatility bar of prior 5 days
window = bars[-(self._sw + 1):-1]
peak_range = max(b.high - b.low for b in window)
cur_range = cur.high - cur.low
if peak_range <= 0:
return None
range_frac = float(cur_range / peak_range)
if range_frac >= self._range_frac:
return None
atr_val = atr(bars, 14)
if atr_val is None or float(atr_val) <= 0:
return None
atr_d = Decimal(str(atr_val))
entry = cur.close
swing_low = min(b.low for b in bars[-self._sw:])
stop = swing_low - Decimal(str(self._buf)) * atr_d
if stop <= 0 or stop >= entry:
return None
target = entry + Decimal(str(self._tgt)) * atr_d
risk = entry - stop
if risk <= 0 or target <= entry:
return None
rr = (target - entry) / risk
if rr < Decimal("1.5"):
return None
# Strength scoring
ratio_score = min(35, max(0, int((ratio - self._ratio_min) / 2.0 * 35)))
breadth_score = min(25, max(0, int((self._max_share - share) / max(self._max_share - 0.2, 1e-6) * 25)))
cr = float(cur_range) if float(cur_range) > 0 else 0.01
close_pos = (float(cur.close) - float(cur.low)) / cr
close_score = min(20, max(0, int(close_pos * 20)))
contract_score = min(20, max(0, int((self._range_frac - range_frac) / self._range_frac * 20)))
strength = max(0, min(100, ratio_score + breadth_score + close_score + contract_score))
thesis = (
f"Broad downside vol cluster: 5d RV {ratio:.1f}x 60d RV two bars ago, spread over "
f"{big_days} large days (max single-day share {share:.0%}, not a lone gap). Vol is now rolling "
f"over and today's range is {range_frac:.0%} of the peak bar's range, with an up close below the 20-SMA. "
f"Forced de-risking selling appears exhausted; expecting a re-leveraging rebound."
)
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=int(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.
Describe it in plain words and get the same honest test in about a minute.