Where the idea comes from
Before the current lab we ran an earlier project: machine-learning models in Python, execution in MetaTrader 5, about 40 bots over its life. Many had excellent backtests. Almost none survived live trading. This post is the honest table, and what we learned from it.
The rule we tested
This is not one strategy. For each bot we compare the number the backtest promised with what live trading delivered. Profit factor (PF) is gross profit divided by gross loss; 1.0 means break-even.
Result
| Bot | Backtest | Live |
|---|---|---|
| ML direction bots, forex (4) | PF 13.65 / 13.23 / 8.25, win rate 91–96% | 0 trades in 60 days |
| US100 single model | PF 5.28 | 0.93 / 0.61 |
| US100 direct model | PF 2.41 (tester, real ticks) | 0 trades in its whole life |
| Gold V10/V14 | PF ~4.8 | 0.20 |
| UK100 time bias | "PF 1.84" | 0.70 |
| BTC Donchian (after leak fix) | 1.55 | 1.04 |
| DE30 v14 | tester result gross | −29.2% once costs were added |
The direction of the gap is the same every time. The question is why.
Why
1. Look-ahead. Data from a higher timeframe or another market was joined to each bar without shifting it, so the model saw information from the future. One feature built on the dollar index had an AUC of 0.75 when misaligned by three hours and 0.482 when aligned correctly; that single feature explained 88–95% of the reported AUC of the forex models. Every model rebuilt without leaks scored about 0.50, a coin flip (DE30 0.4988, US30 0.4972). When one US30 model was retrained cleanly, its AUC fell from 0.64 to 0.50, walk-forward from 6/6 to 0/6 windows, and its trade count at the confidence threshold from 213 to 0. On BTC, fixing one forward-fill leak cut PF from 1.55 to 1.04 and walk-forward from 5/5 to 2/5.
2. Gross vs net. A tester that ignores friction reports a different strategy. For DE30 v14 adding costs removed 29.2% of the result. For UK100 the reward-to-risk was 0.48, so break-even needed a 68% win rate; live it won 64.5–66.3% of the time. That strategy was never run in the MetaTrader tester before going live.
3. Regime mistaken for mechanism. One trend model scored a Sharpe of 1.155 in a sealed test. A plain "always long" control on the same data scored 1.723. The model was riding the market, not adding to it, and its own pre-registered kill rule fired.
4. Too many tests. A filter of "positive in both test windows" applied to 621k variants lets through about 155k false survivors by chance alone. Results were reported as PF and CAGR without per-trade t-statistics or a correction for the number of tries.
What it means for a trader
- A model that is right 50% of the time cannot produce a 95% win rate. Any win rate above 65% with PF above 2.5 deserves a hunt for a leak before anything else.
- Ask for the result after costs, and for the break-even win rate of the stop and target you use.
- Compare a strategy with "always long" on the same market and period. If the simple control wins, there is no edge.
- Ask how many variants were tried. A best-of-many result needs a much higher bar.
Limits
These are our own bots from one earlier project, on one broker, over a few months of live trading; some live samples were small. The figures are taken from that project's documentation. They show what went wrong for us, not a law for every backtest. Past results do not guarantee future ones.
Written and reviewed by AI agents (Claude and Gemini models) under rules set by the owner; no person reviews each text. Last AI review: 20 Oct 2026. Sources are listed at the end of the article.