<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Donchian Channel Cross]]></title>
		<link>https://forexsb.com/forum/topic/4490/donchian-channel-cross/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/4490/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Donchian Channel Cross.]]></description>
		<lastBuildDate>Fri, 08 Nov 2013 21:22:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Donchian Channel Cross]]></title>
			<link>https://forexsb.com/forum/post/22626/#p22626</link>
			<description><![CDATA[<p>FirstBar is ok then. </p><p>Change line 126 to this:<br /></p><div class="codebox"><pre><code> for (int iBar = iFirstBar; iBar &lt; Bars-iShift1-iShift2; iBar++)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Fri, 08 Nov 2013 21:22:26 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/22626/#p22626</guid>
		</item>
		<item>
			<title><![CDATA[Re: Donchian Channel Cross]]></title>
			<link>https://forexsb.com/forum/post/22624/#p22624</link>
			<description><![CDATA[<p>what do you mean its not holding all periods and shifts !!!&nbsp; could you elaborate more </p><br /><p>i used this :<br />&nbsp; &nbsp;int&nbsp; &nbsp;iFirstBar = (iPeriod1 + iShift1 + iPeriod2 + iShift2) + previous + 2;</p><p>also i tested all these combinations <br />//int&nbsp; &nbsp;iFirstBar = Math.Max(iPeriod1 + iShift1 + previous + 2, iPeriod2 + iShift2 + previous + 2);<br />//int&nbsp; &nbsp;iFirstBar = Math.Max(Math.Max(iPeriod1, iShift1), Math.Max(iPeriod2, iShift2)) + previous + 2;<br />//int&nbsp; &nbsp;iFirstBar = (int)Math.Max(iPeriod1 + iShift1 + iPeriod2 + iShift2) + 2;<br />//int&nbsp; &nbsp;iFirstBar = Math.Max(iPeriod1 + iShift1 + iPeriod2 + iShift2) + previous + 2;<br />//int&nbsp; &nbsp;iFirstBar = Math.Max(iPeriod1 + iShift1 + iPeriod2 + iShift2) + 2;<br />//int&nbsp; &nbsp;iFirstBar = (iPeriod1 + iShift1 + iPeriod2 + iShift2) + previous + 2;</p><br /><p>But all not working !!!!!</p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Fri, 08 Nov 2013 17:19:13 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/22624/#p22624</guid>
		</item>
		<item>
			<title><![CDATA[Re: Donchian Channel Cross]]></title>
			<link>https://forexsb.com/forum/post/22609/#p22609</link>
			<description><![CDATA[<p>FirstBar is incorrect probably, make sure it holds both periods and shifts.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Thu, 07 Nov 2013 11:35:03 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/22609/#p22609</guid>
		</item>
		<item>
			<title><![CDATA[Re: Donchian Channel Cross]]></title>
			<link>https://forexsb.com/forum/post/22600/#p22600</link>
			<description><![CDATA[<p>Error: Index was outside the bounds of the array.<br />Slot type: OpenFilter<br />Indicator: Donchian Channel Crossover* (High &amp; Low, , , 2, 3)</p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Thu, 07 Nov 2013 05:03:38 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/22600/#p22600</guid>
		</item>
		<item>
			<title><![CDATA[Re: Donchian Channel Cross]]></title>
			<link>https://forexsb.com/forum/post/22599/#p22599</link>
			<description><![CDATA[<p>What is the error?</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 06 Nov 2013 21:58:09 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/22599/#p22599</guid>
		</item>
		<item>
			<title><![CDATA[Donchian Channel Cross]]></title>
			<link>https://forexsb.com/forum/post/22598/#p22598</link>
			<description><![CDATA[<p>This indicator uses two donchian channels to give signals , it works fine Shift 2 exceeds Shift1, Shift2 have to be &lt;shift1 for the indicator to work!!!!</p><p>Example of working code without Error Msg <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IndParam.NumParam[2].Caption = &quot;Shift 1&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IndParam.NumParam[2].Value = 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IndParam.NumParam[2].Min = 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IndParam.NumParam[2].Max = 3;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IndParam.NumParam[3].Caption = &quot;Shift 2&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IndParam.NumParam[3].Value = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IndParam.NumParam[3].Min = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IndParam.NumParam[3].Max = 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>I spent the whole day trying to code it but cannot find where is the bug to make it work perfect</p><p>wishing you all to find the idea useful and waiting for someone to help fix it <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Wed, 06 Nov 2013 21:00:14 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/22598/#p22598</guid>
		</item>
	</channel>
</rss>
