Subscribe
EN

Guide · 5 min read

What a real gold EA backtest should include

Short answer: A real gold EA backtest uses detailed tick data, charges spread, commission, swap and slippage, covers years with different gold conditions, and shows results on data the EA was never tuned on. It should survive small changes to its settings, report equity drawdown honestly and contain enough trades to rule out luck.

Published: 16 October 2026.

Free, no sign-up On sale: the Monthly Pass and the Lifetime Pass. See the plans

A backtest is not a track record. It is the seller's own simulation, so it can only rule an EA out, never prove it works. For live results, see how to verify a gold EA's track record. For why good tests still fail on a real account, see why gold EAs fail live. This page is about what a test must contain before it is worth reading at all.

What makes a gold EA backtest trustworthy?

Realistic data, full trading costs, a long period with different gold conditions, results on data the EA was never tuned on, settings that still work when nudged, honest drawdown and enough trades. A backtest missing any of these can look far better than the EA really is.

Ask for the full report, not a cropped equity curve. In MT5 the Strategy Tester report shows the modelling mode, the period, the deposit, the costs and the trade list. If a seller won't share it, you have learned something.

What data and modelling quality should the backtest use?

Real tick data or the most detailed modelling your platform offers, from a broker feed close to the one you'll trade on. Testing on bar open prices or coarse bars can hide what happens inside each bar, which matters for tight stops and short holding times.

In MT5, "Every tick based on real ticks" is the most detailed mode. Coarser modes guess the path the price took inside a bar. For an EA that holds trades for hours, the guess may not matter much. For one that scalps a few points, it can decide whether a trade hit its stop or its target first. Also check which broker's data was used. Gold prices, spreads and session times differ between brokers, so a test on one feed can mislead on another.

Which trading costs must be in the backtest?

Spread, commission, swap and slippage. Gold spreads widen at quiet hours and around news, commission is charged per lot, swap is charged on overnight positions and slippage hits fast fills. A test with a fixed tight spread and no commission flatters the result.

Check each one in the report:

A good habit is to rerun the test with costs made harsher. If the result collapses, the edge was thinner than the costs.

  1. SpreadFour times wider in the hours around the daily break
  2. CommissionThe broker's fee, on every trade
  3. SlippageThe price moves before the order fills
  4. FinancingA long position held past 17:00 New York, three nights on Wednesdays

Getting in and out costs about 0.013% of the trade's value. Then the whole test runs again with every cost doubled.

What every test trade pays

How long should a gold EA backtest be?

Long enough to include different kinds of gold market: strong trends, sideways stretches, quiet periods and sharp volatile ones. A test covering a single calm or single trending stretch only tells you how the EA does in that one condition.

Gold behaves differently from one stretch of years to the next. A trend-following EA tested only on a strong trend will look brilliant, and a range-trading EA tested only on a quiet range will look brilliant too. Ask which years are covered and why the test starts where it does. A start date chosen just after a bad stretch is a common way to clean up a curve.

What are out-of-sample and walk-forward testing?

Out-of-sample means checking the EA on data it was never tuned on. Walk-forward repeats this in steps: tune on one window, test on the next, then move forward. Only the results on unseen data say much about the future.

Any EA can be tuned until it fits the past. The more settings it has, the easier that is. So ask which part of the period was used to choose the settings, and which part was kept back. If the answer is "all of it", the whole test is in-sample and shows only how well the settings fit history.

Do nearby settings still work?

A robust EA keeps working when its settings are nudged a little. If one exact value works and its neighbours lose, the result is probably a fit to noise. Ask to see results for a range of settings, not just the best one.

  • Settings chosen here
  • Judged here, never seen before
  • Kept apart for one last check
The real test windows. Each row is one round; only the solid gold half-years count.

How do I read drawdown and trade count in a backtest?

Read the maximum drawdown on equity, not just balance, and how long it took to recover. Check the number of trades too. A handful of trades, however good, can be luck. More trades across more years make the result harder to fake.

Equity drawdown includes open losses, which matters for any EA that holds losing trades. If balance drawdown and equity drawdown are far apart, read our guide on how to spot a martingale gold EA. Also look at how long the worst drawdown lasted. A drop you could survive on paper may be one you would quit during in real life.

Quick checklist: a gold EA backtest worth reading

How BaroqTech tests its own ideas

We run every idea through the same kind of checks: full costs, data the idea never saw, and tests for luck and consistency. Every result, pass or fail, goes on the record.

No strategy has passed yet; every result is public at baroqtech.com/record.

The Monthly Pass and the Lifetime Pass are software licences for your own MetaTrader account. They score every robot and strategy you run the same way, with costs inside every number. See the plans.

FAQ

What makes a gold EA backtest trustworthy?

Realistic data, full trading costs, a long period with different gold conditions, results on data the EA was never tuned on, settings that still work when nudged, honest drawdown and enough trades. A backtest missing any of these can look far better than the EA really is.

What data and modelling quality should the backtest use?

Real tick data or the most detailed modelling your platform offers, from a broker feed close to the one you'll trade on. Testing on bar open prices or coarse bars can hide what happens inside each bar, which matters for tight stops and short holding times.

Which trading costs must be in the backtest?

Spread, commission, swap and slippage. Gold spreads widen at quiet hours and around news, commission is charged per lot, swap is charged on overnight positions and slippage hits fast fills. A test with a fixed tight spread and no commission flatters the result.

How long should a gold EA backtest be?

Long enough to include different kinds of gold market: strong trends, sideways stretches, quiet periods and sharp volatile ones. A test covering a single calm or single trending stretch only tells you how the EA does in that one condition.

What are out-of-sample and walk-forward testing?

Out-of-sample means checking the EA on data it was never tuned on. Walk-forward repeats this in steps: tune on one window, test on the next, then move forward. Only the results on unseen data say much about the future.

How do I read drawdown and trade count in a backtest?

Read the maximum drawdown on equity, not just balance, and how long it took to recover. Check the number of trades too. A handful of trades, however good, can be luck. More trades across more years make the result harder to fake.

Gold EA Checking Kit, $9

Every check from these articles, on one printable page.

An educational tool. It is not investment advice. Trading leveraged products such as gold CFDs carries a high risk of losing money, and you can lose all of it.

BaroqTech makes software. It is not investment advice and it does not manage money. Trading leveraged products such as gold CFDs carries a high risk of losing money, and you can lose all of it. Results from a test or from a demo account do not predict results on a real account.

Free book · PDF · 6 pages

How to Read a Backtest Without Fooling Yourself

How to read any backtest, ours included: unseen prices, costs, the luck test, curve fitting and the five tricks that make a bad idea look good.

We send the download link to this address and keep the address for this book. Without the tick, that is the only email. The book itself is in English. Privacy: what we store and why.

Keep reading

All 73 guides

Markets in numbers

Compared

Seasonality

Volatility

Price history

Best time to trade

Moving averages

Market correlations

RSI

Limited time offer

20% off

your first month of the Monthly Pass

Offer ends 31 October 2026

We email you the code and one note when the trading system goes on sale. Unsubscribe in any email. Privacy