1 (edited by DrQuant 2026-08-03 15:38:37)

Topic: Differing Balance Charts in EA Studio

Hi all,

https://i.postimg.cc/52x3bF6F/Capture.jpg

This might have been asked before but I couldn't find any info when I searched the forum. In the "Collection" tab I see the balance chart on the left of the image above (Premium data, XAUUSD, M5, 200k bars). But when I open that EA in the Editor ("Strategy" tab) I see the balance chart on the right of the image above. Why did it change?

I've attached the EA in case you want to test it yourself.

Thanks!

Post's attachments

EA Studio XAUUSD M5 1780172617.mq5 70.03 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Differing Balance Charts in EA Studio

Not sure if it's important, but the collection was created by Express Generator...

Re: Differing Balance Charts in EA Studio

Attached is the collection.

Post's attachments

Coll_Premium_XAUUSD_M5_OOSample_MaxR2D.json 699.69 kb, 4 downloads since 2026-08-03 

You don't have the permssions to download the attachments of this post.

Re: Differing Balance Charts in EA Studio

If this is the reason the balance chart is different, what do I need to do in EA Studio to get the same balance chart that I got from Express Generator?

Re: Differing Balance Charts in EA Studio

Seems like data is different! Am I seeing correctly that the chart on the right has only a couple of trades?

Re: Differing Balance Charts in EA Studio

I'm doing my best to make both EA Studio and Express Generator reliable.

I recalculated your collection in both tools and received the same results (on the second try smile )

https://image-holder.forexsb.com/store/ex-gen-to-ea-studio-comparing-results-thumb.png

How to compare results:
- check if both programs have the same settings
- update the forex rates, symbol info and the data series in Express Generator and reload EA Studio.
- run express generator with "--input ./collection/My-collection-AAA.json"
- import and recalculate the collection in EA Studio.

How I tested it:
- reset the EA Studio settings and run Ex. Gen with the default settings for the test.
- update the Fx rates and the symbol info (I forgot to do it in the first try and received slightly different results)
- using "--show-top 10" to print out the calculated strategies in the terminal.

My full command was:

> node .\bin\fetch.js --server Premium --symbol XAUUSD --period M5 --max-data-bars 100000 --fx-rates true --symbol-info true

> node .\bin\gen.js --server Premium --symbol XAUUSD --period M5 --max-data-bars 100000 --input .\collections\Coll_Premium_XAUUSD_M5.json --show-top 10

...

I have a mean to test Ex. Gen vs EA Studio. I'm using a special build that runs Ex Gen for 10 strategies, then recalculate them in EA Studio and compare the results automatically. I run this in a loop for 100k strategies when updating the indicators or the backtester to be sure everything is ok.

Re: Differing Balance Charts in EA Studio

Thanks Miroslav but I don't think that addresses the problem I raised. I never said that the collections are different. The problem is that in EA Studio when I click on an EA from the collection the Balance Chart in the Strategy Editor tab is different from the Balance Chart in the Collection tab. My guess was that this has something to do with the collection coming from Express Generator but I could be wrong. When you select an EA from your collection is the Balance Chart in the Strategy Editor the same as the Balance Chart in the Collection tab?

By the way, I think your EA tools are great. You've done a fantastic job.

Re: Differing Balance Charts in EA Studio

> By the way, I think your EA tools are great. You've done a fantastic job.

Thank you!

> The problem is that in EA Studio when I click on an EA from the collection the Balance Chart in the Strategy Editor tab is different from the Balance Chart in the Collection tab.

When the strategy loads in the Editor, EA Studio recalculates it. It will shows different results only if the data are different (newer) or the EA Settings are different.

The first time you load a Collection from a file (from Ex Gen or previously exported from EA Studio) it is shown as it is, without calculation. The Collection file includes the backtest stats and the balance chart data for each strategy. That give the possibility to show it as it was exported before.

You can recalculate the Collection with the recent data and the current settings by clicking the "Recalculate" button.
Once you recalculate the Collection, it will show exactly the same results in the Editor.

Most probably your Collection was calculated and exported from Ex. Gen from data with different "Data horizon" settings or different "Trading Session" settings. This is the only possible explanation. (If there is no bug somewhere).

...

The Collection's "Recalculate" function and the Editor use the same data set, settings, and backtester engine. I don't assume it is possible to have different results. (Though you may filter and reorder the strategies in the Collection, but this is different).

Re: Differing Balance Charts in EA Studio

Okay thanks!

I used Premium data with 200,000 bars for both Express Generator and EA Studio... but the start date may have been different. I will check...

Re: Differing Balance Charts in EA Studio

DrQuant wrote:

Okay thanks!

I used Premium data with 200,000 bars for both Express Generator and EA Studio... but the start date may have been different. I will check...

Hello DrQuant

I know Popov has already answered, but I just want to let you know, if you use maximum 40000 bars with data end at July 11 2026, you'll get the same result.

https://i.postimg.cc/RZHTQkhy/SS-04082026.jpg

Re: Differing Balance Charts in EA Studio

You can compare the Express Generator data with the EA Studio data.
You can use either the short data stats in the Editor or the full stats in Data -> Data Statistics

https://image-holder.forexsb.com/store/ex-gen-to-ea-studio-comparing-markets-thumb.png

https://image-holder.forexsb.com/store/ex-gen-to-ea-studio-comparing-markets-stats-thumb.png

Re: Differing Balance Charts in EA Studio

yonkuro wrote:

I know Popov has already answered, but I just want to let you know, if you use maximum 40000 bars with data end at July 11 2026, you'll get the same result.

Oh, I think you've solved it! When I created the collection in Express Generator ("EG") I employed a two-stage process. First I ran EG on 200,000 bars but only using 80% of the data (160,000 bars) as "In Sample". Then I ran EG again for a second pass, using the last 20% of the data (40,000 bars) to confirm that the "Out of Sample" results met the criteria. As I understand it, this is the only way to do this. I then loaded the collection from the second pass into EA Studio ("EAS").

What I didn't realise is that the Balance Charts for the collection from the second pass would only be showing the last 40,000 bars! Then, when I select an EA from that collection the chart would instantly switch to showing all 200,000 bars. That explains the sudden and very dramatic change in the charts!

Thank you yonkuro for figuring this out. I feel much better now I understand this!

Re: Differing Balance Charts in EA Studio

Popov wrote:

You can compare the Express Generator data with the EA Studio data.
You can use either the short data stats in the Editor or the full stats in Data -> Data Statistics

Thank you for the tip. I was wondering how to do that!

14 (edited by DrQuant 2026-08-06 10:42:28)

Re: Differing Balance Charts in EA Studio

Yes that fixed it! I added a third stage to my process, where I rerun EG again to verify the acceptance criteria using 100% of the data (200,000 bars) and then import that collection into EA Studio ("EAS"). The EAS Balance Charts on the Strategy Editor tab now match the ones on the Collection tab. Problem solved. Thanks everyone!