Buy a green-close bounce after a volatility spike and drop
Entry at latest close if 5-day realized vol (std of daily returns) is at least 2x 60-day realized vol, 5-day return is below -1.5x ATR(14) percent, and today's close is above today's open. Stop = lowest low of the last 5 bars minus 0.25x ATR(14). Target = entry plus 2x ATR(14).
Volatility-targeting funds cut exposure mechanically when realized volatility jumps, producing forced selling in the highest-vol names that is unrelated to fundamentals; exposure is re-added as vol decays, giving a rebound. A stock whose 5-day realized vol exceeds twice its 60-day vol after a net decline is in the forced-reduction phase, with the vol spike visible in its own bars.
Indistinguishable from luck
It looks positive, but not more than chance would produce at this many tries, or than the same plan on random dates.
- Positive (+0.063R a trade), but no market clears t > 2.95 by trade and by day.
42 large US stocks, 15 years
Before costs +0.157R
By trade and by day, sized to 362 rules
What the numbers say
On the 22 laggards the idea averaged +0.063R a trade after costs over 57 trades, but no market cleared the t > 2.95 bar (bull t 1.00 by trade, 0.81 by day). Flat markets averaged −0.577R and bear markets −0.233R, and the 20 winners averaged −0.544R. The small edge is not separable from luck.
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 | 25 | +0.635R | 1.00 | 0.81 · 21d | −0.162R · beats 100% | −0.066R |
| Flat | 14 | −0.577R | −1.21 | −1.21 · 12d | −0.064R · beats 10% | −1.395R |
| Bear | 18 | −0.233R | −0.67 | −0.71 · 10d | +0.191R · beats 25% | +0.032R |
| All | 57 | +0.063R | −0.026R | −0.544R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 7.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 codeHide
from decimal import Decimal
import math
from core.domain import Bar
from strategies.indicators import atr
from scanners.base import Candidate
class WeeklyVolManagedDeleveragingReboundLong:
name = "weekly_vol_managed_deleveraging_rebound_long"
description = "Long the first up close after a distributed multi-day decline whose 5-day RMS vol is >=2x prior 60-day vol"
def __init__(self, short_win: int = 5, long_win: int = 60, vol_ratio_min: float = 2.0,
ret_atr_mult: float = 1.5, max_day_share: float = 0.6, min_down_days: int = 3,
stop_atr_buf: float = 0.25, target_atr_mult: float = 2.0) -> None:
self._s = short_win
self._l = long_win
self._vr = vol_ratio_min
self._rm = ret_atr_mult
self._share = max_day_share
self._down = min_down_days
self._buf = stop_atr_buf
self._tm = target_atr_mult
@staticmethod
def _rets(closes):
out = []
for i in range(1, len(closes)):
p = closes[i - 1]
if p <= 0:
return None
out.append(closes[i] / p - 1.0)
return out
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
need = self._s + self._l + 10
if len(bars) < need:
return None
cur = bars[-1]
if cur.close <= cur.open:
return None
closes = [float(b.close) for b in bars]
short_r = self._rets(closes[-(self._s + 1):])
long_r = self._rets(closes[-(self._s + self._l + 1):-self._s])
if short_r is None or long_r is None or len(long_r) < self._l:
return None
sq_s = [r * r for r in short_r]
ss = sum(sq_s)
vol_s = math.sqrt(ss / len(short_r))
vol_l = math.sqrt(sum(r * r for r in long_r) / len(long_r))
if vol_l <= 0 or ss <= 0:
return None
ratio = vol_s / vol_l
if ratio < self._vr:
return None
# distributed selling, not a single idiosyncratic gap
if max(sq_s) / ss > self._share:
return None
down_days = sum(1 for r in short_r if r < 0)
if down_days < self._down:
return None
atr_val = atr(bars, 14)
if atr_val is None or float(atr_val) <= 0:
return None
atr_f = float(atr_val)
atr_pct = atr_f / closes[-1]
ret5 = closes[-1] / closes[-(self._s + 1)] - 1.0
if ret5 >= -self._rm * atr_pct:
return None
atr_dec = Decimal(str(atr_f))
entry = cur.close
low5 = min(b.low for b in bars[-self._s:])
stop = low5 - Decimal(str(self._buf)) * atr_dec
target = entry + Decimal(str(self._tm)) * atr_dec
risk = entry - stop
if risk <= 0 or stop <= 0 or target <= entry:
return None
rr = (target - entry) / risk
if rr < Decimal("1.5"):
return None
vol_score = min(35, max(0, int((ratio - self._vr) / self._vr * 35 + 10)))
rng = float(cur.high - cur.low)
close_pos = (float(cur.close - cur.low) / rng) if rng > 0 else 0.5
body = float(cur.close - cur.open) / atr_f
rev_score = min(35, max(0, int(close_pos * 20 + min(1.0, body) * 15)))
breadth = 1.0 - max(sq_s) / ss
dist_score = min(30, max(0, int(breadth * 25 + (down_days - self._down) * 5)))
strength = max(0, min(100, vol_score + rev_score + dist_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"5d RMS vol {ratio:.1f}x prior 60d after a {ret5*100:.1f}% distributed decline "
f"({down_days}/5 down days, no single-day dominance); the up close suggests mechanical "
f"vol-target deleveraging is exhausting ahead of re-leveraging."),
)
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.