BEST FOREX BROKERS

    TRUSTED·REVIEWED·RANKED

    Strategy

    Written by Best Forex Brokers Team · 2025-11-29 · 12+ min read · Fact checked

    How to Backtest Your Forex Strategy: Complete Guide

    Backtesting validates strategies before risking real money. Here's how to do it properly using the tools available at UK brokers.

    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.

    Brokers covered 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

    Strategy trading illustration

    Broker Comparison

    How the brokers mentioned in this article compare on key metrics:

    BrokerRatingSpreadMin. DepositAction
    Pepperstone logo
    Pepperstone

    FCA #684312

    4.7/5
    4.7
    From 0.0 pips£0Visit
    Admiral Markets logo
    Admiral Markets

    FCA #595450

    4.2/5
    4.2
    From 0.5 pips£100Visit
    Axi logo
    Axi

    FCA #509746

    4/5
    4.0
    From 0.4 pips£0Visit

    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:

    ●Multi-timeframe testing
    ●Walk-forward analysis
    ●Optimisation capabilities
    ●Detailed performance reports
    ●ProBuilder scripting for custom strategies

    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

    ●Curve fitting: Optimising parameters too precisely to historical data (overfitting)
    ●Survivorship bias: Only testing on instruments that currently exist
    ●Look-ahead bias: Using information that wouldn't have been available at the time
    ●Ignoring transaction costs: Not accounting for spreads, commissions, and slippage
    ●Too short a test period: Testing on only months rather than years

    Brokers Mentioned in This Article

    1
    Pepperstone logo
    4.7
    4.7/5
    Spread

    From 0.0 pips

    Min. Deposit

    £0

    Platforms

    MT4, MT5

    Ultra-competitive spreads from 0.0 pips Multiple platform options including TradingView
    2
    Admiral Markets logo
    4.2
    4.2/5
    Spread

    From 0.5 pips

    Min. Deposit

    £100

    Platforms

    MT4, MT5

    Good educational resources MetaTrader Supreme Edition
    3
    Axi logo
    Axi
    FCA
    4.0
    4/5
    Spread

    From 0.4 pips

    Min. Deposit

    £0

    Platforms

    MT4, MT4 NexGen

    No minimum deposit Competitive spreads
    4
    IG logo
    IG
    FCA
    4.9
    4.9/5
    Spread

    From 0.6 pips

    Min. Deposit

    £0

    Platforms

    MT4, ProRealTime

    No minimum deposit Zero commission on shares
    Risk Warning: Forex and CFD trading involves significant risk. 74-89% of retail investor accounts lose money when trading CFDs. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.
    Related Reading