<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Inconsistent results between Express Generator and EA Studio]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9929/" />
	<updated>2025-04-07T03:18:46Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9929/inconsistent-results-between-express-generator-and-ea-studio/</id>
		<entry>
			<title type="html"><![CDATA[Re: Inconsistent results between Express Generator and EA Studio]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82593/#p82593" />
			<content type="html"><![CDATA[<p>Hi Popov,<br />Thanks for your reply. I added the parameter max-data-bars and then the results became closer.</p><p>I have another question about the time zone of the data in EA studio and I will meet you there in the EA studio forum.</p>]]></content>
			<author>
				<name><![CDATA[shapeare]]></name>
				<uri>https://forexsb.com/forum/user/16613/</uri>
			</author>
			<updated>2025-04-07T03:18:46Z</updated>
			<id>https://forexsb.com/forum/post/82593/#p82593</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Inconsistent results between Express Generator and EA Studio]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82592/#p82592" />
			<content type="html"><![CDATA[<p>Hello Shapeare,</p><p>Welcome to the forum!</p><p>Express Generator&#039;s backtester produces the same results as the EA Studio&#039;s backtester.<br />Only minor deviations of some stats parameters are possible due to difference in the way the applications stores the&nbsp; backtest data.</p><p>I tested your settings and immediately notice that the Express Generator loads 100,000 bars. This value is preset in the generator&#039;s default settings.<br />Please add &quot;--max-data-bars 200000&quot; in your &quot;fetch&quot; command and also in your gen settings.</p><p>Something like:</p><div class="codebox"><pre><code>    ...
    --max-data-bars 200000 ^
    --use_data_start true ^
    --data_start &quot;20 Sep 2024 00:00 UTC&quot; ^
    --use_data_end true ^
    --data_end &quot;29 Jan 2025 00:00 UTC&quot; ^
    ...</code></pre></div><p><a href="https://image-holder.forexsb.com/store/exgen-Screenshot%202025-04-06%20234925.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/exgen-Screenshot%202025-04-06%20234925-thumb.png" alt="https://image-holder.forexsb.com/store/exgen-Screenshot%202025-04-06%20234925-thumb.png" /></span></a></p><p>Be sure you fetch fresh historical data and symbol info before each generator run:</p><div class="codebox"><pre><code> node .\bin\fetch.js         ^
    --server        Eightcap ^
    --symbol        AUDJPY   ^
    --period        M1       ^
    --max-data-bars 200000   ^
    --symbol-info   true     ^
    --fx-rates      true</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2025-04-06T20:52:36Z</updated>
			<id>https://forexsb.com/forum/post/82592/#p82592</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Inconsistent results between Express Generator and EA Studio]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82591/#p82591" />
			<content type="html"><![CDATA[<p>I found inconsistent results between Express Generator and EA studio, and here is how to reproduce it:</p><p>I have uploaded my EA studio settings as the attachment, and below is the command for Express Generator</p><p>node bin/gen.js --settings bin/gen.settings.ini ^<br />--server Eightcap ^<br />--symbol AUDJPY ^<br />--period M1 ^<br />--use_data_start true ^<br />--data_start &quot;20 Sep 2024 00:00 UTC&quot; ^<br />--use_data_end true ^<br />--data_end &quot;29 Jan 2025 00:00 UTC&quot; ^<br />--output test.json ^<br />--min_count_of_trades 10 ^<br />--min_profit_factor 1.01 ^<br />--session_open 12:30 ^<br />--session_close 21:00 ^<br />--close_at_session_close true ^<br />--close_at_friday_close true ^<br />--trade_direction_mode LongAndShort ^<br />--leverage 200 ^<br />--entry_lots 0.1 ^<br />--opposite_entry_signal Ignore ^<br />--trade_on_sunday false ^<br />--spread 12 ^<br />--commission 0</p><p>Because in the above command, the min_profit_factor is 1.01 so Express Generator should not generate any losing strategies, however, when validating the strategies generated by Express Generator in EA studio, a lot of them results in losses.</p><p>To reproduce the problem, simply run the above command for a minute to generate around 10 strategies and then validate them with EA studio.</p>]]></content>
			<author>
				<name><![CDATA[shapeare]]></name>
				<uri>https://forexsb.com/forum/user/16613/</uri>
			</author>
			<updated>2025-04-06T04:54:38Z</updated>
			<id>https://forexsb.com/forum/post/82591/#p82591</id>
		</entry>
</feed>
