1 (edited by poteree 2025-10-26 18:13:56)

Topic: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

Hello all,

I personally went trough many tests where Open Price Mode backtest is positive on Ea Studio and MT5 BUT, as soon as I backtest in "Every Tick based on Real Tick" the result is very bad.

Here's an example from GBPCHF M30 in 2025, with fixed SL= 50 (no TP), on same prop firm data:
https://i.ibb.co/G4ZrPcLf/Ea-Studio-vs-Open-Price-vs-Real-Ticks.png

After putting the request on the wishlist to have a "Open price mode trading" input, I was wondering in the meantime if and eventually how do you mantain the same backtest result among "Open Price Mode" and "Every tick based on real ticks" mode, with the same EA downloaded from EAStudio.

Many thanks

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

I'm researching that problem at the moment.

I found out strategies that trade on a gap may show different performance in the MT backtest in Open price only and Real Ticks.

Such strategies use Bollinger Bands or Envelop for entries, usually when the price crosses a band.

The reason is that the spread at the opening of a bar after a gap is higher than the one shown in Meta Trader and, correspondingly, in EA Studio.

MT5 provides an averaged spread in the bar data. It can be lower than the spread at open after a gap. The difference can be 2-4 times.

When you backtest a strategy in MT5 on Real ticks, it calculates the spread for the tick data instead of using the spread of the bar data.

For that reason, I added Max spread protection in EA Studio. Please examine your strategy with Max. Spread Protection: 3-4 times higher than usual for your symbol. This works well for such cases.

I'll also improve the Monte Carlo spread simulation ot catch such cases.

3 (edited by poteree 2025-10-28 00:46:03)

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

Under Tools - Settings, Trading Session is from 00:00 to 24:00 by default. At 00:00 market is closed. If we do not adjust that time, we generate strategies in unrealistic market conditions.

I saw that Darwinex for example keeps spreads very very high from 00:05 (opening time on MOnday) until 01:00 (around 150 points) vs daily 30 points for GBPCHF. Opening time is 05:00-24:00. 00:00 must be removed in my opinion from Ea studio Settings!

In addition to the gap you're talking about, would you consider to set by default Trading Session time from 01:01 to for example 10 minutes before closing time?

Also, if there was a more realistic spread from opening time until 01.00 included, some strategies would not be generated.

It's important to avoid misleading strategies and false expectations on EA Studio under fake market conditions (in terms of Time or spread).

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

> set by default Trading Session time from 01:01 to for example 10 minutes before closing time?

This is very opinionated. There are many brokers with normal spreads around midnight.

> It's important to avoid misleading strategies and false expectations on EA Studio under fake market conditions

How to decide if market conditions are real or "fake".
EA Studio calculates strategies based on the exact market data and the given spreads.

We can have better Monte Carlo simulations or other analytical tests to detect dangerous situations, but I think the backtest should be as precise as possible.

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

Spread of brokers data loaded on EA Studio should be aligned with real spreads of the same broker on Mt5. If it's not, it's not realistic market condition in my opinion.
Example: AUDNZD with Darwinex has default 20 points fixed spread on EaStudio.

On Darwinex MT5, right after midnight (00:04) until 1:00, spreads jumps from 25 points to 143 and more:
https://i.ibb.co/TBGFf18D/AUDNZD-spread.png

If there are brokers with same spread right after midnight, well good to know but are they on EA-Studio? Darwinex should not have 20 pips spread always instead on EAstudio, if it's confirmed that it jumps its spreads between 00:04 and 01:00 included.

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

EA Studio uses real spreads from the historical data.

You can check that in the Indicator Chart.

https://image-holder.forexsb.com/store/eas-real-spread-indicator-chart-thumb.png

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

ooooooook.

I had viewn 20 points from Custom Settings, so not clear what it is 20 points at this point, if in fact I see from the chart that real spreads also on EaStudio jumps from 20 points to 140 points 
https://i.ibb.co/SwYQBQr6/AUDNZD-spread-in-custom-settings.png.

To recap: at the beginning you meant that, even with this so high real Spreads on EAstudio, some indicators (like Bollinger Bands) change those 140 points spreads into very low ones?

Hope to read soon good news of having this fixed ;-) Bollinger Bands is one of my preferred indicators.

You're saying that this is the only reason why there's mismatches among EaStudio backtest results and Mt5? Please it would be good to have a complete list of these indicators that have this issue, so that we can avoid to use them while they get fixed as you say you're working on that.

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

The issue is not with the indicator but with the way MetaTrader stores the spread.
MetaTrader (like other platforms) averages the spread during the bar and provides this averaged value in the historical data.

This is problematic on bar opening after a gap (usually on Sunday evening or on Monday morning). The spread can be high for a few seconds or minutes, but then lower later. It results in a low average spread for the bar. However, when we trade, we open a position at the Bar open with a high spread, which may ruin the position.

I have an idea to catch such cases by artificially increasing the spreads of bars after a gap.
I'll gather information on real spreads and gaps, and see what the RealSpread/AverageSpread ratio is for the different symbols and time frames.

The EA Studio backtest works perfectly with the data we feed it.

I'm also considering an advanced data feed with two spreads per bar—one at bar open and one averaged.

...

The spread you set in the Symbol Settings is valid for market data without a real spread. (Data you may import from MetaTrader 4.)

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

There's always something to learn. So, if I understand, the real tick of Metrader in this case is the real backtest. No ea studio, no the open price mode of MT5.

But, the backtest was not only on Sunday night or Monday morning, but every day of the week. So it seems that only partially the negative real tick backtest is due to the gap, given that you say "usually on Sunday evening or on Monday morning":

https://i.ibb.co/G4ZrPcLf/Ea-Studio-vs-Open-Price-vs-Real-Ticks.png

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

Try the Max Spread protection: https://forexsb.com/forum/topic/9992/ma … acktester/

https://image-holder.forexsb.com/store/ea-studio-editor-max-spread-protection-thumb.png

Set Max Spread between 30 and 50 points. It will eliminate the overestimated backtest results and may even make previously losing strategies profitable.

11 (edited by poteree Today 13:32:11)

Re: EA Studio vs Every Tick Based on Real Ticks: how to avoid mismatches?

thanks, but by applying Max Spread = 50 (always with SL 50 pips and no TP), the EA studio result remain almost the same, as the Open Price mode test in MT5.

The real tick backtest improves, as you forecasted, BUT, the trades are very few and the profit is just +100$ in 2025 vs around +900$ in Open Price.

Now, the big question: is Eastudio backtest more accurate than MT5 Real Tick backtest?

If not, the spread EAs studio imports with the Data Export script from MT5 is the Real Ticks MT5 spread, or the Averaged Bar MT5 Spread you mentioned above?

https://i.ibb.co/LHwH9B7/GBPCHF-M30-EAs-vs-Open-P-vs-Real-Ticks-Max-Spread-50.png