Volatility decay entry above a rising 20-day average
Entry at latest close if 10-day realized vol is less than 0.6x the 10-day realized vol measured 15 bars earlier, close is above the 20-day SMA, and the 20-day SMA is rising. Stop = entry minus 1.5x ATR(14). Target = entry plus 2.5x ATR(14).
After a volatility shock, vol-targeting funds re-lever gradually as realized vol decays, creating persistent mechanical buying pressure that is predictable from the vol path alone. Once 10-day realized vol has fallen to well under its own 30-day-ago level while price recovers, the re-exposure flow supports upward drift.
Survivorship mirage
It clears the bar on today's winners, the stocks everyone wishes they had bought, but not on the laggards, which is where hindsight can't help.
- It clears the bar on today's winners but not on the laggards: the winners' own rise did the work.
42 large US stocks, 15 years
Before costs +0.038R
By trade and by day, sized to 362 rules
What the numbers say
On the 22 laggards, 2853 trades averaged −0.064R after costs, versus 0.143R on today's winners. Bull markets came to −0.102R (t −3.30) and flat markets to −0.080R; only bear markets were positive at 0.161R. The edge appears on the winners but not the laggards, hence the verdict.
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 | 1,996 | −0.102R | −3.30 | −2.16 · 1,009d | −0.055R · beats 10% | +0.092R |
| Flat | 486 | −0.080R | −1.34 | −1.78 · 239d | −0.018R · beats 20% | +0.163R |
| Bear | 371 | +0.161R | 2.46 | 0.69 · 117d | +0.022R · beats 100% | +0.461R |
| All | 2,853 | −0.064R | −0.038R | +0.143R |
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.8 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
from scanners.base import Candidate
class VolDecayReexposureDriftLong:
name = "vol_decay_reexposure_drift_long"
description = "Long after a confirmed vol shock has decayed (10d RV < 0.6x shock-window RV, shock RV > 1.3x pre-shock 60d RV) with close above a rising 20-SMA."
def __init__(self, rv_window: int = 10, lag: int = 15, decay_ratio: float = 0.6, baseline_window: int = 60, shock_mult: float = 1.3, sma_len: int = 20, slope_lookback: int = 5, atr_len: int = 14, stop_atr: float = 1.5, target_atr: float = 2.5) -> None:
self._rv_window = rv_window
self._lag = lag
self._decay_ratio = decay_ratio
self._baseline_window = baseline_window
self._shock_mult = shock_mult
self._sma_len = sma_len
self._slope_lookback = slope_lookback
self._atr_len = atr_len
self._stop_atr = stop_atr
self._target_atr = target_atr
@staticmethod
def _rv(closes):
rets = []
for i in range(1, len(closes)):
a = closes[i - 1]
b = closes[i]
if a <= 0 or b <= 0:
return None
rets.append(math.log(b / a))
n = len(rets)
if n < 2:
return None
m = sum(rets) / n
var = sum((r - m) ** 2 for r in rets) / (n - 1)
if var <= 0:
return None
return math.sqrt(var)
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
w = self._rv_window
lag = self._lag
bw = self._baseline_window
need = w + lag + bw + 5
if len(bars) < max(need, self._sma_len + self._slope_lookback + 2, 120):
return None
closes = [float(b.close) for b in bars]
n = len(closes)
end_now = n
rv_now = self._rv(closes[end_now - (w + 1):end_now])
end_then = n - lag
start_then = end_then - (w + 1)
rv_then = self._rv(closes[start_then:end_then])
base_end = start_then + 1
base_start = base_end - (bw + 1)
if base_start < 0:
return None
rv_base = self._rv(closes[base_start:base_end])
if rv_now is None or rv_then is None or rv_base is None:
return None
if rv_then < self._shock_mult * rv_base:
return None
ratio = rv_now / rv_then
if ratio >= self._decay_ratio:
return None
L = self._sma_len
sma_now = sum(closes[-L:]) / L
k = self._slope_lookback
sma_prev = sum(closes[-L - k:-k]) / L
if sma_now <= sma_prev:
return None
cur = bars[-1]
if closes[-1] <= sma_now:
return None
atr_val = atr(bars, self._atr_len)
if atr_val is None or atr_val <= 0:
return None
atr_dec = Decimal(str(atr_val))
entry = cur.close
stop = entry - Decimal(str(self._stop_atr)) * atr_dec
target = entry + Decimal(str(self._target_atr)) * atr_dec
if stop <= 0 or not (stop < entry < target):
return None
risk = entry - stop
rr = (target - entry) / risk
if rr < Decimal("1.5"):
return None
decay_score = min(35.0, max(0.0, (self._decay_ratio - ratio) / self._decay_ratio * 70.0))
shock = rv_then / rv_base
shock_score = min(30.0, max(0.0, (shock - self._shock_mult) * 30.0 + 8.0))
slope_pct = (sma_now - sma_prev) / sma_prev
slope_score = min(20.0, max(0.0, slope_pct * 1000.0))
rng = float(cur.high - cur.low)
close_pos = (float(cur.close - cur.low) / rng) if rng > 0 else 0.5
close_score = min(15.0, max(0.0, close_pos * 15.0))
strength = int(max(0, min(100, round(decay_score + shock_score + slope_score + close_score))))
thesis = (
f"Post-shock vol decay: shock-window 10d RV was {shock:.2f}x its pre-shock 60d baseline; "
f"current 10d RV is {ratio:.2f}x the shock window. Price is above a rising 20-SMA, so gradual "
f"re-levering by vol-targeted holders should support upward drift."
)
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,
)
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.