<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — EA MACD Error Message]]></title>
		<link>https://forexsb.com/forum/topic/9443/ea-macd-error-message/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9443/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in EA MACD Error Message.]]></description>
		<lastBuildDate>Tue, 27 Jun 2023 21:36:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/75466/#p75466</link>
			<description><![CDATA[<p>&gt;If you now set it to a fixed 2, do the calculations/backtests still match with EA Studio?</p><p>The actual value doesn&#039;t matter because it is not used in the calculations.</p><p>However, I also added this value in the strategy&#039;s &quot;first bar&quot;, but it is not in EA Studio.</p><p>It is fixed in Express Generator v2.37</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 27 Jun 2023 21:36:04 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75466/#p75466</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/75465/#p75465</link>
			<description><![CDATA[<p>Thanks for the fix! If you now set it to a fixed 2, do the calculations/backtests still match with EA Studio? Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Tue, 27 Jun 2023 20:34:37 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75465/#p75465</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/75461/#p75461</link>
			<description><![CDATA[<p>Thank you, Popov!</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Tue, 27 Jun 2023 12:02:39 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75461/#p75461</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/75457/#p75457</link>
			<description><![CDATA[<p>I found and fixed the issue in Express Generator v2.36.</p><p>It was in an unexpected place. Because I tried to optimize Express Generator maximally, I skipped the MACD signal line calculations because it was unnecessary. However, it exports the indicators MACD&#039;s SMA period equal to 0.<br />Now I fixed it to 2.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 27 Jun 2023 10:10:51 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75457/#p75457</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/75429/#p75429</link>
			<description><![CDATA[<p>I&#039;ll examine this issue today.</p><p>Thank you for the report!</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 26 Jun 2023 04:28:45 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75429/#p75429</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/75426/#p75426</link>
			<description><![CDATA[<p>I changed the 0 to a 1 for the close of every MACD or MACD Signal for every affected strategy in the portfolio EAs and that fixed it. I suspect it won&#039;t change the performance of the strategy.</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Mon, 26 Jun 2023 03:02:36 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75426/#p75426</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/75425/#p75425</link>
			<description><![CDATA[<p>Mr. Popov should take a look at this for sure then.</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Mon, 26 Jun 2023 02:50:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75425/#p75425</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/75424/#p75424</link>
			<description><![CDATA[<div class="quotebox"><cite>geektrader wrote:</cite><blockquote><p>This problem should result from an earlier bug where the min indicator period could become 0 or negative. Popov fixed it already and newly created EAs should not show this problem anymore.</p></blockquote></div><p>I just created new EAs tonight with the latest Express Generator and EAS, and I have this error on several symbols in MT5. It doesn&#039;t appear to be resolved yet, or the bug has returned.</p><p>I discovered the affected portfolio EAs have strategies where MACD SMA = 0. Could the new optimizer feature in Express Generator be causing this? I&#039;m using numeric_values_steps = 20 for the optimizer.</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Mon, 26 Jun 2023 02:05:42 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75424/#p75424</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/74875/#p74875</link>
			<description><![CDATA[<p>This problem should result from an earlier bug where the min indicator period could become 0 or negative. Popov fixed it already and newly created EAs should not show this problem anymore.</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Thu, 18 May 2023 23:13:46 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74875/#p74875</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/74856/#p74856</link>
			<description><![CDATA[<p>Added 15 and 9 to iMACD as shown:&nbsp; iMACD(NULL, 15, 30, 44, 9, PRICE_CLOSE);</p><p>Now EA loads onto MT5 chart with no errors shown in MT5 Experts tab at bottom of price chart.</p><p>So all you need to do is open the MT5 Editor and add the correct &#039;period&#039; and &#039;signal period&#039; by replacing the two zeros and press the Compile button and you should be able to use the EA&#039;s.</p><p>Evidently Express Generator is not adding the &#039;period&#039; and &#039;signal period&#039; to the source code of iMACD when saving strategy as an EA.</p>]]></description>
			<author><![CDATA[null@example.com (Alann)]]></author>
			<pubDate>Wed, 17 May 2023 18:06:24 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74856/#p74856</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/74834/#p74834</link>
			<description><![CDATA[<p>@viniq<br />Thanks for your reply.</p><p>I&#039;m using Express Generator &amp; afterwards EA Studio to generate the Portfolio EAs. I do not touch any Code.<br />So it must be a problem of the generation process ?</p>]]></description>
			<author><![CDATA[null@example.com (felix-brenkel)]]></author>
			<pubDate>Tue, 16 May 2023 13:51:13 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74834/#p74834</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/74832/#p74832</link>
			<description><![CDATA[<p>Hi <strong>@felix-brenkel</strong> you&#039;re welcome to the forums! I would like to point out that there appears to be an error in the code or configuration.</p><div class="codebox"><pre><code>   // MACD (Close, 34, 66, 0)
   indHandlers[2][1][0] = iMACD(NULL, 0, 34, 66, 0, PRICE_CLOSE);</code></pre></div><p>Fast EMA: 34<br />Slow EMA: 66<br /><strong>MACD SMA: 0</strong></p><div class="codebox"><pre><code>   // MACD (Close, 30, 44, 0)
   indHandlers[0][1][0] = iMACD(NULL, 0, 30, 44, 0, PRICE_CLOSE);</code></pre></div><p>Fast EMA: 30<br />Slow EMA: 44<br /><strong>MACD SMA: 0</strong></p><br /><p>It seems that when calling the MACD (Moving Average Convergence Divergence) indicator, the MACD SMA (Simple Moving Average) values are set to 0. However, it is important to note that the MACD SMA should be &gt;=2 for the indicator to function correctly.</p><p>I recently exported a portfolio expert using the MACD indicator on the MQL5 platform, and the export process went smoothly with all the values intact. However, I am puzzled as to why your source code has exported the MACD SMA values as 0. It would be beneficial for you, <strong>@Popov</strong>, to review the minimum period for MACD SMA used in the generator. It is possible that the expert advisor was generated with the parameter set to 0 for MACD SMA, leading to this discrepancy.</p>]]></description>
			<author><![CDATA[null@example.com (ViniQ)]]></author>
			<pubDate>Tue, 16 May 2023 12:11:38 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74832/#p74832</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/74824/#p74824</link>
			<description><![CDATA[<p>See attached file.</p><p>I&#039;m getting this error on 2 different brokers.</p>]]></description>
			<author><![CDATA[null@example.com (felix-brenkel)]]></author>
			<pubDate>Tue, 16 May 2023 06:00:37 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74824/#p74824</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/74819/#p74819</link>
			<description><![CDATA[<p>Both experts compile, test, and run on an MT chart without errors.</p><p>Please post screenshots of the issues you experience.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 15 May 2023 20:48:32 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74819/#p74819</guid>
		</item>
		<item>
			<title><![CDATA[Re: EA MACD Error Message]]></title>
			<link>https://forexsb.com/forum/post/74790/#p74790</link>
			<description><![CDATA[<p>I attached some of the EAs where I get the error.</p>]]></description>
			<author><![CDATA[null@example.com (felix-brenkel)]]></author>
			<pubDate>Fri, 12 May 2023 05:47:34 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74790/#p74790</guid>
		</item>
	</channel>
</rss>
