Trading forex and CFDs on leverage is high risk. Most retail accounts lose money. Read the risk warning

99.9% Tick Data Backtesting in MT4: What the Number Means and How to Get It

99.9% tick data backtesting in MT4 means running the Strategy Tester on real recorded tick prices, usually imported with a third-party tool, instead of the synthetic ticks MetaTrader 4 normally generates from one-minute bars. The stock MT4 tester tops out at 90% modelling quality even with complete M1 history, so the 99.9% figure only appears when external tick data has been injected. It makes tests of scalpers and tight-stop EAs far more realistic, but the number describes data coverage, not whether the strategy will make money.

Key takeaways

  • MT4's built-in "Every tick" mode interpolates ticks from M1 bars, which caps modelling quality at 90%.
  • Reaching 99% or 99.9% requires importing real tick data, typically through tools such as Tick Data Suite or Tickstory.
  • The big gains are variable spreads and the true sequence of prices inside each bar, which matter most for scalping and trailing stops.
  • Time zone and daylight-saving settings must match your broker or daily bars, swaps and session filters will be wrong.
  • A 99.9% label proves nothing about robustness; overfitting and execution costs still decide live results.

Why the MT4 tester stops at 90%

MetaTrader 4 was designed in an era when brokers stored price history as bars, not ticks. When you choose the "Every tick" model, the tester takes the smallest timeframe it has, usually one-minute bars, and generates a plausible path of ticks inside each bar based on its open, high, low and close. It does not know whether the high came before the low. For a strategy with a 50-pip stop and a 100-pip target on the four-hour chart, that guess rarely matters. For an EA with a 3-pip stop, a 4-pip target and a trailing stop, the order of prices inside a single minute can decide whether a trade wins or loses.

The modelling quality figure in the MT4 report reflects how much of the test was built from the finest data available. With full M1 history it reaches 90%. With gaps, or if MT4 has to fall back to higher timeframes, it drops, sometimes to 25% or lower. With "Open prices only" it shows "n/a". The MT4 tester also uses a single fixed spread for the entire test, either the current market spread when you press Start or a value you type into the Spread field. On a Sunday evening that can be three times the normal spread; on a quiet Tuesday it might be tighter than you would get during news. Neither reflects reality.

What "99.9%" actually changes

When real tick data is fed into the tester, three things improve:

  • Price path. Every recorded price change is replayed in order, so a stop hit at 10:04:12 and a target that would have been reached at 10:04:40 are resolved correctly.
  • Variable spread. Each tick carries its own bid and ask, so the spread widens around news and rollover and narrows in liquid sessions, as it does live. Our explainer on fixed versus variable spreads covers why this matters for cost estimates.
  • Coverage. With no gaps in the data, the modelling quality figure climbs to 99% or 99.9%, depending on how the tool labels it.

What it does not change: slippage, requotes, partial fills and latency are still not modelled by the stock tester, although some tools add optional slippage simulation. Your broker's real liquidity and execution remain outside the test.

Where the tick data comes from

Most retail traders use the free historical tick data published by Dukascopy, a Swiss bank and broker, because it covers major pairs back many years at tick resolution. Some tools also support other sources, and a few brokers publish their own tick history. Two points matter here.

First, tick data from one provider is not your broker's data. Spreads and price levels differ slightly between liquidity providers, and an ECN broker's raw spread can be tighter or wider than the source feed at any moment. You can add a markup or commission in some tools to approximate your account. Second, quality varies by period and symbol. Data for EUR/USD is usually excellent; exotic pairs and early years can have gaps or odd spikes. Spot-check the data around big events before trusting a test that depends on them.

The tools: how 99.9% tests are run in MT4

ApproachHow it worksVariable spreadMain caveats
Stock MT4 "Every tick"Synthetic ticks from M1 barsNo, single fixed spreadMax 90% quality; unreliable for scalpers
Tick Data Suite (commercial)Hooks into the MT4 tester and supplies tick data directly, with options for spread, commission and slippageYesPaid licence; Windows; check compatibility with your MT4 build
Tickstory (free and paid tiers)Downloads tick data and exports it to MT4 history and tester files, then launches MT4 configured to use themYes, via its launcherSetup is more manual; export settings must match the broker
Manual FXT file methodGenerate a tester FXT file from tick data and make it read-only so MT4 cannot overwrite itDepends on how the file was builtError-prone; mostly superseded by the tools above

Pricing and features of commercial tools change, so confirm the current licence terms and supported builds on each developer's official site before buying. Both approaches run on Windows; Mac users typically run MT4 in a virtual machine or on a Windows VPS.

Step-by-step: running a 99.9% backtest

The exact screens differ by tool, but the workflow is the same.

  1. Install a clean MT4 instance for testing, separate from the terminal you trade with, so history files you import do not interfere with live charts. Log in to a demo with your broker so symbol specifications (contract size, digits, swap) are correct.
  2. Raise chart limits. In Tools, Options, Charts, set "Max bars in history" and "Max bars in chart" to very high values, then restart. Otherwise MT4 may truncate your imported data.
  3. Download tick data for each symbol and date range you need. Expect large downloads for multi-year tests on several pairs.
  4. Set the time zone and daylight saving offset to match your broker's server time. Most MT4 brokers run on GMT+2 in winter and GMT+3 in summer, aligned to New York close, which produces five daily candles a week. If your data is in GMT and your broker is not, daily bars, swap charging times and any session filters will be shifted.
  5. Configure spread and commission. Choose "variable" or "use tick data spread", and add commission if you trade a raw account. If the tool allows, add a small markup or slippage figure to make the test conservative rather than flattering.
  6. Export or link the data to MT4 and launch the tester through the tool if required.
  7. Run the test with the "Every tick" model, then check the report header for the modelling quality and the "mismatched charts errors" count, which should be zero or very close to it.

If you have not installed the EA itself yet, see how to install an expert advisor on MT4.

A worked example: why variable spread matters

Imagine a scalping EA on EUR/USD that targets 5 pips and stops at 6 pips, trading 1 standard lot, where a pip is worth $10. Over 2,000 trades the stock MT4 test, run on a Tuesday afternoon with a fixed 0.6-pip spread, shows a 58% win rate.

Expected value per trade at a 0.6-pip spread is roughly: 0.58 × 5 − 0.42 × 6 = 2.90 − 2.52 = 0.38 pips, or $3.80. Across 2,000 trades that is about $7,600.

Now rerun with real ticks. Suppose the EA opens 30% of its trades around the daily rollover and early Asian session, where the average spread in the data is 1.5 pips instead of 0.6. On those 600 trades the cost is 0.9 pips higher, which is 600 × 0.9 × $10 = $5,400 extra. In addition, a few dozen trades that the M1 interpolation counted as winners turn out to have hit the stop first in the real price sequence. The result can easily move from $7,600 profit to break-even or a loss. Nothing about the strategy changed; the test simply stopped lying about costs and price order.

Reading a 99.9% report with the right scepticism

Once the data is right, the same rules as any backtest apply. Look at the number of trades, profit factor, maximum drawdown, the longest losing streak and the equity curve, not just the net profit headline. A report that shows 99.9% modelling quality and a perfectly straight equity curve is the classic image used to sell commercial EAs. The data quality is genuine; what it often hides is heavy optimisation on that exact data, or a martingale or grid recovery mechanism that has not yet met the move that breaks it. Our article on why most forex robots blow accounts explains the pattern.

Questions to ask about any 99.9% backtest you are shown:

  • Was it optimised on the same period it is displayed for? If so, how did it do on data held back?
  • What spread, commission and slippage settings were used, and do they match the account you would trade?
  • Does the equity drawdown differ sharply from the balance drawdown? That suggests trades left open at deep losses.
  • How many parameters does the EA have, and how sensitive are results to small changes in them?

Our guides on curve fitting and over-optimisation and walk-forward testing go further into robustness checks.

The main risk: "99.9% modelling quality" is often used in robot marketing as if it were proof of profitability. It is only a measure of how complete the price data was. Strategies tested on perfect data still fail live through overfitting, slippage, broker execution and changing conditions. Leverage magnifies those losses, and most retail forex and CFD accounts lose money. Treat any backtest, however accurate its data, as a reason to demo test, not a reason to deposit.

Should you still use MT4 for this, or move to MT5?

MetaTrader 5 has real-tick testing built in: its "Every tick based on real ticks" mode uses the broker's own recorded ticks without any third-party tool, and it is multi-threaded and multi-currency. If your EA exists in both versions or you can port it, MT5 removes much of the setup described above. Our guide on backtesting an EA in MT5 covers that workflow. The case for staying with MT4 is practical: many EAs are only available as MQL4, some brokers or prop firms still favour MT4, and tools like Tick Data Suite give finer control over spread and slippage than the MT5 tester does by default.

FactorMT4 with tick data toolMT5 real-tick mode
Data sourceThird-party provider, often DukascopyYour broker's own tick history
Extra software neededYesNo
Variable spreadYes, via the toolYes, where the broker recorded it
SpeedSingle-threaded, slow on long testsMulti-threaded, optimisation can use many cores
Multi-currency EAsLimitedSupported natively

Frequently asked questions

Why does my MT4 backtest only show 90% modelling quality?

Because the stock MT4 tester builds its ticks from one-minute bars, and 90% is the maximum it reports when full M1 history is available. To go higher you need to import real tick data with an external tool. If you see much less than 90%, your history has gaps or MT4 is using higher timeframes; download fuller M1 history or use tick data.

Is 99.9% tick data backtesting accurate?

It is far more accurate about price movement and spreads than stock MT4 testing, especially for scalpers. It is still a simulation: it uses a data provider's feed rather than your broker's exact prices, and it does not fully capture slippage, latency or requotes. Accurate data also cannot fix an overfitted strategy, so treat results as a filter, not a forecast.

Where can I get free tick data for MT4?

Dukascopy publishes free historical tick data for many currency pairs and some other instruments, and tools such as Tickstory can download and convert it for MT4. Coverage and quality vary by symbol and year, so inspect the data around major events. Remember that a provider's spreads and quotes will not exactly match your broker's.

What are mismatched charts errors in the MT4 tester?

They indicate inconsistencies between the different timeframe history files the tester uses, for example M1 data that does not agree with H1 bars. A handful may not matter, but a large count means the test data is unreliable. Rebuilding history from the same tick source, or letting the tick data tool generate all timeframes, usually fixes it.

Do I need tick data for every EA?

No. For strategies that trade on bar close with wide stops on higher timeframes, the stock M1-based test is often close enough, though fixed spread still distorts costs. Tick data matters most for scalpers, grid or averaging systems, trailing stops, news strategies and anything where the order of prices within a minute changes the outcome.

Why do time zone settings matter when importing tick data?

MT4 builds daily and weekly bars, charges swap and applies any session filters using the broker's server time. If tick data is imported in GMT while your broker runs GMT+2 with daylight saving, daily candles shift, Sunday bars appear and time-based rules trigger at the wrong moments. Match the offset and daylight-saving rule to your broker before testing.

This article is general information, not personal financial advice. Figures such as spreads, fees, leverage and rules change; confirm them with the provider and check the provider is authorised for your country of residence.