Is Your EA Really Profitable — or Has It Simply Learned to Trade the Tester?
Is Your EA Really Profitable — or Has It Simply Learned to Trade the Tester?
Recently, I have been spending a considerable amount of time analyzing popular Expert Advisors, including some of the top-selling products on the MQL5 Market.
Some of them produce genuinely impressive backtests. Beautiful equity curves, exceptionally high profit factors, thousands of profitable trades and surprisingly low drawdowns.
However, when subjected to more rigorous testing, many of these results become considerably less convincing.
What concerns me most is that this is not necessarily the result of dishonest marketing. Developers themselves can become victims of the very tools they use to develop and optimize their trading systems.
And buyers, understandably, often do not have the time or technical resources to investigate what is actually happening behind those beautiful charts.
The Hidden Oracle Inside Your Strategy Tester
Imagine purchasing an Expert Advisor, running a quick backtest using the 1 Minute OHLC modeling mode, and seeing an exceptionally attractive equity curve.
Congratulations. You may have discovered a profitable trading system.
Or perhaps a trading system that has simply learned how the tester constructs its price movements.
Let me explain.
In the OHLC modeling mode, the tester works with four known prices for each minute:
- Open - opening price.
- High - highest price.
- Low - lowest price.
- Close - closing price.
Suppose we have the following one-minute gold candle:
- Open: 2700
- High: 2705
- Low: 2695
- Close: 2702
The real market could have moved from 2700 to 2705, then fallen to 2695 before closing at 2702.
Alternatively, it could have fallen to 2695 first, recovered to 2705, and then closed at 2702.
There could also have been hundreds of intermediate price movements, reversals and repeated crossings of the same levels.
From the perspective of a candlestick chart, these scenarios are identical. From the perspective of an Expert Advisor, they can produce completely opposite trading results.
A Take Profit might be reached before a Stop Loss. A trailing stop might have enough time to protect a profitable position. A breakout might appear successful in one scenario and fail immediately in another.
The tester must reconstruct a price sequence using information from an already completed candle.
This creates what I call a hidden oracle.
The Expert Advisor does not necessarily need direct access to future prices. During optimization, its parameters can gradually adapt to the deterministic characteristics of the artificially generated price sequence.
The optimization algorithm does not understand the difference between a genuine market inefficiency and a statistical artifact introduced by the modeling environment.
It simply searches for the parameters that maximize its objective function.
After thousands or even hundreds of thousands of optimization passes, it may discover combinations that exploit the structure of the simulation rather than the behavior of the actual market.
The resulting Expert Advisor may have learned to trade the tester instead of trading the market.
And the developer may genuinely believe that a valuable market pattern has been discovered.
This problem is particularly important for breakout strategies, scalping systems, tight stop losses, breakeven algorithms and sensitive trailing mechanisms.
MetaQuotes itself discusses the risks associated with deterministic OHLC modeling in its official documentation.
OHLC is a useful preliminary research tool. I use simplified modeling where appropriate. However, I do not consider it sufficient evidence of robustness for execution-sensitive trading systems.
One Small Checkbox That Can Change Everything
MetaTrader 5 offers another convenient option:
Profit in pips for faster calculations.
Who would not want faster optimization?
Unfortunately, this convenience comes with an important limitation: commissions and swaps are excluded from the calculation.
Consider a hypothetical trading system that executes 10,000 trades, generating an average gross profit of $1.20 per trade. Assume that the round-trip commission is $1.40 per trade.
Without commissions:
10,000 x $1.20 = $12,000 profit.
After commissions:
10,000 x ($1.20 - $1.40) = $2,000 loss.
Exactly the same trading algorithm. Exactly the same trades. Completely different financial outcomes.
But the real problem goes much deeper than simply subtracting commissions from the final backtest result.
When transaction costs are excluded during optimization, the optimization process may favor strategies with excessive trading frequency and very small average profits.
Such strategies can look exceptionally attractive in a simplified testing environment while being extremely vulnerable to realistic trading costs.
Enabling commissions only during the final verification stage does not necessarily solve this problem. The parameters have already been selected using a different economic model.
Transaction costs should influence the selection of trading parameters, not merely the presentation of the final results.
This distinction became one of the important principles behind the development of my newer trading systems, including Golf EA.
Why Do Buyers Continue Using OHLC?
I completely understand why many traders prefer quick backtests.
Imagine purchasing several Expert Advisors and trying to evaluate different presets, risk settings and broker configurations.
A single real-tick backtest may take several minutes, several hours, or even longer. Testing multiple configurations can easily turn into days of work.
Most traders have jobs, families and other responsibilities. They cannot dedicate their entire week to watching the progress bar in MetaTrader.
Unfortunately, the situation becomes even more complicated when the Expert Advisor itself has inefficient software architecture.
Modern automated coding tools have dramatically reduced the barrier to creating trading robots. Producing an Expert Advisor that compiles and executes trades has become considerably easier.
Designing an efficient, reliable and computationally optimized trading system remains a completely different engineering challenge.
Redundant calculations on every tick, repeated historical data requests, inefficient indicator handling and poorly designed trading-state management can make real-tick testing painfully slow.
Eventually, the user switches to OHLC, not because it is more accurate, but because they would like to see the results sometime before next Monday.
This is a perfectly understandable human reaction.
Unfortunately, the market does not become simpler just because we do not have enough time to simulate it properly.
The Problem With Historical Tick Data
Even when traders are willing to perform proper real-tick testing, another obstacle appears: the quality and availability of historical data.
Not every broker provides sufficiently deep and continuous tick history.
Sometimes I jokingly wonder whether certain brokers are being particularly considerate by removing older historical data. Why spoil the excitement of discovering whether an Expert Advisor actually works before funding a live account?
Of course, maintaining extensive historical databases requires storage, infrastructure and ongoing maintenance. Limited historical availability does not, by itself, indicate malicious intent.
Nevertheless, it remains a significant obstacle for both developers and traders.
When researching XAUUSD, I prefer working with extensive historical datasets. Depending on the server and available period, several years of IC Markets tick history can occupy more than 10 GB of storage.
The size alone does not guarantee quality, but it illustrates the difference between comprehensive tick-level research and simplified candle-based testing.
Historical continuity, realistic Bid and Ask prices, variable spreads, trading-session coverage and the absence of abnormal quotations are all important.
It is also worth checking the tester journal for missing periods or sections where generated ticks have been substituted for unavailable real ticks.
Selecting the real-tick modeling option is only the beginning of proper verification.
A Challenge for Every EA Buyer
If you already own several Expert Advisors, I would encourage you to perform a small experiment.
You do not need to purchase anything new.
Take the trading robots you already own, particularly those that impressed you most during your initial backtests.
Configure the Strategy Tester as follows:
- Use a broker with extensive and reliable tick history, such as a suitable IC Markets server.
- Set the testing period from January 2023 to the present.
- Select Every tick based on real ticks.
- Disable Profit in pips for faster calculations.
- Verify that commissions, swaps and contract specifications reflect realistic trading conditions.
- Keep the original EA settings unchanged.
Then compare the results against your previous OHLC backtests.
Do not focus exclusively on total profit. Pay particular attention to:
- Profit Factor.
- Average net profit per trade.
- Equity drawdown.
- Total number of trades.
- Consistency across individual quarters.
- Sensitivity to changes in trading costs.
If possible, repeat the experiment using another broker without changing the original trading parameters.
Some of your Expert Advisors may pleasantly surprise you. Others may make you reconsider what their original backtests actually demonstrated.
Either way, the experiment will give you something considerably more valuable than another beautiful marketing screenshot: an independent assessment of your trading software.
And it costs nothing except your time.
Why I Changed My Own Development Methodology
Over time, my perspective on algorithmic trading has changed considerably.
I am becoming less interested in discovering the parameter combination that produces the highest historical profit and considerably more interested in understanding what happens when the conditions under which that combination was discovered begin to change.
What happens when spreads increase?
What happens when commissions change, execution deteriorates, market volatility shifts or the same Expert Advisor is installed on a different broker?
These are not hypothetical inconveniences. They are the conditions under which real trading systems must operate.
A strategy that performs exceptionally well under one narrowly defined historical environment may be significantly less useful than a strategy that produces more moderate but relatively consistent results across different environments.
This realization led me to substantially redesign my research, development and optimization methodology.
Rather than simply searching for attractive historical performance, the new approach places greater emphasis on transaction costs, parameter robustness, execution sensitivity and stability across different historical conditions.
Golf EA is the first of my Expert Advisors developed using this substantially revised methodology.
The visible simplicity of its settings conceals a considerably more complex research and optimization process.
However, I would rather not ask you to trust another developer's description of how sophisticated their product is.
You have probably read enough of those descriptions already.
Do Not Take My Word for It
One of the advantages of the MQL5 Market is that you can evaluate Expert Advisors using their free Strategy Tester demo versions before making a purchasing decision.
I encourage you to apply exactly the same critical approach described in this article to my own products.
Download the demo version of Golf EA and test it under your own conditions.
If your broker provides several years of reliable tick history, use the longest available period. Five years would be particularly interesting.
Compare its results with those of the Expert Advisors you already own.
Use identical testing periods, realistic trading costs and comparable risk levels. Examine how the results change when moving from simplified modeling to real ticks and from one broker to another.
Do not look exclusively at the final profit. Look at the stability of the trading behavior, the sensitivity to transaction costs and the distribution of results across different market conditions.
I believe that the differences in development methodology are best evaluated through such experiments rather than through promotional claims.
If you discover weaknesses, I would genuinely like to hear about them.
A failed experiment can sometimes provide more valuable information for a developer than another successful backtest.
Better Trading Systems Through Collaboration
One of the limitations of independent Expert Advisor development is the diversity of real trading environments.
Even with considerable computing resources, a developer cannot reproduce every broker configuration, every historical dataset and every execution environment encountered by hundreds of traders around the world.
This is where collaboration becomes particularly valuable.
If you are using Golf or one of my other Expert Advisors and would like me to investigate optimization opportunities specific to your broker, please feel free to contact me through MQL5.
If you have extensive tick history, independent backtest results or information about unusual trading conditions, I am genuinely interested in reviewing them.
I enjoy this part of the development process because it frequently reveals details that would otherwise remain invisible within a single testing environment.
It is also a mutually beneficial arrangement.
You may receive better-adapted settings for your particular trading conditions, while I gain additional independent information that helps improve the research and optimization of my trading systems.
Every additional dataset, every independent verification and every constructive observation can contribute to a more comprehensive understanding of how a trading algorithm behaves outside its original development environment.
My objective is not simply to sell an Expert Advisor and move on to the next product.
I want to develop trading systems that users can evaluate independently, understand and use with realistic expectations.
Final Thoughts
No backtest, regardless of its quality, can guarantee future profitability.
Real-tick modeling is not perfect either. Historical data cannot fully reproduce future liquidity, execution delays, slippage or unexpected market conditions.
But there is a considerable difference between a trading system that has undergone rigorous verification and one that has simply learned to look impressive inside a simplified simulation.
Popularity is not proof of robustness. A beautiful equity curve is not proof of a genuine market edge. And a successful optimization is not necessarily proof of a successful trading strategy.
Before purchasing your next Expert Advisor, consider spending a little more time investigating the ones you already own.
You may learn something that changes the way you evaluate automated trading systems forever.
Do not look for the Expert Advisor that knows the past best. Look for the one that depends on knowing the past least.
Good luck, and happy testing!


