Find my broker

🎯 Strategy and practice · Intermediate · 10 min read · Lesson 28 of 42 · Free with an account

How to backtest a trading strategy and practise on a demo account

Backtesting means checking how your rules would have performed on past prices. Demo trading checks them in live markets without real money. Together they tell you whether a strategy is worth risking money on.

Manual backtesting in 7 steps

  1. Write your rules so clearly that someone else could follow them.
  2. Choose one instrument and timeframe and go back 1–3 years on the chart.
  3. Move forward candle by candle (TradingView's Bar Replay helps).
  4. Every time your setup appears, record entry, stop, target and result in a spreadsheet.
  5. Do not skip trades you “would not have taken”.
  6. Collect at least 50, ideally 100 trades.
  7. Calculate win rate, average win, average loss, expectancy and the longest losing streak.
Loading the rest of the lesson…

Questions people ask

Is demo trading the same as live trading?

The prices are similar, but emotions are not. That is why the next step is a small live account with low risk.

Read next

Educational content only, not financial, investment or tax advice. Trading forex and CFDs carries a high risk of losing money. Look up any term in the trading glossary.