A practical guide to specifying, implementing, testing, and challenging an automated trading system — with code excerpts, experiment plans, and clearly labelled illustrative examples. The notes build on each other, so start at Lab Note #01 if you're finding this later.
Strip away the mystique. A trading system is explicit rules — data, entries, exits, sizing, and execution assumptions. Nothing more.
Read note →A fast/slow moving-average crossover. We choose something trivial because we're teaching the development process, not pretending we've found alpha.
Read note →Translating the specification into readable MQL5: closed-bar signals, position ownership, and execution checks.
Read note →MetaTrader's Strategy Tester: what it actually does, what the numbers mean, and why you shouldn't get excited yet.
Read note →Net profit isn't enough. Trades, drawdown, Sharpe, recovery factor, equity curve shape, and the assumptions hiding underneath.
Read note →Search the MA periods, inspect the historical winner, and uncover selection bias before trusting the result.
Read note →Separate development from evaluation: historical forward splits, rolling walk-forward studies, and live demo testing.
Read note →Different instruments, time periods, execution assumptions, costs, and parameter neighbourhoods. This is where it gets interesting.
Read note →The experiments from #08 turned into a fixed, ordered checklist for reviewing any system, with findings ranked by severity.
Read note →Have a system you want specified, built, or stress-tested? Get in touch.