<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Custom Indicators Development]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/5324/" />
	<updated>2017-01-01T21:50:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/5324/custom-indicators-development/</id>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/40654/#p40654" />
			<content type="html"><![CDATA[<p>I am about to attempt to modify a couple indicators.<br />Is this documentation the current version?</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[Blaiserboy]]></name>
				<uri>https://forexsb.com/forum/user/2491/</uri>
			</author>
			<updated>2017-01-01T21:50:03Z</updated>
			<id>https://forexsb.com/forum/post/40654/#p40654</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29185/#p29185" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>It seems that this project will not have the desired effect, so I&#039;ll stop the further development for now.</p><p>The provided code is already useful to develop custom indicators in a programmer&#039;s friendly environment.</p></blockquote></div><p>You should have kept quiet on this, just chipping away at it until it would have been finished. And then a big presentation! Reaction would have been totally different&nbsp; <img src="https://forexsb.com/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Jokes aside, I couldn&#039;t attend your skype chat on Sunday, although this topic is off the table for now, can you publish it (if it was chat-only)?</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-05-12T20:55:36Z</updated>
			<id>https://forexsb.com/forum/post/29185/#p29185</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29184/#p29184" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><div class="quotebox"><cite>footon wrote:</cite><blockquote><p>Oh, that&#039;s not normal, should be looked into it. You can use my version instead, I think I used a different source though.</p></blockquote></div><p> many thanks in advance footon iam waiting your intervention , </p><p>Note : when i reduce the number from 30 to 5 or 3 for example the speed go some how faster !!!</p></blockquote></div><p>I tested both fractal dimention index also i tested FDI indicator as well both slow down the speed </p><p>attached 1 minute generator running using only 7000 bars</p></blockquote></div><p>It&#039;s not erroneous after all, is it. You have to accept the fact indicators are different, some need more power, i.e are slower to calculate. If it&#039;s unacceptable, avoid them. </p><p>Did you implement the change I suggested? How does it affect the speed?</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-05-12T20:50:01Z</updated>
			<id>https://forexsb.com/forum/post/29184/#p29184</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29181/#p29181" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Its OK but may you add some Logics , functions and new indicators types to the existing structure !!!!</p></blockquote></div><p>I just now said that I&#039;ll not add any additional ready models. You have to program them yourself.</p><p>The existing structure is not limiting you in doing any of those.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-05-12T16:36:00Z</updated>
			<id>https://forexsb.com/forum/post/29181/#p29181</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29180/#p29180" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>It seems that this project will not have the desired effect, so I&#039;ll stop the further development for now.</p><p>The provided code is already useful to develop custom indicators in a programmer&#039;s friendly environment.</p></blockquote></div><p>Its OK but may you add some Logics , functions and new indicators types to the existing structure !!!!</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2015-05-12T16:21:33Z</updated>
			<id>https://forexsb.com/forum/post/29180/#p29180</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29179/#p29179" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><div class="quotebox"><cite>footon wrote:</cite><blockquote><div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><p>I didnot complete any test using that indicator&nbsp; it frozen my generator evry time i use it in generator am i the only one or this is normal behavior of this one and i have to live with it ? the benchmark drops to 5 !!!!!</p></blockquote></div><p>Oh, that&#039;s not normal, should be looked into it. You can use my version instead, I think I used a different source though.</p></blockquote></div><p> many thanks in advance footon iam waiting your intervention , </p><p>Note : when i reduce the number from 30 to 5 or 3 for example the speed go some how faster !!!</p></blockquote></div><p>I tested both fractal dimention index also i tested FDI indicator as well both slow down the speed </p><p>attached 1 minute generator running using only 7000 bars</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2015-05-12T16:19:10Z</updated>
			<id>https://forexsb.com/forum/post/29179/#p29179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29178/#p29178" />
			<content type="html"><![CDATA[<p>It seems that this project will not have the desired effect, so I&#039;ll stop the further development for now.</p><p>The provided code is already useful to develop custom indicators in a programmer&#039;s friendly environment.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-05-12T16:09:26Z</updated>
			<id>https://forexsb.com/forum/post/29178/#p29178</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29160/#p29160" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><p>many thanks in advance footon iam waiting your intervention , <br />Note : when i reduce the number from 30 to 5 or 3 for example the speed go some how faster !!!</p></blockquote></div><p>The indi is fine, at least in backtester, optimizer, generator. I&#039;m pretty confident trades match after-the-fact backtest also.</p><p>Maybe you should look for a more powerful computer? Maybe it runs better for me because I still run FSB on XP?</p><p>The calc is not overly heavy, but it has some tricks it needs to do. I&#039;m thinking how you could adjust it for performance - probably you could try changing the level parameter. Change line 82 to this:<br /></p><div class="codebox"><pre><code>IndParam.NumParam[1].Point   = 1;</code></pre></div><p>By this you reduce the number of combinations massively, I don&#039;t think having 1.5 instead of 1.53 is a terrible loss, quite possibly it reduces the curve-fitting footprint, if you will, as well. Report back, it&#039;s interesting to hear your results.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-05-11T13:21:34Z</updated>
			<id>https://forexsb.com/forum/post/29160/#p29160</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29158/#p29158" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>footon wrote:</cite><blockquote><div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><div class="quotebox"><cite>footon wrote:</cite><blockquote><p>Repainting is not the right word here. If it&#039;s openfilter, previous bar is used, otherwise not. Should trade fine, me thinks. Have you made checks to see if trading matches back-test?</p></blockquote></div><p>I didnot complete any test using that indicator&nbsp; it frozen my generator evry time i use it in generator am i the only one or this is normal behavior of this one and i have to live with it ? the benchmark drops to 5 !!!!!</p></blockquote></div><p>Oh, that&#039;s not normal, should be looked into it. You can use my version instead, I think I used a different source though.</p></blockquote></div><p> many thanks in advance footon iam waiting your intervention , </p><p>Note : when i reduce the number from 30 to 5 or 3 for example the speed go some how faster !!!</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2015-05-11T13:01:03Z</updated>
			<id>https://forexsb.com/forum/post/29158/#p29158</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29155/#p29155" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><div class="quotebox"><cite>footon wrote:</cite><blockquote><p>Repainting is not the right word here. If it&#039;s openfilter, previous bar is used, otherwise not. Should trade fine, me thinks. Have you made checks to see if trading matches back-test?</p></blockquote></div><p>I didnot complete any test using that indicator&nbsp; it frozen my generator evry time i use it in generator am i the only one or this is normal behavior of this one and i have to live with it ? the benchmark drops to 5 !!!!!</p></blockquote></div><p>Oh, that&#039;s not normal, should be looked into it. You can use my version instead, I think I used a different source though.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-05-11T10:40:50Z</updated>
			<id>https://forexsb.com/forum/post/29155/#p29155</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29147/#p29147" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>footon wrote:</cite><blockquote><p>Repainting is not the right word here. If it&#039;s openfilter, previous bar is used, otherwise not. Should trade fine, me thinks. Have you made checks to see if trading matches back-test?</p></blockquote></div><p>I didnot complete any test using that indicator&nbsp; it frozen my generator evry time i use it in generator am i the only one or this is normal behavior of this one and i have to live with it ? the benchmark drops to 5 !!!!!</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2015-05-11T01:56:16Z</updated>
			<id>https://forexsb.com/forum/post/29147/#p29147</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29146/#p29146" />
			<content type="html"><![CDATA[<p>Repainting is not the right word here. If it&#039;s openfilter, previous bar is used, otherwise not. Should trade fine, me thinks. Have you made checks to see if trading matches back-test?</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-05-11T01:31:14Z</updated>
			<id>https://forexsb.com/forum/post/29146/#p29146</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29145/#p29145" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>footon wrote:</cite><blockquote><div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><p>Regarding to the way the indicator coded it&nbsp; affects the speed of generator speed </p><p>Some times the indicator coded and gives the right results but in a way that slow down the speed </p><p>So wee need a guidance and best practices how to avoid that with custom indicators </p><br /><p>Example for that is Fractal dimension index FDI&nbsp; When i load the indicator and link the slot to be sure it still exist<br />then run the generator it moves so horribly slow</p></blockquote></div><p>Try to optimize the code for speed. If you can find ways to optimize the code, you can uncover plenty of time. Custom indis here are quite condensed already, so it will be quite hard I think. I remember a project where I could cut down a 15sec calc time to less than 3, and if I&#039;d tried really hard, I&#039;d have probably cut that 3sec in half additionally, but this is quite extreme example, most commonly available indis are much less simple and short, therefore not much to optimize and gain.</p></blockquote></div><p>After checking the FDI indicator i found </p><div class="codebox"><pre><code>// The CheckBox parameters
            IndParam.CheckParam[0].Caption = &quot;Use previous bar value.&quot;;
           [b]IndParam.CheckParam[0].Checked = (slotType == SlotTypes.OpenFilter);[/b]
            IndParam.CheckParam[0].Enabled = false;
            IndParam.CheckParam[0].ToolTip = &quot;Use the indicator value from the previous bar.&quot;;
        </code></pre></div><p>and this <br /></p><div class="codebox"><pre><code>[b]int       iPrvs     = (SlotType == SlotTypes.OpenFilter) ? 1 : 0;[/b]</code></pre></div><p>Why the lines in bold are here !!&nbsp; i didnot get it also IS the Enabled = false; makes it repainting ?<br />Note : the indicator in repository!!!</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2015-05-11T00:26:23Z</updated>
			<id>https://forexsb.com/forum/post/29145/#p29145</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29142/#p29142" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ahmedalhoseny wrote:</cite><blockquote><p>Regarding to the way the indicator coded it&nbsp; affects the speed of generator speed </p><p>Some times the indicator coded and gives the right results but in a way that slow down the speed </p><p>So wee need a guidance and best practices how to avoid that with custom indicators </p><br /><p>Example for that is Fractal dimension index FDI&nbsp; When i load the indicator and link the slot to be sure it still exist<br />then run the generator it moves so horribly slow</p></blockquote></div><p>Try to optimize the code for speed. If you can find ways to optimize the code, you can uncover plenty of time. Custom indis here are quite condensed already, so it will be quite hard I think. I remember a project where I could cut down a 15sec calc time to less than 3, and if I&#039;d tried really hard, I&#039;d have probably cut that 3sec in half additionally, but this is quite extreme example, most commonly available indis are much more simple and short, therefore not much to optimize and gain.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-05-10T23:50:08Z</updated>
			<id>https://forexsb.com/forum/post/29142/#p29142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom Indicators Development]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29137/#p29137" />
			<content type="html"><![CDATA[<p>Regarding to the way the indicator coded it&nbsp; affects the speed of generator speed </p><p>Some times the indicator coded and gives the right results but in a way that slow down the speed </p><p>So wee need a guidance and best practices how to avoid that with custom indicators </p><br /><p>Example for that is Fractal dimension index FDI&nbsp; When i load the indicator and link the slot to be sure it still exist<br />then run the generator it moves so horribly slow</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2015-05-10T22:28:12Z</updated>
			<id>https://forexsb.com/forum/post/29137/#p29137</id>
		</entry>
</feed>
