<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
		<link>https://forexsb.com/forum/topic/8720/all-trades-in-mt4-close-after-1-bar-if-using-multiple-exit-indicators/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/8720/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in All trades in MT4 close after 1 bar if using multiple exit indicators.]]></description>
		<lastBuildDate>Fri, 02 Apr 2021 15:49:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64536/#p64536</link>
			<description><![CDATA[<p>The &quot;more than 2 exit slots&quot; feature was announced in July 2020. If you have used more than 2 exit indicators feature before&nbsp; &nbsp;March 10th, the experts or portfolios may have the bug.</p><p>Fortunately, there is an easy way to check the already exported experts.</p><p>Open your Portfolio in the MetaTrader Editor or in any other text editor and search for the &quot;<strong>true, true</strong>&quot; text. If the text is not found, everything is fine.</p><p><a href="https://image-holder.forexsb.com/store/metatrader-editor-search-true-true-not-found.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/metatrader-editor-search-true-true-not-found-thumb.png" alt="https://image-holder.forexsb.com/store/metatrader-editor-search-true-true-not-found-thumb.png" /></span></a></p><p>If the text <strong>true, true</strong> is found in a &#039;GetExitSignal_0##&#039; function and it contains indicators, you have to re-export your portfolio.</p><p>Here is an example. We see indicators, in the function, but it contains the &quot;<strong>true, true</strong>&quot; text.</p><p><a href="https://image-holder.forexsb.com/store/portfolio-startegy-with-three-exit-indicators-bug.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/portfolio-startegy-with-three-exit-indicators-bug-thumb.png" alt="https://image-holder.forexsb.com/store/portfolio-startegy-with-three-exit-indicators-bug-thumb.png" /></span></a></p><p>The correct function with three indicators must look like that:</p><p><a href="https://image-holder.forexsb.com/store/portfolio-startegy-with-three-exit-indicators.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/portfolio-startegy-with-three-exit-indicators-thumb.png" alt="https://image-holder.forexsb.com/store/portfolio-startegy-with-three-exit-indicators-thumb.png" /></span></a></p><br /><br /><p>The bug was reported on March 9th and fixed on March 10th. All portfolios and experts exported after that date should be correct.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 02 Apr 2021 15:49:08 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64536/#p64536</guid>
		</item>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64534/#p64534</link>
			<description><![CDATA[<p>Popov,</p><p>Can you recall when you announced the more than 2 exit indicator?&nbsp; So that I have zoom in closer to those Portfolio Experts (PE) that were affected.&nbsp; And re-import those PE after the date of announcement to get them fixed.&nbsp; I&#039;m surprise about this issue, I noticed I still have open positions after 1 bar (and I&#039;m using 1min EA), that&#039;s odd not to noticed such bug if it really exist.</p><p>I don&#039;t seem to have such problem, strategies with more than 2 exit indicators didn&#039;t close after 1 bar (for my 1min ea).&nbsp; So I&#039;m not sure when this problem really started, ie. Portfolio Experts exported since when started to have such problem.&nbsp; The PE I observed started testing since Dec till now and I didn&#039;t noticed the EA closing after 1min bar.</p><p>Can I assume that any Portfolio Expert export after 9 March has no issue and hence I only need to focus on those strategies generated from, date of announcement (when can&nbsp; you recall?) till 8 Mar?</p>]]></description>
			<author><![CDATA[null@example.com (hannahis)]]></author>
			<pubDate>Fri, 02 Apr 2021 12:20:41 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64534/#p64534</guid>
		</item>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64533/#p64533</link>
			<description><![CDATA[<p>&quot;The fix is in the particular strategy from the portfolio, which has more than 2 indicators.</p><p>You can import and re-export your portfolio and run it with the same base magic number. If you do it on Saturday, it will be without side effects.</p><p>The bug originates from announcing the possibilities of more than 2 exit indicators.&quot;</p><br /><p>Q: if the bug started since the announcing the possibilities of more than 2 exit indicators, which is a couple of mths ago, how can it has no side effects, on those past few weeks/mths demo testing?</p><p>&quot;It is also possible to have older MQL re-uploaded at a later stage.&quot;</p><p>What do you mean by older MQL re-uploaded? You are referring to re-upload the Portfolio Expert? </p><p>How to re-upload older Portfolio Experts other than using the Validator?</p><p>If I re-upload the collection and re-export it out, will that also fix the issue?</p>]]></description>
			<author><![CDATA[null@example.com (hannahis)]]></author>
			<pubDate>Fri, 02 Apr 2021 12:14:38 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64533/#p64533</guid>
		</item>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64532/#p64532</link>
			<description><![CDATA[<p>The fix is in the particular strategy from the portfolio, which has more than 2 indicators.</p><p>You can import and re-export your portfolio and run it with the same base magic number. If you do it on Saturday, it will be without side effects.</p><p>The bug originates from announcing the possibilities of more than 2 exit indicators. I have missed properly update the MQL for such cases (or missed uploading the update). I cannot believe it was not tested. It is also possible to have older MQL re-uploaded at a later stage.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 02 Apr 2021 11:01:45 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64532/#p64532</guid>
		</item>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64531/#p64531</link>
			<description><![CDATA[<p>can you send the code how to fix it or mark the changes in code</p><p>i have compare a portfolio from 2019 and from now.. there is no different in code also this require bars. so maybe thats not in the hole code maybe in the indicators code.</p>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Fri, 02 Apr 2021 10:27:29 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64531/#p64531</guid>
		</item>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64529/#p64529</link>
			<description><![CDATA[<p>Since when this problem arise? From the very beginning when EA Studio has more than 2 exit option or just recently due to the new update? </p><p>I want to verify when the issue arise so that I may know which old Portfolio Experts I need to check and have them fixed.&nbsp; </p><p>How to fix those old Portfolio Experts that have these issues? Re-import them back?</p><p>Does it mean all my past exported Portfolio Experts needs to be re-imported back to correct the fix?</p>]]></description>
			<author><![CDATA[null@example.com (hannahis)]]></author>
			<pubDate>Fri, 02 Apr 2021 09:16:36 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64529/#p64529</guid>
		</item>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64240/#p64240</link>
			<description><![CDATA[<p>Superb, Mr. Popov! I also had it happening if using 2 exit indicators, not just 3, but I guess your fix will still fix it. I will check tomorrow morning. Also excited to hear that new features are coming. You´ve really made this an outstanding piece of software.</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Tue, 09 Mar 2021 15:57:06 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64240/#p64240</guid>
		</item>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64237/#p64237</link>
			<description><![CDATA[<p>The bug is fixed.</p><p>We will upload a new version of EA Studio with the fix and with some new features tomorrow morning.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 09 Mar 2021 12:14:31 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64237/#p64237</guid>
		</item>
		<item>
			<title><![CDATA[Re: All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64236/#p64236</link>
			<description><![CDATA[<p>Thank you for reporting this issue. It appears when we use more than 2 exit indicators.</p><p>We will upload a fix as soon as possible.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 09 Mar 2021 11:57:36 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64236/#p64236</guid>
		</item>
		<item>
			<title><![CDATA[All trades in MT4 close after 1 bar if using multiple exit indicators]]></title>
			<link>https://forexsb.com/forum/post/64228/#p64228</link>
			<description><![CDATA[<p>Hey,</p><p>I am wondering that no one has noticed this very serious bug in EA Studio´s exported MQ4 code. If a strategy uses more than 1 exit indicator, every(!) trade will close after just 1 bar in the MT4 backtest and hence in live trading with MT4 too. I´ve tried this on several pairs, several timeframes, it´s always the same: if using 1 exit indicator only, the backtests between EA Studio and MT4 match just perfectly, but if using more than 1 exit indicator, each trade in the MT4 backtest will close after just 1 bar, everytime. It´s also independent from the type of exit indicator. As long as it´s just 1, the backtests always match. The number of entry indicators is unaffected from this, I´ve tried up to 6 with no issues. This is exclusively related to the amount of exit indicators. I´ve attached a screenshot and a strategy where this happens to demonstrate the issue in the ZIP file. I hope this heavy bug can be fixed quickly.</p><p>Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Tue, 09 Mar 2021 07:12:47 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/64228/#p64228</guid>
		</item>
	</channel>
</rss>
