<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Creating new indicator MACD Zero Lag]]></title>
		<link>https://forexsb.com/forum/topic/5796/creating-new-indicator-macd-zero-lag/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/5796/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Creating new indicator MACD Zero Lag.]]></description>
		<lastBuildDate>Tue, 09 Feb 2016 00:21:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33661/#p33661</link>
			<description><![CDATA[<p>Hey Laurent,</p><p>No problems, glad to hear you have successfully completed your first project, well done! And thank you for widening the choice of custom indis!</p><p>Trade safe!<br />F</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Tue, 09 Feb 2016 00:21:36 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33661/#p33661</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33660/#p33660</link>
			<description><![CDATA[<p>Hi Footon,</p><p>Thank you for pointing me out in the right direction, I finished the MACD Zero Lag indi (added MQL code and did some testing to make sure it&#039;s correct).<br />I posted it to the indicators repository, as you suggested.</p><p>Laurent</p>]]></description>
			<author><![CDATA[null@example.com (wiart)]]></author>
			<pubDate>Mon, 08 Feb 2016 22:35:32 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33660/#p33660</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33546/#p33546</link>
			<description><![CDATA[<p>No, currently no standardization process. When problems arise, then there are usually reports in the forum, and some bugs appear only when a group of people lay their hands on and one of them discovers something. To generalize, there are 2 types of bugs which are more frequent. Firstly, a crash due to out of bounds or overflow error; secondly, a trade error like no openings or false openings.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Mon, 01 Feb 2016 15:50:46 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33546/#p33546</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33542/#p33542</link>
			<description><![CDATA[<p>OK, duly noted, will do.</p><p>Is there any kind of validation process first to ensure that quality of uploaded indis is up to some kind of standard?</p>]]></description>
			<author><![CDATA[null@example.com (wiart)]]></author>
			<pubDate>Mon, 01 Feb 2016 14:15:46 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33542/#p33542</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33541/#p33541</link>
			<description><![CDATA[<p>You can always post it as an attachment in the forum, but it would be even better to upload the indi to the repository. You can find it here - <a href="http://forexsb.com/repository/repository_indicators/">http://forexsb.com/repository/repository_indicators/</a></p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Mon, 01 Feb 2016 14:11:33 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33541/#p33541</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33539/#p33539</link>
			<description><![CDATA[<p>Hi Footon,</p><p>Thank you for the pointers to MACDHistogram and MACD code.<br />I quickly reviewed the MACD.cs code and I think I got the answers to my last questions.<br />I&#039;ve tried my MACD Zero Lag indi and it seems to work.</p><p>I&#039;ll update my code with the last params I want to include (based upon MACD.cs) and do my due diligence to make sure the indi work as the MT4 one and I&#039;ll then post it for everybody to use it.</p><p>Last question: how should I post the indi when it works?</p><p>Thanks<br />Laurent</p><br /><p>Laurent</p>]]></description>
			<author><![CDATA[null@example.com (wiart)]]></author>
			<pubDate>Mon, 01 Feb 2016 13:50:40 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33539/#p33539</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33527/#p33527</link>
			<description><![CDATA[<p>If indi works and the values matches with MT then you have done well!</p><p>For your requested logics, higher/lower than zero line, you can use the higher/lower than level, level is a numerical parameter, which is settable by the user. If you keep it as zero, the level line is zero (line).</p><p>If you want to use the macd and signal lines, turn to the macd.cs source, best would be to use the logics found in macd.cs and copy those in to your custom indi. Of course, you can make additional indi for macd and signal lines as well (like the standard macd and macd histogram in fsb).</p><p>Currently I cannot test your work myself as my ISP is playing up. </p><p>I don&#039;t know any current manual for custom indi creation for fsb, so if you strike a wall or have questions, post them freely and we&#039;ll try to help.</p><p>Good luck!</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sun, 31 Jan 2016 23:31:27 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33527/#p33527</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33525/#p33525</link>
			<description><![CDATA[<p>Hey Footon,</p><p>Thank you so much for the pointer to MACDHistogram.cs, I used it as a template for MACD Zero Lag.<br />Here it is, attached.</p><p>I don&#039;t know if I did it right (I still need to compare to the original indicator for MT4).<br />Also, I&#039;d like to add 2 options for opening positions (MACD ZR histogram is higher than 0 / lower than 0). I believe that it is with &quot;MACD Zero Lag histogram is higher/lower than the Level line&quot;, but not sure, since this is not documented in the original MACDHistogram.cs code I used.</p><p>Laurent</p>]]></description>
			<author><![CDATA[null@example.com (wiart)]]></author>
			<pubDate>Sun, 31 Jan 2016 20:04:16 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33525/#p33525</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33523/#p33523</link>
			<description><![CDATA[<p>Hey Laurent,</p><p>I&#039;m not on my work machine at the moment, so I could only glance your project. But you have used nonconventional (purely for my taste <img src="https://forexsb.com/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /> ) approach for some things. There seems to be that the number of components is not declared, that&#039;s one possible reason for out of bounds error. If I were you I would take the FSB&#039;s source of macd histogram and then adjust the code. You can find the sources here - <a href="https://github.com/PopovMP/FSB_Pro_Indicators">https://github.com/PopovMP/FSB_Pro_Indicators</a> </p><p>Hope this helps a bit!</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sun, 31 Jan 2016 15:41:07 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33523/#p33523</guid>
		</item>
		<item>
			<title><![CDATA[Creating new indicator MACD Zero Lag]]></title>
			<link>https://forexsb.com/forum/post/33522/#p33522</link>
			<description><![CDATA[<p>Hello,</p><p>I&#039;m enjoying using FSB and I&#039;m trying to create a new indicator based on MACD Zero Lag formula that can be found here: <br />https://www.mql5.com/en/code/9993<br />ZeroLAG MACD(i) = (2*EMA(Close, FP, i) - EMA(EMA(Close, FP, i), FP, i)) - (2*EMA(Close, SP, i) - EMA(EMA(Close, SP, i), SP, i));<br />ZeroLAG MACD Signal(i) = 2*EMA(ZeroLAG MACD(i), SigP, i) - EMA(EMA(ZeroLAG MACD(i), SigP, i), SigP, i);</p><p>where:<br />EMA - exponential moving average;<br />Close - a price of the closing of the bar;<br />FP - a period of the quick moving average;<br />SP - a period of the slow moving average;<br />SigP - a period of the signal moving average;</p><p>So, I started coding, using other custom indicators. Unfortunately, I&#039;m lacking a lot of knowledge on the FSB APIs, and I get an &quot;array out of bound&quot; error message when I try to use it in FSB to create strategies and don&#039;t know if there is a way to debug (step by step).<br /> I would also have loved to have the basic MACD indicator code from FSB, but it&#039;s not available in the indicators directory.<br />The goal is to have very simple entry/exit rules (histogram higher or lower than 0, or signal line, etc).</p><br /><p>Would somebody kind enough to point me to the API documentation, or do a quick check on the code attached (I&#039;m sure my mistakes are fairly obvious to a coder accustomed to creating indicators for FSB)?</p><p>Many thanks,<br />Laurent</p>]]></description>
			<author><![CDATA[null@example.com (wiart)]]></author>
			<pubDate>Sun, 31 Jan 2016 13:36:04 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/33522/#p33522</guid>
		</item>
	</channel>
</rss>
