1 (edited by Popov 2013-09-19 15:28:02)

Topic: Profit per Day / Top Ten List apparent error

Note the 'Profit per Day' does not appear to be calculated properly.

I just started a generated strategy......  I have not noticed this before....

http://s10.postimg.org/uujpgqlhh/dave_M_SNAG_00254.jpg

My 'secret' goal is to push EA Studio until I can net 3000 pips per day....

Re: Profit per Day / Top Ten List apparent error

You are right!

private void CalculateProfitPerDay()
{
    TestedDays = (DataSet.Time[DataSet.Bars - 1] - DataSet.Time[Strategy.FirstBar]).Days;
    if (TestedDays < 1)
        TestedDays = 1;
    MoneyProfitPerDay = (MoneyBalance(DataSet.Bars - 1) - Profile.InitialAccount)
                                             / TestedDays;
}

.Days must be .TotalDays

Thank you!!!!

Re: Profit per Day / Top Ten List apparent error

I have not noticed this before....

Nobody noticed this for the last 2 years. Even the open source .... sad

Thank you again!!

Re: Profit per Day / Top Ten List apparent error

It appears that there is no error here.

Days returns the whole count of days passed.
TotalDays returns whole and fractional days.

For example TotalDays returns 125.17 days, Days will return 125.

My initial intent was to measure only whole tested days. Probably that was the reason to use Day function.
It also includes weekends (intentionally).


Please post stats data of strategies you think is not calculated properly.

Re: Profit per Day / Top Ten List apparent error

Popov wrote:

It appears that there is no error here.

I remember when this function first appeared, I made sure it reads out correct values, and to me numbers added up perfectly.

Re: Profit per Day / Top Ten List apparent error

I just noticed it with the example I posted................ and do not recall seeing it before.

Looks like it reappeared

Post's attachments

daveM - SNAG-00265.jpg 123.82 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.
My 'secret' goal is to push EA Studio until I can net 3000 pips per day....

Re: Profit per Day / Top Ten List apparent error

Please attach a single strategy and stats where you thing there is an error. If I reproduce it, I'll fix it in minutes.

Re: Profit per Day / Top Ten List apparent error

I will watch for it, most of the time my machine is unattended, it is only by chance that I see these...

My 'secret' goal is to push EA Studio until I can net 3000 pips per day....