<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Coding Errors and How to fix]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/4571/" />
	<updated>2014-03-18T20:32:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/4571/coding-errors-and-how-to-fix/</id>
		<entry>
			<title type="html"><![CDATA[Re: Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/24165/#p24165" />
			<content type="html"><![CDATA[<p>Your coded indicator in use or standard or downloaded from somewhere?</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2014-03-18T20:32:32Z</updated>
			<id>https://forexsb.com/forum/post/24165/#p24165</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/24158/#p24158" />
			<content type="html"><![CDATA[<p>Hi</p><p>Does someone know how to resolve this problem ?</p><p>I have the same situation.</p><p>EA works I think, but some errors attacking me all the time <img src="https://forexsb.com/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[thorxahest]]></name>
				<uri>https://forexsb.com/forum/user/8052/</uri>
			</author>
			<updated>2014-03-18T18:50:28Z</updated>
			<id>https://forexsb.com/forum/post/24158/#p24158</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/23335/#p23335" />
			<content type="html"><![CDATA[<p>What forum was that?</p><p>There you have it - you have unreasonable values somewhere, too little or too large! Overflow is a bad error, it takes a lot of time to track down. Krog made a tracing technique thread, read it and go from there. I&#039;m not sure you have a problem with Int value, start from double values, especially those, which go into components.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2014-01-12T19:48:38Z</updated>
			<id>https://forexsb.com/forum/post/23335/#p23335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/23334/#p23334" />
			<content type="html"><![CDATA[<p>I asked in other .Net forum and received these answers </p><p>1-GDI+ library tries to draw with a very large Int32 value, so make sure when you create a Series object the values to assign are not out of reasonable bounds.</p><br /><p>OR </p><p>2- allocating a lot of GDI objects that are not disposed in a timely manner.</p><p>And thanks god i donot know how to use them !!!!!</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2014-01-12T19:36:30Z</updated>
			<id>https://forexsb.com/forum/post/23334/#p23334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/23333/#p23333" />
			<content type="html"><![CDATA[<p>Search for overflow error, ton of info out there, should definitely be of help. Don&#039;t forget to add &quot;C#&quot; into search phrase.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2014-01-12T15:09:07Z</updated>
			<id>https://forexsb.com/forum/post/23333/#p23333</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/23332/#p23332" />
			<content type="html"><![CDATA[<p>I face that error alot when trying to add extra lines to an indicator , The indicators compiled well and the generator runs everything is ok&nbsp; but the graph window collapsed </p><div class="codebox"><pre><code>See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Overflow error.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawLines(Pen pen, Point[] points)
   at ForexStrategyBuilder.SmallIndicatorChart.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message&amp; m)
   at System.Windows.Forms.Control.WndProc(Message&amp; m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</code></pre></div><p>Thanks in advance</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2014-01-12T14:18:26Z</updated>
			<id>https://forexsb.com/forum/post/23332/#p23332</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/23173/#p23173" />
			<content type="html"><![CDATA[<p>Hello Pop and thnx for reply <br />I made the change and it compiled fine but the line didnot change from up to dn or from dn to up when trend change it only draw one line either up or dn , and that one side line change with shift change !!!!!&nbsp; what is the wrong in the code ???</p><p>thankx in advance </p><p>regards</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-12-25T17:43:54Z</updated>
			<id>https://forexsb.com/forum/post/23173/#p23173</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/23171/#p23171" />
			<content type="html"><![CDATA[<p>You cannot use &quot;iBar&quot; because it is already used. Use &quot;br&quot; or some other name in that context.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-12-25T16:53:52Z</updated>
			<id>https://forexsb.com/forum/post/23171/#p23171</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Coding Errors and How to fix]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/23087/#p23087" />
			<content type="html"><![CDATA[<p>I Started This Topic to discuses&nbsp; the error raised when compiling indicators , people like me with no coding experience may face some difficulties to fix these errors even they appear to be simple things. </p><p>1st:<br /><strong>ERROR: Indicator compilation failed in file [Donchian One Band.cs]<br />&nbsp; &nbsp; &nbsp;Line 179 Column 38: A local variable named &#039;iBar&#039; cannot be declared in this scope because it would give a different meaning to &#039;iBar&#039;, which is already used in a &#039;parent or current&#039; scope to denote something else. </strong></p><p>THE IDEA OF Indicator: to draw only one band ( if trend is up so draw lower band &amp;&amp; if Down draw higher band&nbsp; but the previous err raised&nbsp; ,BUT when i looked into the original DC i find that the iBar already used twice without any problem </p><p>NB: i used the logic of two indicators ( DC original &amp; Gann HiLo activator ) </p><p>Donchian One Band attached </p><p>Thanks for help in advance</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-12-17T21:26:11Z</updated>
			<id>https://forexsb.com/forum/post/23087/#p23087</id>
		</entry>
</feed>
