<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Profit per Day  / Top Ten List apparent error]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/4411/" />
	<updated>2013-09-29T10:26:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/4411/profit-per-day-top-ten-list-apparent-error/</id>
		<entry>
			<title type="html"><![CDATA[Re: Profit per Day  / Top Ten List apparent error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/22084/#p22084" />
			<content type="html"><![CDATA[<p>I will watch for it, most of the time my machine is unattended, it is only by chance that I see these...</p>]]></content>
			<author>
				<name><![CDATA[Blaiserboy]]></name>
				<uri>https://forexsb.com/forum/user/2491/</uri>
			</author>
			<updated>2013-09-29T10:26:52Z</updated>
			<id>https://forexsb.com/forum/post/22084/#p22084</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profit per Day  / Top Ten List apparent error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/22083/#p22083" />
			<content type="html"><![CDATA[<p>Please attach a single strategy and stats where you thing there is an error. If I reproduce it, I&#039;ll fix it in minutes.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-09-29T09:42:41Z</updated>
			<id>https://forexsb.com/forum/post/22083/#p22083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profit per Day  / Top Ten List apparent error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/21991/#p21991" />
			<content type="html"><![CDATA[<p>I just noticed it with the example I posted................ and do not recall seeing it before.</p><p>Looks like it reappeared</p>]]></content>
			<author>
				<name><![CDATA[Blaiserboy]]></name>
				<uri>https://forexsb.com/forum/user/2491/</uri>
			</author>
			<updated>2013-09-21T10:38:49Z</updated>
			<id>https://forexsb.com/forum/post/21991/#p21991</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profit per Day  / Top Ten List apparent error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/21990/#p21990" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>It appears that there is no error here.</p></blockquote></div><p>I remember when this function first appeared, I made sure it reads out correct values, and to me numbers added up perfectly.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2013-09-21T10:12:39Z</updated>
			<id>https://forexsb.com/forum/post/21990/#p21990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profit per Day  / Top Ten List apparent error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/21989/#p21989" />
			<content type="html"><![CDATA[<p>It appears that there is no error here.</p><p>Days returns the whole count of days passed.<br />TotalDays returns whole and fractional days.</p><p>For example TotalDays returns 125.17 days, Days will return 125.</p><p>My initial intent was to measure only whole tested days. Probably that was the reason to use Day function.<br />It also includes weekends (intentionally).</p><br /><p>Please post stats data of strategies you think is not calculated properly.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-09-21T02:47:17Z</updated>
			<id>https://forexsb.com/forum/post/21989/#p21989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profit per Day  / Top Ten List apparent error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/21967/#p21967" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>I have not noticed this before....</p></blockquote></div><p>Nobody noticed this for the last 2 years. Even the open source .... <img src="https://forexsb.com/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>Thank you again!!</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-09-19T14:40:29Z</updated>
			<id>https://forexsb.com/forum/post/21967/#p21967</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profit per Day  / Top Ten List apparent error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/21966/#p21966" />
			<content type="html"><![CDATA[<p>You are right!</p><div class="codebox"><pre><code>private void CalculateProfitPerDay()
{
    TestedDays = (DataSet.Time[DataSet.Bars - 1] - DataSet.Time[Strategy.FirstBar]).Days;
    if (TestedDays &lt; 1)
        TestedDays = 1;
    MoneyProfitPerDay = (MoneyBalance(DataSet.Bars - 1) - Profile.InitialAccount)
                                             / TestedDays;
}</code></pre></div><p><strong>.Days</strong> must be <strong>.TotalDays</strong></p><p>Thank you!!!!</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-09-19T14:34:13Z</updated>
			<id>https://forexsb.com/forum/post/21966/#p21966</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Profit per Day  / Top Ten List apparent error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/21965/#p21965" />
			<content type="html"><![CDATA[<p>Note the &#039;Profit per Day&#039; does not appear to be calculated properly.</p><p>I just started a generated strategy......&nbsp; I have not noticed this before....</p><p><a href="http://postimg.org/image/uujpgqlhh/"><span class="postimg"><img src="http://s10.postimg.org/uujpgqlhh/dave_M_SNAG_00254.jpg" alt="http://s10.postimg.org/uujpgqlhh/dave_M_SNAG_00254.jpg" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[Blaiserboy]]></name>
				<uri>https://forexsb.com/forum/user/2491/</uri>
			</author>
			<updated>2013-09-19T14:21:26Z</updated>
			<id>https://forexsb.com/forum/post/21965/#p21965</id>
		</entry>
</feed>
