Forex Tester vs MT Strategy Tester — which backtest for whom?

Last verified: · Quarterly verification
Risk warning · YMYL This article is for educational purposes only and is not investment advice. Trading on the Forex market involves a high risk of capital loss — ESMA reports 74–89% of retail accounts lose money.

One Saturday Krzysztof, who is still learning price action, clicked through two hundred historical setups on EUR/USD in a single evening, freezing the chart before every decision. The same day a programmer friend of his ran his own Expert Advisor across five years of quotes and came back an hour later to a finished report with hundreds of trades (illustrative example). Both of them were backtesting, yet each used a completely different tool for a completely different purpose. In this article I compare the built-in Strategy Tester in MetaTrader with the separate Forex Tester program against concrete criteria — so that you know which one fits the way you actually trade.

The MetaTrader Strategy Tester — full profile

The Strategy Tester is a module built into the MetaTrader 4 and MetaTrader 5 terminals. It is free, and it exists mainly to run an Expert Advisor — an algorithm written in the MQL language — automatically through historical data. You set the currency pair, the timeframe, the date range and the modelling mode, and the tester executes the strategy candle by candle without your involvement, counting every trade. At the end you get a report: the number of trades, the equity curve, the drawdown and the profit-and-loss statistics. It is an engineer's tool, not a tool for someone watching the chart.

The biggest strength of the MT5 version is the quality of the in-candle modelling. The most accurate mode, called "every tick based on real ticks" in the documentation, uses the actual ticks archived by the broker instead of generating them artificially. On top of that comes parameter optimisation — including a genetic option that searches variants cleverly rather than counting them all in turn — and distributed computing across the MQL5 Cloud Network when a single machine cannot keep up. The famous limitation of the older MT4 was its "modelling quality": on one-minute bar data the tester drew in the movement inside the candle, and the result tended to look more optimistic than reality.

The weakness of the Strategy Tester shows up when you want to test decisions made by hand. MT5 does have a visual mode and a "replay", yet clicking entries as if live feels awkward and artificial here. There is also the classic data problem: free quotes are often incomplete, and their quality differs between brokers. I lay out how this works step by step in a separate piece on the practice of backtesting in MT4 and MT5.

Forex Tester — full profile

Forex Tester is a separate program that you buy independently of the broker platform. Its whole philosophy is the opposite of the robot: it was designed for manual backtesting and practice. You load the history of a chosen pair, stop the chart at any point in the past and scroll it candle by candle, and at any moment you can place an order, set a stop-loss and a take-profit and close the position — exactly as if you were trading live, only in fast-forward time. It is a decision simulator, not merely a results calculator.

For someone training chart reading and their own discipline, that is enormous value. Over a weekend you can work through more market situations than in a month of live trading, and on top of that you keep a journal and see where you genuinely make mistakes. The vendor also offers its own higher-quality tick data with a long history, which sets the program apart from a test on a patchwork of free broker quotes. If you are only just shaping your working method, start with the article on how to backtest a strategy properly.

The weaknesses are clear too. First, the program is paid — an expense the Strategy Tester does not require. Second, you will not run an Expert Advisor written in MQL inside it the way MetaTrader does; Forex Tester has its own strategy engine and its own language. So if your edge is a finished algorithm, this is not the tool for you. I covered the basics of building such robots in the piece on Expert Advisors in MetaTrader.

A comparison by criteria

The difference shows fastest when you set the two tools side by side against what genuinely matters when choosing.

Main purposeStrategy Tester — automated Expert Advisor testing; Forex Tester — manual candle-by-candle decision practice
CostThe Strategy Tester built into the terminal is free; Forex Tester is a separate, paid program
Handling an MQL algorithmThe Strategy Tester runs Expert Advisors natively; Forex Tester uses its own strategy language
Data qualityThe Strategy Tester depends on broker quotes; Forex Tester offers its own tick data with a long history
Parameter optimisationThe Strategy Tester has optimisation, including genetic and cloud-based; Forex Tester relies on manual repetition

The conclusion from the table is simple: these are not competitors for the same job, but two different workbenches. One serves the machine, the other the human at the chart.

"Walk-forward simulated trading is the only test that measures a trading strategy under conditions as close as possible to real trading." — Robert Pardo, *The Evaluation and Optimization of Trading Strategies*, 2nd ed., Wiley, 2008.

When to choose the Strategy Tester

Choose the built-in tester when you are testing an algorithm. If you write an Expert Advisor in MQL5 or you downloaded a ready one, its natural environment is the Strategy Tester in MetaTrader 5, ideally in the real-tick mode. Here you get native execution of the code, accurate modelling of the movement inside the candle, and parameter optimisation across years of data in a reasonable time. No external manual tool can replace that, simply because you cannot launch the robot inside it.

It is also the better choice when you want to search a large space of settings — to check how a strategy behaves for different moving-average lengths or indicator thresholds. Just remember that an optimisation result demands out-of-sample verification, which I discuss in the piece on walk-forward analysis in backtesting. A high score on the very data you tuned the parameters on proves nothing yet.

When to choose Forex Tester

Reach for Forex Tester when you train decisions made by hand. If your edge is reading price action, recognising patterns and keeping a grip on yourself at the moment of entry, you need a tool that lets you "rewind" the market and practise those decisions hundreds of times. What counts here is repetition under time pressure, not a curve from a thousand automated trades. The bar-replay mode in TradingView fills the same role to a degree, if you prefer to work in the browser.

Forex Tester also has a teaching edge: combined with a trade journal, it shows the situations in which you are regularly wrong. That is priceless at the stage when you are still building a method and a live account would be too expensive a training ground. Many traders deliberately use both tools at once — Forex Tester for manual practice and the Strategy Tester for testing robots — because they answer two different questions.

The most common pitfalls when choosing

The first pitfall is confusing what each tool is for. A trader buys Forex Tester to "test my bot", then discovers it will not load an MQL file. Or the other way around — they try to practise price action by hand in the Strategy Tester and fight an awkward interface. Match the tool to what you actually do, not to what happens to be fashionable.

The second pitfall is more dangerous, because it touches the credibility of the test itself. In a manual backtest it is easy to fool yourself: when you catch the next candle out of the corner of your eye, you involuntarily make a "better" decision than you would live. Forex Tester hides the future and forces you to click in time, so it limits that problem — but the discipline still stays on your side. The third pitfall is blind faith in the result: overfitted parameters and poor data quality can display a beautiful curve that falls apart live. I lay out the full toolkit for testing and forward testing in the platforms and tools section on forexmechanics.com.

Conclusions — which backtest for whom

Let us boil it down to a single decision. You are testing code — stay with the Strategy Tester in MT5 and take care of real ticks and out-of-sample verification. You are training your hand and your head — choose Forex Tester or bar replay in TradingView. The most committed students of the craft keep both and treat them not as alternatives but as two separate tools in one box. Whatever you choose, remember the iron rule: no backtest, however beautiful, is a promise of live results — only a hint that has to be checked further.

What to do tomorrow

  1. Name honestly what you are testing. Sit down for five minutes and write a single sentence: whether your edge is an MQL algorithm or reading the chart by hand. That one answer settles the choice of tool more than any feature list — a robot leads to the Strategy Tester, the hand to Forex Tester or bar replay.
  2. Run the free test before you spend a penny. Open the Strategy Tester in MetaTrader 5, pick one pair, the last two years and the real-tick mode, then push a simple strategy through it, such as a crossover of two moving averages. You will see with your own eyes how a report reads, before you decide to buy Forex Tester.
  3. Check the quality of your historical data. In the tester window, look up the period for which the broker actually has real ticks, not just one-minute bars. If the history is short or full of gaps, plan a longer data download or a better source before you base any conclusion on it.
  4. Plan your out-of-sample verification. Before you call a strategy good, set aside the last six months of data for a separate test that you do not use to tune parameters. It is a simple way to catch overfitting early, instead of discovering it on a live account.
Jarosław Wasiński
About the author

Jarosław Wasiński

Editor-in-chief at MyBank.pl · Financial and market analyst

Independent analyst and practitioner with 20+ years in finance. Founder and editor-in-chief of MyBank.pl, running since 2004. Fundamental analysis of FX and macro markets since 2007.

Sources & bibliography

  1. MetaQuotes Trading Strategy Tester — MetaTrader 5 · Oficjalny opis wbudowanego Strategy Testera: testowanie i optymalizacja robotów handlowych, tryby modelowania ticków, optymalizacja genetyczna oraz rozproszone obliczenia w sieci MQL5 Cloud Network. www.metatrader5.com ↗
  2. MetaQuotes Strategy Testing — MetaTrader 5 Help (Algorithmic Trading) · Dokumentacja trybów generowania ticków: „Every tick", „Every tick based on real ticks" (na realnych tickach brokera) oraz „1 minute OHLC", wraz z różnicami w dokładności i szybkości. www.metatrader5.com ↗
  3. MQL5 Reference (MetaQuotes) Testing Trading Strategies — MQL5 Reference · Techniczny opis działania testera: zdarzenie NewTick jako główne zdarzenie Expert Advisora i sposób wywoływania funkcji OnTick w zależności od wybranego trybu modelowania. www.mql5.com ↗
  4. Forex Tester Software Manual Backtesting for Trading — Forex Tester · Opis ręcznego backtestu na Forex Testerze: przewijanie wykresu słupek po słupku bez skryptu, pełna kontrola nad każdą operacją handlową, pauza i odtwarzanie oraz dane tickowe z długą historią deklarowane przez producenta. forextester.com ↗

Frequently asked

Is the Strategy Tester in MetaTrader free?

Yes. The Strategy Tester is built into the MetaTrader 4 and MetaTrader 5 terminals, and both terminals are downloaded free of charge from a broker or from the vendor. You pay nothing for the tool itself or for parameter optimisation. The only cost that genuinely appears is data quality: the free historical quotes from a broker server are often incomplete, so a serious test on real ticks usually requires a longer download or a better paid data source. The MQL5 Cloud Network for distributed optimisation is paid once you exceed the free quota, but most retail tests do not need it at all.

Can I run my MT4 Expert Advisor inside Forex Tester?

Not the way you would in MetaTrader. Forex Tester has its own strategy engine and its own scripting language, so you cannot load a ready file compiled in MQL one-to-one. If your edge is an algorithm written in MQL4 or MQL5, the natural test environment remains the built-in Strategy Tester in the matching terminal. Forex Tester shines instead where you test decisions made by hand: you scroll the chart candle by candle and click entries and exits yourself. These are two different jobs, which is why many traders keep both tools side by side and use each for a different purpose.

What does the "every tick based on real ticks" mode mean in MT5?

It is the most accurate modelling mode in MetaTrader 5. Instead of artificially generating price movement inside a candle, the tester uses the actual ticks gathered and stored by the broker. That lets an Expert Advisor test track what really happened on the market as closely as possible, including the micro-moves that trigger stop-loss orders and pending orders. The accuracy has a cost, though: real ticks are only available for the period the broker has actually archived, so the history can be shorter than you want and the quality differs between brokers. MetaTrader 5 also offers faster, less accurate modes — "1 minute OHLC" and "open prices only" — useful for a rough first screen of ideas.

Why does my backtest look great while the strategy loses live?

Three things are usually to blame. The first is overfitting: you tuned the parameters to fit the past perfectly, and then the market changed. The second is data quality — a test on incomplete quotes, or without a realistic spread and slippage, inflates the results. The third, in manual testing, is fooling yourself: when you can see the next candle on the chart, you involuntarily make "better" decisions than you would live. Forex Tester limits that last problem because it hides the future and forces you to click in time. The strongest safeguard, though, remains walk-forward analysis and an honest test on data you have not seen before.

Go deeper · the complete guide