Backtesting · 7 min read

How to Backtest Forex (Step-by-Step, With Free Data)

Forex is one of the best markets to backtest: it trades 24 hours a day, five days a week, with deep liquidity and decades of available history. But it also has quirks — sessions, news spikes and spread changes — that a naive backtest ignores. Here is how to do it properly.

Pick the pair and the session

Start with one pair and learn its rhythm. The majors — EUR/USD, GBP/USD, USD/JPY — have the tightest spreads and the cleanest price action for testing. EUR/USD alone accounts for the largest share of daily forex volume.

Forex runs across the Sydney, Tokyo, London and New York sessions, and a pair behaves very differently depending on the time of day. The London–New York overlap is the most active window for the dollar majors. Decide which session your strategy is for and test it there.

Get representative historical data

You need intraday OHLC data at the resolution you trade. Daily candles are fine for swing strategies; for intraday you want 1-minute to 1-hour data. Make sure it spans different regimes — trending, ranging and high-volatility news periods.

You do not need to pay for data to start: Secuora replays real forex history bar by bar, with deeper intraday depth available on paid plans and decades of daily history.

Run it bar by bar

Replay the chart candle by candle and trade your rules without peeking ahead. Forex strategies are often session- and news-sensitive, so bar-by-bar replay — where you feel the timing — usually teaches more than a fully automated test.

Take enough trades across enough dates to get a real sample, and journal each one.

Account for spread, news and rollover

  • Spread: include a realistic spread; it widens around the session close and major news.
  • News spikes: scheduled releases (NFP, CPI, central-bank decisions) cause violent moves and slippage — decide whether your strategy trades through them or sits out.
  • Session gaps: the weekend gap (Friday close to Sunday open) can jump your stops.
  • Rollover/swap: holding overnight incurs a small financing cost or credit.

Review and forward-test

Read your results with win rate, profit factor and expectancy, not just total pips. Then forward-test on dates you have not replayed before you trade it live.

Browse individual pairs and their sessions on the Secuora markets pages, or jump straight into the replay terminal — crypto is free and forex history is available to backtest with no card required to start.

Frequently asked questions

What is the best forex pair to backtest?

Start with a major like EUR/USD — it has the tightest spreads, the deepest liquidity and the cleanest price action, which makes results clearer. Add GBP/USD or USD/JPY once you have a process.

Where can I get free forex data to backtest?

Secuora replays real historical forex data bar by bar without paying for a data feed; deeper intraday history is available on paid plans, and daily history spans decades.

Does session timing matter when backtesting forex?

Yes, a lot. A pair behaves very differently in the Asian, London and New York sessions. Decide which session your strategy targets and backtest it specifically in that window.

Practise this on Secuora

Free trading journal + bar-by-bar replay backtester. Crypto replay is free and there's a live demo with no sign-up.

Keep reading