<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Updated EA in MT4 traded still like the previous version?]]></title>
		<link>https://forexsb.com/forum/topic/7563/updated-ea-in-mt4-traded-still-like-the-previous-version/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/7563/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Updated EA in MT4 traded still like the previous version?.]]></description>
		<lastBuildDate>Thu, 01 Nov 2018 19:57:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52791/#p52791</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Somehow the EA used the old settings, nevertheless the EA showed in the inputs tab the correct ones.</p></blockquote></div><p>This is a serious issue of MT. Please report it to MetaQuotes. </p><p>The EAs produced by FSB Pro and EA Studio are 100% native MQL files, which compiles without errors and warning. Please check the EAs output in the MT&#039;s Expert output for any suspicious messages.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Thu, 01 Nov 2018 19:57:44 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52791/#p52791</guid>
		</item>
		<item>
			<title><![CDATA[Re: Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52788/#p52788</link>
			<description><![CDATA[<p>And of course I gave the updated EA a different name than the previous version.</p>]]></description>
			<author><![CDATA[null@example.com (Lagoons)]]></author>
			<pubDate>Thu, 01 Nov 2018 16:41:11 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52788/#p52788</guid>
		</item>
		<item>
			<title><![CDATA[Re: Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52773/#p52773</link>
			<description><![CDATA[<p>Hello,</p><p>I&#039;ve probably was not clear enough what I did.</p><p>I&#039;ve built a strategy with FSB and attached it on a chart in MT4, after a while I omptimized the strategy with FSB, exported the EA and replaced the old version with it (just different settings) in MT4.<br />Additionally I changed the magic number to the previous one.</p><p>Somehow the EA used the old settings, nevertheless the EA showed in the inputs tab the correct ones.</p><p>And I cannot explain how this could have happened.</p>]]></description>
			<author><![CDATA[null@example.com (Lagoons)]]></author>
			<pubDate>Thu, 01 Nov 2018 09:53:16 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52773/#p52773</guid>
		</item>
		<item>
			<title><![CDATA[Re: Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52772/#p52772</link>
			<description><![CDATA[<p>I&#039;m not clear about what you are trying to do...</p><p>If you&#039;ve modified / improved an EA then you should NOT change its magic number -- otherwise, it simply becomes a different EA.</p><p>When you modify an EA you must recompile the *.mq4 to a *.ex4.&nbsp; Sometimes, there may be a compile error that you didn&#039;t notice -- in which case the old *.ex4 will still be present and will be the one that is used.</p><p>MT4 keeps the previous version of the EA in memory and will keep using it -- unless you force it to let go and look for a new version.&nbsp; There are two ways of doing this:<br />a. Exit and relaunch MT4<br />b. In the Navigator window right-click &quot;Expert Advisors&quot; and select &quot;Refresh&quot;.&nbsp; This will force MT4 to unload any EA it currently holds in memory.&nbsp; </p><p>After performing (a) or (b), when you attach your EA to a chart then it should be the new one.</p><p>What I sometimes do is add an additional &quot;Print&quot; statement in the OnInit() function as a sanity check and change the version number string -- e.g. <br />Print(&quot;EA 150063001 -- version 1.0.1&quot;);</p>]]></description>
			<author><![CDATA[null@example.com (sleytus)]]></author>
			<pubDate>Thu, 01 Nov 2018 09:39:18 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52772/#p52772</guid>
		</item>
		<item>
			<title><![CDATA[Re: Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52771/#p52771</link>
			<description><![CDATA[<p>Of course, I&#039;ll try this.</p><p>But just to make clear, I&#039;ve talked about live trading not backtesting.</p><p>So if I&#039;ve resetted the input is it safe to change the EA&#039;s magic number to the previous one?</p><p>And if I want to make sure that an EA won&#039;t open more trades but still manage the old ones, could I just change e. g. Amount for new position to 0.0?</p><p>Best regards</p>]]></description>
			<author><![CDATA[null@example.com (Lagoons)]]></author>
			<pubDate>Wed, 31 Oct 2018 23:29:27 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52771/#p52771</guid>
		</item>
		<item>
			<title><![CDATA[Re: Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52770/#p52770</link>
			<description><![CDATA[<p>Yes Lagoons you have too, this is &quot;in my opinion&quot; a MT4 and MT5 caveat<br />When the software see a previous tested magic number it will keep the last backtest settings</p><p>But maybe this is not the solution for your problem, do you mind to try it please?</p><br /><p>Best regards</p>]]></description>
			<author><![CDATA[null@example.com (ViniQ)]]></author>
			<pubDate>Wed, 31 Oct 2018 22:39:22 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52770/#p52770</guid>
		</item>
		<item>
			<title><![CDATA[Re: Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52769/#p52769</link>
			<description><![CDATA[<p>Did I have to?</p><p>No, I just replaced the MQ4 file and it had the new settings on board or did I get this wrong?</p><p>Best regards</p>]]></description>
			<author><![CDATA[null@example.com (Lagoons)]]></author>
			<pubDate>Wed, 31 Oct 2018 21:52:15 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52769/#p52769</guid>
		</item>
		<item>
			<title><![CDATA[Re: Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52768/#p52768</link>
			<description><![CDATA[<p>Did you reset the expert parameters?<br /><span class="postimg"><img src="https://i.imgur.com/mRsTRqW.png" alt="https://i.imgur.com/mRsTRqW.png" /></span></p>]]></description>
			<author><![CDATA[null@example.com (ViniQ)]]></author>
			<pubDate>Wed, 31 Oct 2018 21:38:57 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52768/#p52768</guid>
		</item>
		<item>
			<title><![CDATA[Updated EA in MT4 traded still like the previous version?]]></title>
			<link>https://forexsb.com/forum/post/52767/#p52767</link>
			<description><![CDATA[<p>Hello,</p><p>I expericenced a weird issue I&#039;ve optimized an EA last month and and replaced the older version on MT4.</p><p>It performed mediocre to say at least. So now I&#039;ve analysed the performance and to my suprise the result was that the trades were not the result from the updated EA but from the older version!?</p><p>But the weird thing is, at that time I already attached the updated EA onto the chart, I could easily check it in my MT4 logs.<br />And the trades were current trades no older ones.</p><p>How can this happen? The only thing I did was to make sure that the updated EA had still the same magic number like the older one, to manage older trades.</p><p>Does anyone know what may have happend and how I can prevent this, cause I have no clue?</p>]]></description>
			<author><![CDATA[null@example.com (Lagoons)]]></author>
			<pubDate>Wed, 31 Oct 2018 21:30:22 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/52767/#p52767</guid>
		</item>
	</channel>
</rss>
