Forex backtesting software is a program that runs a currency trading strategy over historical exchange rates and reports how it would have performed. Good forex backtesting software uses minute or tick data with bid and ask, charges spread, commission and swap like a broker, and never lets the strategy see prices it could not have known.
What makes the best forex backtesting software?
The best forex backtesting software is the one whose results you can trust and repeat, not the one with the most buttons. Four things decide it: the quality of the price data, the fill model, the costs it charges and the tools to test robustness. Everything else is convenience.
| Criterion | Why it matters | What to check |
|---|---|---|
| Data with bid and ask | Every forex trade crosses the spread | Tick data or minute bars with both sides, and which days are covered |
| Data resolution | Bars hide the order of stop and target | Whether you can choose bars or ticks, and whether the run records which |
| Costs | Small edges die on costs | Spread, commission per lot and side, swap with the triple Wednesday |
| No lookahead | Future prices make any strategy look good | Signals on closed bars, fills on later prices |
| Robustness tools | One good backtest proves little | Out of sample, walk forward, Monte Carlo |
| Languages | You should not rewrite a strategy to test it | The languages it accepts and what it can export |
How do you backtest a forex strategy?
Backtesting a forex strategy follows the same steps as any backtest, with three forex specific settings: the pip value, the swap and the time zone.
- Write the rules down: entry, exit, stop, target and position size in lots.
- Choose pairs and a period of several years that covers trends, ranges and news shocks.
- Pick the resolution: minute bars for most strategies, bid and ask ticks for scalping and tight stops.
- Set the costs: spread, commission per lot and side, and swap per lot and night for long and short.
- Fix the time zone of sessions and the daily close, including daylight saving changes.
- Run and read the trade list, then test on data the parameters were not tuned on.
For the cost side in detail, see spread, commission and swap. For when ticks matter, see tick data backtesting.
How much is a pip worth in a EURUSD backtest?
In a EURUSD backtest one pip is 0.0001, and on one standard lot of 100,000 euros it is worth 10 USD. A 20 pip stop on 1 lot therefore risks 200 USD, and on 0.1 lot it risks 20 USD. The pip value is always in the quote currency, the second one in the pair.
| Pair | One pip | Pip value per standard lot |
|---|---|---|
| EURUSD | 0.0001 | 10 USD |
| GBPUSD | 0.0001 | 10 USD |
| AUDUSD | 0.0001 | 10 USD |
| USDCHF | 0.0001 | 10 CHF |
| USDJPY | 0.01 | 1,000 JPY |
When the quote currency is not the account currency, the backtest has to convert every profit and loss at the rate of that moment. A USDJPY trade on a USD account earns yen, and its dollar value moves with the exchange rate.
What is different about backtesting forex?
Backtesting forex differs from backtesting stocks because the forex market has no central exchange. Every broker and data provider sees its own stream of quotes, so tick data from two sources never matches exactly, and there is no consolidated volume. A forex backtest is always a test against one particular price feed.
- Sessions: Asia, London and New York trade with very different ranges and spreads. A rule that works in London can fail in Asia.
- Rollover: around the daily rollover spreads widen sharply, which hits stops and entries placed at that hour.
- Swap: positions held overnight pay or earn swap, three nights at once on Wednesday for most pairs.
- Daylight saving: Europe and the United States change their clocks on different dates, so session times shift against each other for a few weeks each year.
- Weekend gaps: the market closes on Friday and opens on Sunday evening, and the first price can jump past a stop.
How do forex backtesting platforms compare?
Forex backtesting platforms differ most in where their data comes from, how finely they fill and which costs they charge. The table sets the Orion Quant Technologies Engine beside cTrader, MetaTrader 5 and TradingView, as each platform documents itself (checked 2026-10-01).
| Feature | Orion Quant Technologies Engine | cTrader | MetaTrader 5 | TradingView |
|---|---|---|---|---|
| Historical data | Own archive: minute bars and every tick with bid and ask | Broker server tick and bar history | M1 bars and real ticks from the broker's server | Built in market data, tick history limited |
| Resolution | OHLC, minute bars or ticks, recorded per run | Tick, M1 or H1 data per backtest | Real ticks, every tick, M1 OHLC, open prices | Bar based, finer intrabar detail |
| Costs | Spread, commission per lot and side, swap with triple Wednesday | Commission and fixed or random spread | Spread, tiered commission, swap with triple day | Commission and slippage, swap not built in |
| Optimization | Grid and genetic, walk forward | Grid and genetic | Complete search and genetic | No built in optimizer |
| Languages | Python, C#, Pine Script, Rust, visual blocks | C# and Python | MQL5 | Pine Script |
More detail in MT5 strategy tester alternative, cTrader backtesting and Pine Script backtesting.
How do you backtest forex in the Orion Quant Technologies Engine?
The Orion Quant Technologies Engine has forex built in from our own archive, with minute bars and every tick with institutional bid and ask, and each instrument shows which days are there before you download. A run is computed on OHLC, minute bars or ticks, and records which. Costs are fields: a spread band, commission per lot and side, and swap with the triple rollover on Wednesdays.
You write the strategy in Python, C#, Pine Script, Rust or visual blocks, or describe it in plain language to the AI assistant. An existing cBot or MT5 Expert Advisor is imported and translated by the AI assistant. A strategy that compiles to the engine's own format exports to MetaTrader 5 as an Expert Advisor, to cTrader as a cBot and to TradingView as Pine Script. Grid and genetic optimization, walk forward and Monte Carlo audits are described on the tools page. The engine is in early access through the waitlist.
Frequently asked questions
What is the best forex backtesting software?
The best forex backtesting software for you is the one that tests your strategy on data and costs close to your broker's. Look for bid and ask data at the resolution your stops need, spread, commission and swap as settings, no lookahead, and tools for out of sample and walk forward testing. Then check that it accepts the language your strategy is written in.
Can I backtest forex for free?
Yes. Most trading platforms include a strategy tester, and broker platforms usually come with history from the broker's server. The Orion Quant Technologies Engine has a free plan as well. The limits are usually the depth of history, the data resolution and how much optimization you can run, so check those before trusting a free result.
How many years of data do I need to backtest a forex strategy?
Enough for a few hundred trades across trending, ranging and volatile markets. For an intraday forex strategy that is often two to five years, for a swing strategy on daily bars ten years or more. Include at least one period of sharp moves, such as a central bank surprise, to see how the stops behave.
Why do backtest results differ between forex brokers?
Because the forex market has no central exchange, every broker streams its own quotes with its own spreads. Prices, spread widening at rollover and the timing of the daily close all differ slightly. Tick data from one source therefore never matches another exactly, and a strategy with a small edge per trade can show different results on each.
Research and testing only. A backtest shows how rules behaved in the past, not what they will earn. Nothing here is investment advice.