Key Takeaways & What's in This Article
Backtesting validates strategies before risking real money. Here's how to do it properly using the tools available at UK brokers.
UK traders: up to £85,000 FSCS protection
Every broker referenced in this article is authorised and regulated by the Financial Conduct Authority. That means retail client money is held in segregated accounts at tier-one UK banks, negative balance protection applies so your account cannot be pushed below zero, leverage is capped at 30:1 on major FX pairs, and eligible clients are covered by the Financial Services Compensation Scheme up to £85,000 per person, per firm, if the broker fails. We verify each firm's FCA reference number before publishing and re-check it whenever pricing or permissions change. Always confirm a broker on the FCA Register yourself before depositing.
In This Article
What Is Backtesting?
Backtesting is the process of testing a trading strategy against historical data to evaluate its performance. It answers the fundamental question: "Would this strategy have been profitable in the past?" While past performance doesn't guarantee future results, a strategy that fails in backtesting will almost certainly fail in live trading.
Types of Backtesting
Manual Backtesting
Scrolling through historical charts and manually identifying where your strategy would have entered and exited. This is time-consuming but gives you an intimate understanding of how your strategy behaves across different market conditions.
Automated Backtesting
Using platform tools to run your strategy against historical data programmatically. Much faster than manual testing and eliminates emotional bias from the results.
How to Backtest Properly
Step 1: Define Your Strategy Rules
Write down your exact entry criteria, exit criteria, stop loss rules, and position sizing. Every rule must be specific enough to be applied consistently.
Step 2: Choose Your Testing Period
Broker Comparison
How the brokers mentioned in this article compare on key metrics:
| Broker | Rating | Spread | Min. Deposit | Action |
|---|---|---|---|---|
Pepperstone FCA #684312 | 4.7/5 4.7 | From 0.0 pips | £0 | Visit |
Admiral Markets FCA #595450 | 4.2/5 4.2 | From 0.5 pips | £100 | Visit |
Axi FCA #509746 | 4/5 4.0 | From 0.4 pips | £0 | Visit |
Test across at least 2-3 years of data covering different market conditions (trending, ranging, volatile, calm). Testing only during favourable conditions produces misleading results.
Step 3: Record Every Trade
Log entry price, exit price, stop loss, take profit, P&L, and whether the trade followed the rules. A spreadsheet works for manual backtesting.
Step 4: Analyse the Results
Key metrics: win rate, average win size, average loss size, risk-reward ratio, maximum drawdown, profit factor (gross profit / gross loss), and total return.
Step 5: Out-of-Sample Testing
After optimising your strategy on one dataset (in-sample), test it on a completely different time period (out-of-sample) that wasn't used in development. If it performs similarly, the strategy is robust.
Best Backtesting Tools at UK Brokers
MT4/MT5 Strategy Tester
Available at Pepperstone, Admiral Markets, Axi, and most MT4/MT5 brokers. Allows automated backtesting of EAs with tick-level data. MT5's tester is significantly better than MT4's, with multi-currency testing and visual mode.
IG ProRealTime, ProBacktest
IG ProRealTime includes ProBacktest, an advanced backtesting engine with:
ProBacktest is one of the most powerful retail backtesting tools available.
TradingView Strategy Tester
Available through Pepperstone's TradingView integration. Pine Script strategies can be backtested visually on TradingView's charts with detailed performance reports.
Common Backtesting Mistakes
Brokers Mentioned in This Article
From 0.0 pips
£0
MT4, MT5
From 0.5 pips
£100
MT4, MT5
From 0.4 pips
£0
MT4, MT4 NexGen
From 0.6 pips
£0
MT4, ProRealTime