<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — modify donch channels]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/4283/" />
	<updated>2013-06-29T21:16:15Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/4283/modify-donch-channels/</id>
		<entry>
			<title type="html"><![CDATA[Re: modify donch channels]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20864/#p20864" />
			<content type="html"><![CDATA[<p>try this, declare downband again in the calc block above, then change the logic blocks like below.</p><div class="codebox"><pre><code>double[] adDnBand  = new double[Bars];

BandIndicatorLogic(iFirstBar, iPrvs, adUpBand, adDnBand, ref Component[2], ref Component[3],
                                           BandIndLogic.The_bar_opens_below_the_Upper_Band);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2013-06-29T21:16:15Z</updated>
			<id>https://forexsb.com/forum/post/20864/#p20864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: modify donch channels]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20861/#p20861" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>footon wrote:</cite><blockquote><p>post the code</p></blockquote></div><div class="codebox"><pre><code>case &quot;The bar opens below Upper Band&quot;:
                        BandIndicatorLogic(iFirstBar, iPrvs, adUpBand, 0,  ref Component[2], ref Component[3],
                                           BandIndLogic.The_bar_opens_below_the_Upper_Band);
                        break;

                    case &quot;The bar opens above Upper Band&quot;:
                        BandIndicatorLogic(iFirstBar, iPrvs, adUpBand, 0,  ref Component[2], ref Component[3],
                                           BandIndLogic.The_bar_opens_above_the_Upper_Band);
                        break;               

                    case &quot;The bar opens below Upper Band after opening above it&quot;:
                        BandIndicatorLogic(iFirstBar, iPrvs, adUpBand, 0,  ref Component[2], ref Component[3],
                                           BandIndLogic.The_bar_opens_below_the_Upper_Band_after_opening_above_it);
                        break;

                    case &quot;The bar opens above Upper Band after opening below it&quot;:
                        BandIndicatorLogic(iFirstBar, iPrvs, adUpBand, 0,  ref Component[2], ref Component[3],
                                           BandIndLogic.The_bar_opens_above_the_Upper_Band_after_opening_below_it);
                        break;                   </code></pre></div>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-06-29T21:07:33Z</updated>
			<id>https://forexsb.com/forum/post/20861/#p20861</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: modify donch channels]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20860/#p20860" />
			<content type="html"><![CDATA[<p>post the code</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2013-06-29T21:04:22Z</updated>
			<id>https://forexsb.com/forum/post/20860/#p20860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: modify donch channels]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20858/#p20858" />
			<content type="html"><![CDATA[<p>i changed the empty space to 0&nbsp; but </p><br /><p>Line 237 Column 25: The best overloaded method match for &#039;ForexStrategyBuilder.Indicators.Indicator.BandIndicatorLogic(int, int, double[], double[], ref ForexStrategyBuilder.Indicators.IndicatorComp, ref ForexStrategyBuilder.Indicators.IndicatorComp, ForexStrategyBuilder.BandIndLogic)&#039; has some invalid arguments.<br />&nbsp; &nbsp; &nbsp;Line 237 Column 72: Argument &#039;4&#039;: cannot convert from &#039;int&#039; to &#039;double[]&#039;.<br />&nbsp; </p><p>and why bandlogic needs 6 arguments !!!!</p><br /><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-06-29T20:57:47Z</updated>
			<id>https://forexsb.com/forum/post/20858/#p20858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: modify donch channels]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20856/#p20856" />
			<content type="html"><![CDATA[<p>sorry if that annoying you but i like to make most of indicators in one place to make it easy for all to find and participate</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-06-29T20:47:04Z</updated>
			<id>https://forexsb.com/forum/post/20856/#p20856</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: modify donch channels]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20854/#p20854" />
			<content type="html"><![CDATA[<p>Why post in my indi corner? Not my indi! Please remember to make a separate thread!</p><p>About your errors, you can&#039;t just delete a member of a logic method, therefore substitute it with a zero:<br />instead of this<br /></p><div class="codebox"><pre><code>BandIndicatorLogic(iFirstBar, iPrvs, adUpBand,  ref Component[2], ref Component[3],
                                           BandIndLogic.The_bar_opens_below_the_Upper_Band);</code></pre></div><p>make it like this<br /></p><div class="codebox"><pre><code>BandIndicatorLogic(iFirstBar, iPrvs, adUpBand, 0, ref Component[2], ref Component[3],
                                           BandIndLogic.The_bar_opens_below_the_Upper_Band);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2013-06-29T20:24:00Z</updated>
			<id>https://forexsb.com/forum/post/20854/#p20854</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[modify donch channels]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20853/#p20853" />
			<content type="html"><![CDATA[<p>i tried to modify donch channels to work with volume so i need only one line instead-of two&nbsp; but after modification i find these errors </p><p>ERROR: Indicator compilation failed in file [DonchVolume.cs]<br />&nbsp; &nbsp; &nbsp;Line 237 Column 25: No overload for method &#039;BandIndicatorLogic&#039; takes &#039;6&#039; arguments.<br />&nbsp; &nbsp; &nbsp;Line 242 Column 25: No overload for method &#039;BandIndicatorLogic&#039; takes &#039;6&#039; arguments.<br />&nbsp; &nbsp; &nbsp;Line 247 Column 25: No overload for method &#039;BandIndicatorLogic&#039; takes &#039;6&#039; arguments.<br />&nbsp; &nbsp; &nbsp;Line 252 Column 25: No overload for method &#039;BandIndicatorLogic&#039; takes &#039;6&#039; arguments.<br />&nbsp; &nbsp; &nbsp;Line 279 Column 25: No overload for method &#039;BandIndicatorLogic&#039; takes &#039;6&#039; arguments.</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-06-29T19:56:49Z</updated>
			<id>https://forexsb.com/forum/post/20853/#p20853</id>
		</entry>
</feed>
