The Edge That Wasn't
All 81 experiments › #6

#6 — Spread-at-entry fix + Vmax

2026-04-07
Verdict: mixed · 🟡 mixed — realistic cost model changed the dynamics
Charging spread at entry (instead of exit, with MAE floored at spread) invalidated all prior SwingDim results and made training collapse: corrected V3 s42 and both 19-input Vmax runs went degenerate.

Hypothesis — what it tests

Whether charging the spread at entry (the physically correct cost model) preserves the SwingDim/V3 results, and whether one big 14-19-input network plus sensitivity analysis can replace staged per-feature experiments.

Description

An audit found all previous SwingDim results (E1/E2/E3/E5/E6) had charged spread at exit only with MAE initialized to 0 — allowing physically impossible outcomes like E2's 88 p/d with MAE 0.59p on a 1.49p spread. The fix charges spread at entry (entry_price = mid ± spread·pip, exit at mid, MAE initialized at spread), using real per-pair mean spreads measured from S5 bid/ask data (EUR_GBP 1.49p up to CHF_JPY 3.89p). Simultaneously, a 'train big, prune' Vmax mode was built: all 13 indicator candidates + UPnL in one deep 19-input network (19→19→38→12→3, ~1,575 connections) with wavelet activations and a free-topology pruning phase, replacing sequential staged experiments. The corrected cost model destroyed the training gradient: with effective MAE always >= spread, the pnl/MAE fitness could no longer distinguish good from bad genomes, so corrected V3 s42 (−2.2 p/d EUR_GBP, 245 trades all one direction, fitness −10) and both Vmax runs went degenerate. The repair was a new fitness — pips/day on the worst walk-forward chunk, no MAE denominator — plus a switch to S5 cadence; the deeper lesson (the fill/cost model can BE the edge) became a book theme.

Key result

Real spreads 1.35-3.89p vs assumed 1.30-3.50p; E2's 88 p/d had MAE 0.59p < 1.49p spread (impossible); corrected V3 s42: −2.2 p/d EUR_GBP / +1.6 CAD_JPY, 245 trades all one direction, fitness −10; Vmax (1,575 conn) all degenerate; fix = pips/day worst-WF-chunk fitness

Indicators

ASIMC(D)MC(dD)Kaufman Efficiency RatioSB_A (ASI swing breakout)hh_asi / hl_asi (ASI swing structure)ERP (dropped — unbounded)unrealized P&L (UPnL)

Algorithms

NEAT neuroevolution (deep fixed topology, wavelet activations)free-phase topology pruningsensitivity analysis for feature selectionwalk-forward-in-fitness evaluation

Code

Interactive version (search, filters, figures): the experiment explorer.

← #5 Per-pair IronNet V3, 12 pairs#7 LightGBM/SHAP indicator ranking →
This page is one experiment from the audited record behind the book The Edge That Wasn'tget the book · about the project.