Module 02 · Idea to live, in order · Lesson 08
Backtesting honestly
Costs, closed bars, modelling quality and sample size. A backtest is a description of the past, not a forecast.
7 minute read
What a backtest can and cannot tell you
A backtest replays your rules over history and reports what would have happened. It can show that rules are broken (they lose even in the past), that costs eat the edge, or that the drawdowns are bigger than you could sit through. It cannot show that the rules will work next year.
The four honesty checks
Costs: include spread, commission and slippage. Many short-term ideas vanish once a realistic spread is charged. Timing: decisions on closed bars, fills on the next bar. Data: in the MT5 Strategy Tester, prefer "Every tick based on real ticks" for anything intrabar; "Open prices only" is fine only for EAs that genuinely act once per bar. Sample: tens of trades prove nothing; aim for hundreds across different market conditions.
Read the drawdown first
Before net profit, look at the deepest drawdown and the longest time spent below a previous high. Ask honestly whether you would have kept the EA switched on through them. Live drawdowns are usually deeper than tested ones, not shallower.
Try it in the Lab
The MarketPanda Backtest Lab runs your builder rules on ten years of real daily prices with costs, shows the equity curve and drawdown, and splits the history into in-sample and out-of-sample so you can see the next lesson's problem for yourself.
Takeaways
- Charge realistic costs; many edges are smaller than the spread.
- Judge a test by its drawdown and sample size before its profit.
- A backtest describes the past. It is not a forecast.
Primary references
Your rules, our teaching. MarketPanda provides no strategy, no settings that “work” and no signals. Everything here is education; nothing is a recommendation to trade.
Content source: Bundled MarketPanda content.