Testing

Backtesting vs Demo vs Live: What Each Test Can Prove

A practical guide to what backtests, paper/demo accounts and small live tests can and cannot tell you about a bot.

MetaTrader optimization results with several negative outcomes
Hands-on screenshot: optimization can produce many weak or losing candidates, which is exactly why validation matters.

A practical guide to what backtests, paper/demo accounts and small live tests can and cannot tell you about a bot.

Updated 2026-09-06TestingPractical guide2 min read

In plain English

This guide explains what a test can and cannot prove. Backtests, demo environments and small live tests answer different questions and should not be treated as interchangeable.

backtestdemolive testfailure case
Practical example

Why weak results are useful

A screen full of losing optimization candidates is not wasted work. It can reveal that the idea is fragile, the search space is wrong or the assumptions only worked on a narrow period.

MT5 Strategy Tester interface
A structured backtest environment.
Optimization results with many weak candidates
Why validation should include bad outcomes, not just the best line.

Backtest: logic and historical behavior

A backtest is useful for checking strategy logic, parameter sensitivity and historical distributions. It usually cannot reproduce every detail of latency, partial fills, outages or broker-specific rejection rules.

Demo/paper: integration and workflow

Demo is where you prove authentication, symbol mapping, position checks, order lifecycle, restart behavior and logging. It is also the right place to intentionally trigger errors.

Live: execution reality

Only live trading can reveal the exact live environment, but that does not justify skipping earlier stages. If a live test is used, size should be constrained and the purpose should be defined before starting.

TestGood forWeak at
BacktestHistorical logic, distributionsReal execution
Demo/paperAPI integration, workflowExact live fills/behavior
Small liveActual broker environmentLarge statistical conclusions from few trades

Keep a promotion gate

Define requirements before moving stages: no duplicate orders, stable restart behavior, known maximum drawdown in tests, enough observations, and no unresolved broker errors.

Before you rely on this in production

  • Historical and demo tests are not confused with live proof.
  • Failure paths are tested deliberately.
  • Restart/recovery is included.
  • Test logs are detailed enough to explain outcomes.
Real backtest evidence

A result table is more useful when it shows the bad rows too

MetaTrader optimization results with profitable and losing symbols
MT5 Strategy Tester

The same EA produced very different outcomes across symbols

Some symbols were positive, several were negative, and others produced no trades. This is why optimizing one market and one period can create false confidence.

Look beyond net profit: trade count, drawdown, profit factor and stability matter.
MetaTrader 5 strategy tester and chart during an Expert Advisor test
Visual testing

Watching the EA on the chart helped catch behavior the summary table could hide

Visual testing can reveal entries at unexpected times, delayed reactions and rules that technically execute but do not match the intended idea.