The anti-over-fitting gates, in one view
A strategy has to pass all six of these before it can even enter a portfolio. Each one attacks a different way a backtest can lie.
Stage 1 · Real costs at search timeSpread, commission, swap and the firm's limits applied from the first trial, not bolted on after.
Stage 2 · Lose your best tradesBest 10% of trades deleted; must still pay. Kills the "two lucky winners" strategy.
Stage 3 · Miss some tradesRe-scored with trades skipped, as live servers do.
Stage 4 · No near-copiesStrategies taking 90%+ of the same trades count as one.
Stage 5 · Out-of-sample testFrozen settings on a block of data the search never saw. Must still pay. On our FXIFY run a second unseen period was applied as well before any portfolio was built.
Stage 6 · Jiggle testSmall and ±5% nudges on exits, plus doubled spread. A real edge is a plateau, not a knife-edge. On our FXIFY run two-thirds failed here.
Portfolios then face eight more. Every pass rule is written before results are seen. Every result is kept and shown — never cut to a "top ten".
Stage 8 · Every risk levelEach portfolio judged on the full risk grid; best passing level recorded, safer levels kept.
Stage 9 · MarginEvery trade must be openable at its size with the rest of the portfolio open.
Stage 10 · Ranking, with the gap shownFast ranking figures shown beside projected exact figures; shortlists on the exact projection.
Stage 11 · Genuinely differentNo shared strategies, little overlap in trades, measured on losing together.
Stage 12 · Rules written firstFinalists chosen by a rule sheet fixed before results are seen.
Stage 13 · Exact account replayMinute by minute under the account's real rules, payouts and costs.
Stage 14 · Thousands of futuresHistory reshuffled 2,000 times; breaches counted.
Stage 15 + 16 · Platform, then sealed dataMetaTrader 5's own tester as one account, then one run on data nobody touched.