Home › Guides › Forex Backtesting Software

TESTING TRAPFREENO ACCOUNTAUTOMATED TRADE BOTSForex BacktestingSoftwareWhy a good backtest can lieEDUCATION ONLY | NO SIGNALSEXAMPLE NUMBERS ARE LABELLEDAUTOMATED TRADE BOTSautomatedtradebots.com
A free page on forex backtesting software. Education only, with example numbers labelled.
TESTING TRAP

Forex Backtesting Software

Short answer

Forex backtesting software replays rules over past prices and reports the trades. Four things decide whether to trust it: data quality, a cost model, no look-ahead, and a trade export.

Backtesting software is only a calculator for your rules. The result is as good as its data, its cost model and its honesty about what was known when.

The page explains the idea in plain words, works through the arithmetic with a table, and shows how it hits grid, martingale and DCA bots, then tells you what to check before you run one.

  • A worked example with real arithmetic
  • How it hits grid, martingale and DCA bots
  • How to check for it before you run a bot
  • No advice, no signals, no profit promises

Last reviewed 28 October 2026. Education only, not advice.

Free, no account Runs in your browser Worked numbers shown Not advice Examples labelled

Ready to go further

Next: reshuffle your exported trade list

The Monte Carlo simulator takes a list of trade results like the export above and shows how much the path of the account depends on their order.

Reading time4 minutes
Worked exampleExact arithmetic
Tools linked1 on this page
Reviewed28 Oct 2026

What is included

  • What it is, in plain words
  • The formula or mechanism, with exact arithmetic
  • How it hits grid, martingale and DCA bots
  • A check you can run before you switch a bot on

Who it is for

  • People who run or plan to run a trading bot
  • Anyone reading a backtest or a bot sales page
  • Readers who want the numbers, not the pitch
  • Not advice, and not a signal service
One made-up trade list, three totals (percent of traded amount)+1.90%Tool headlineno cost model+0.94%Recomputedafter 0.12 per trade-2.26%Signals 1 bar laterafter costsMade-up numbers. Calculated by us on 29 Oct 2026, exact.
The picture for this page. Example numbers are made up unless the page says they were calculated.

Key facts

  • Forex backtesting software replays rules over past prices and reports the trades. Four things decide whether to trust it: data quality, a cost model, no look-ahead, and a trade export.
  • A tool that shows only a headline total cannot be checked. A tool that exports every trade can be recomputed by hand or in a spreadsheet.
  • In the made-up example below, a tool prints +1.90 percent, but the same eight trades are +0.94 percent after a 0.12 percent cost per trade (calculated by us on 29 Oct 2026, exact).
  • Delaying every signal by one bar is a simple test for look-ahead. A result that collapses with a one bar delay was probably using the future.
  • This page names no products, and you will find that the features differ widely. Check each claim on your own data.

What backtesting software does

Forex backtesting software takes a set of rules and a file of past prices, steps through the prices, and records each trade the rules would have made. It then summarises them. Some tools are built into trading platforms, some are stand-alone, and some are code libraries you drive yourself. The method is the same in each, and is covered in how to backtest. This page is about judging the tool.

Any tool can run. The question is whether its answer can be believed. Four checks cover most of it.

The four checks

1. Data quality

  • Source and time zone. Is it written down? Different feeds disagree by small amounts, and day boundaries move with the time zone.
  • Detail. Ticks or bars? A bot that acts inside a bar needs detail the bar does not hold. See the strategy tester page.
  • Gaps and bad ticks. A single wrong price can create a fake winning trade. Good tools show gaps or let you inspect them.
  • Bid and ask. Does the data hold both sides, or one price with a fixed spread added?

2. A cost model

The tool should let you set the spread, commission, slippage and overnight charges, and let you change them for a stress test. A tool with no cost inputs reports a number that no account will see. Costs vary by broker and account type, so use your own.

3. No look-ahead

The tool must feed rules only what was known at the time. Ask: at which price does a signal on a bar fill? Is an indicator calculated with the unfinished bar? Can a rule reach a future bar by accident? See look-ahead bias. Many errors live in the user's code, not the tool, so the delay test below is worth running whatever the tool.

4. An export of every trade

The tool should give you the trade list with entry time, exit time, prices, size and costs. Without it you cannot recompute the headline, filter the result by year or by hour, or hand the trades to a Monte Carlo simulator.

A worked example: recompute the export

A tool prints a headline of +1.90 percent for a strategy. You export the 8 trades. Every number below is made up, in percent of the traded amount. The tool had no cost input, so you subtract a cost of 0.12 percent per trade yourself. The last column is the same rules run again with every signal delayed by one bar, also after costs. Everything was calculated by us on 29 Oct 2026 and is exact.

TradeTool resultCostNetNet, signal 1 bar later
1+1.200.12+1.08+0.28
2-0.700.12-0.82-0.82
3+0.900.12+0.78+0.08
4-0.700.12-0.82-0.82
5+1.500.12+1.38+0.48
6-0.700.12-0.82-0.82
7-0.700.12-0.82-0.82
8+1.100.12+0.98+0.18
  • Tool headline: +1.90 percent, the sum of the first column.
  • Recomputed with costs: +0.94 percent. Eight trades at 0.12 take 0.96 points.
  • With signals one bar later: -2.26 percent. Most of the result depends on acting on the very next price.

Two readings are possible. Either the strategy is quick and the live fill really will be hard to get, or the original run used a price it could not have had. The test cannot tell which. It tells you to look at how the tool fills signals before trusting it. Eight trades is far too few to conclude anything, and is used only to show the steps.

Running total of the 8 exported trades after costs (made-up)-1020480Trade numberMade-up trades, percent of the traded amount. Calculated by us on 29 Oct 2026, exact.
After costs, the same eight trades build slowly. A tool that stops at the headline hides this.

Other things worth checking

  • Repeatability. The same inputs and data should give the same trades every run.
  • Out-of-sample support. Can you hold part of the data back, or run walk-forward testing? Without it, tuning drifts into overfitting.
  • Position sizing and margin. Does the tool model margin calls, or does it let a losing grid run forever? For grid and martingale bots, this decides whether the test means anything.
  • Documentation. Does it say how it fills orders and handles the first bars of an indicator?

What no tool can tell you

Software cannot supply data it was never given, or events that did not happen in the sample. A clean report is a model result. It is followed by forward testing, not by trust.

FAQ

Frequently Asked Questions

What should forex backtesting software include?

Detailed, documented data; inputs for spread, commission, slippage and overnight charges; fills that use only what was known at the time; and an export of every trade.

Why does the export matter?

With the trade list you can recompute the headline, add costs the tool left out, split results by period, and feed the trades to other tools.

How do I test for look-ahead bias?

Delay every signal by one bar and rerun. A result that collapses is a warning, though a quick strategy may also lose some edge honestly.

Is free software good enough?

Price does not decide it. The four checks of data, cost model, no look-ahead and export do.

Can I trust the built-in report of a platform?

Treat it as a first look. Recompute from the trades and stress the costs before relying on any number.

Are the numbers on this page real?

Example numbers are made up to show how the maths works, and the page says so. A figure only counts as exact when the page says it was calculated on a stated date. Nothing you enter in a calculator leaves your browser.

Can I use this to decide whether to run a bot?

It can show whether a bot's numbers hold together and how much an account can lose. It cannot say what the market will do, and it is not advice. Use it to ask better questions, then read the terms of your own broker or exchange.

Is this financial advice?

No. It is general education about testing tools. The numbers are made up and no product is recommended.

Know the Risk Before You Run It

Free calculators and guides, added every week. Leave your details and we will email you when new ones go up.

Trading carries a risk of loss