<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — error message]]></title>
		<link>https://forexsb.com/forum/topic/5885/error-message/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/5885/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in error message.]]></description>
		<lastBuildDate>Mon, 21 Mar 2016 21:54:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34768/#p34768</link>
			<description><![CDATA[<p>Uh, finally got that divide by zero under control, the answer was in front of me all the time, but I overlooked it for so long. The code is optimized (thanks to Miroslav and his brilliant solution, why didn&#039;t I come up with it myself <img src="https://forexsb.com/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /> ).</p><p>Report if problems of different sort pop out.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Mon, 21 Mar 2016 21:54:06 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34768/#p34768</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34763/#p34763</link>
			<description><![CDATA[<p>I&#039;m working on solving this problem since yesterday, sorry for the trouble!</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Mon, 21 Mar 2016 15:08:29 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34763/#p34763</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34762/#p34762</link>
			<description><![CDATA[<p>I am receiving following errors during strategy search with FSB. </p><br /><p><a href="http://postimg.org/image/bllywzp2p/"><span class="postimg"><img src="http://s24.postimg.org/bllywzp2p/Indicator_Error.jpg" alt="http://s24.postimg.org/bllywzp2p/Indicator_Error.jpg" /></span></a></p><br /><p>I have removed this indicator (Bar Type) from the Active Indicators List to avoid this problem. As I understand it is not an external indicator from Repository, but it is a build in indicator. </p><p>Leon</p>]]></description>
			<author><![CDATA[null@example.com (LeonHerd)]]></author>
			<pubDate>Mon, 21 Mar 2016 14:21:11 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34762/#p34762</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34479/#p34479</link>
			<description><![CDATA[<p>Bloody flu, I made an error in the previous fix, you are absolutely correct Pradeep. Now it should be better. Reload from repo.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sat, 05 Mar 2016 20:35:36 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34479/#p34479</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34478/#p34478</link>
			<description><![CDATA[<p>Thanks for the tip, my brain is a little bit fried at the moment as I caught a cold or something, I&#039;ll review the code in a more clear state of mind later.</p><div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Footon, you can greatly improve the performance of this indicator.</p><p>Now, if we have 50000 bars and the indicator period is 500, it checks&nbsp; (50000-500)*500 = 24 750 000 times the signal conditions.</p><p>You can easily remove the loop-back cycle.</p><p>///</p><p>In that way you will calculate it with only 49 500 checks.</p><p>...</p><p>The error is division by zero. It looks like there are conditions where it happens. The solution is to check if the divisor is 0 prior to division.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sat, 05 Mar 2016 20:25:42 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34478/#p34478</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34477/#p34477</link>
			<description><![CDATA[<div class="quotebox"><cite>pradeepgolfer wrote:</cite><blockquote><p>same indicator same error again</p></blockquote></div><p>What data do you use? Tell me timeframe and source of it.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sat, 05 Mar 2016 20:22:14 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34477/#p34477</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34476/#p34476</link>
			<description><![CDATA[<p>Footon, you can greatly improve the performance of this indicator.</p><p>Now, if we have 50000 bars and the indicator period is 500, it checks&nbsp; (50000-500)*500 = 24 750 000 times the signal conditions.</p><p>You can easily remove the loop-back cycle.</p><p>Instead of:<br /></p><div class="codebox"><pre><code>for (int iBar = firstBar; iBar &lt; Bars; iBar++)
{
    for (int l = 1; l &lt;= Period; l++)
    {
        if (Close[iBar-l] &gt; Open[iBar-l])
            countup++;
            ...
    ...
}</code></pre></div><p>You can calculate it with one pass with something like that:</p><div class="codebox"><pre><code>for (int iBar = firstBar; iBar &lt; Bars; iBar++)
{
        if (Close[iBar-period] &lt;= Open[iBar-period])
            countup--;
        if (Close[iBar] &gt; Open[iBar])
            countup++;
    ...
}</code></pre></div><p>In that way you will calculate it with only 49 500 checks.</p><p>...</p><p>The error is division by zero. It looks like there are conditions where it happens. The solution is to check if the divisor is 0 prior to division.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sat, 05 Mar 2016 16:40:59 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34476/#p34476</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34475/#p34475</link>
			<description><![CDATA[<p>same indicator same error again</p>]]></description>
			<author><![CDATA[null@example.com (pradeepgolfer)]]></author>
			<pubDate>Sat, 05 Mar 2016 16:24:43 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34475/#p34475</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34468/#p34468</link>
			<description><![CDATA[<p>Re-upload it from the repo again and report back if it works now (I couldn&#039;t replicate the error).</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sat, 05 Mar 2016 11:45:49 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34468/#p34468</guid>
		</item>
		<item>
			<title><![CDATA[Re: error message]]></title>
			<link>https://forexsb.com/forum/post/34467/#p34467</link>
			<description><![CDATA[<p>Thanks for the report, I&#039;ll look into the indicator.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sat, 05 Mar 2016 11:28:55 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34467/#p34467</guid>
		</item>
		<item>
			<title><![CDATA[error message]]></title>
			<link>https://forexsb.com/forum/post/34466/#p34466</link>
			<description><![CDATA[<p>this keeps coming see attachment</p>]]></description>
			<author><![CDATA[null@example.com (pradeepgolfer)]]></author>
			<pubDate>Sat, 05 Mar 2016 07:37:40 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/34466/#p34466</guid>
		</item>
	</channel>
</rss>
