#51 — Post-shock counter-trend retrace live
Hypothesis — what it tests
Whether large S5 velocity shocks (z-score > 2.5) systematically overshoot and retrace, so that fading the move from its peak after a ~220-second observation window is a bounded-risk, spread-surviving edge.
Description
The hypothesis: after a sharp price shock (30-second velocity z-score above threshold), price retraces counter-trend from the shock peak. The backtest detects a shock, waits up to 44 S5 bars (~220s) for the peak, then enters opposite the shock direction with TP=20p and SL=30p. A three-phase pipeline (OOS sweep of 225 configs → walk-forward over 3 sub-chunks → 1000-shuffle Monte Carlo) produced 72 OOS-positive configs, with the top 40 all passing WF 12/12 and all 20 WF-passers at mc_p=0.0000; the honest sd=3 (zero fill inflation) benchmark gave +56 p/d. The 44-bar window independently matched the MSP wavelet study's D3→D5 cross-scale correlation peak at 110–220s. Deployed straight to live money (fx-retrace-live, 4 JPY pairs, eventually account 009) with a causal rolling-deque z-scorer and an IDLE→MONITORING→IN_POSITION state machine. Live it accumulated roughly +110p over ~250 trades (~+0.44 p/trade) but decayed to ~+3–4 p/d versus the +56–70 OOS estimate as volatility compressed, and was taken offline 2026-06-17; a validated M5-ATR≥5 entry-gate rescue (+79.4 p/d OOS) was kept paper-only.
Key result
Indicators
Algorithms
Code
Interactive version (search, filters, figures): the experiment explorer.