Strategy tester error

 

I tested EA which I made with myself.
Test condition
EA Name WPR-v3
EURUSDPro
Every Tick
start time 2013:06:17
end time 2013:06:23
M1

Different results are displayed when I test it under conditions of the above several times. How come? 

Files:
tmp.zip  25 kb
 
andomasahiro:

I tested EA which I made with myself.
Test condition
EA Name WPR-v3
EURUSDPro
Every Tick
start time 2013:06:17
end time 2013:06:23
M1

Different results are displayed when I test it under conditions of the above several times. How come? 

What is the Spread for each run ?  not approximate Spread,  what is the exact Spread during each of the runs ?
 

The spread chooses a current spread.

 
andomasahiro: The spread chooses a current spread.
So the spread is not constant. Why would you expect the same results then?
 
andomasahiro:

The spread chooses a current spread.

And what was the current Spread for each of the runs ?
 
2 2013.06.17 07:41 buy 2 5.40 1.33442 1.32442 1.34042
2 2013.06.17 09:06 buy 2 5.40 1.33436 1.32436 1.34036
There is difference in time when I compare the attached file.
 
andomasahiro:
2 2013.06.17 07:41 buy 2 5.40 1.33442 1.32442 1.34042
2 2013.06.17 09:06 buy 2 5.40 1.33436 1.32436 1.34036
There is difference in time when I compare the attached file.

OK,  and at those times what was the Spread for each time ?  you think you are testing under the same conditions yet you do not know what the conditions were . . .  the Spread may well have been different.  In the init()  or deinit() of your EA  add this  . . .

Print("Spread for this run is: ", DoubleToStr(Ask - Bid, Digits));

 . . .  then you will know what the Spread was . . .  the Spread stays the same for the whole run unless you are using a 3rd party tick testing tool.

 

>OK,  and at those times what was the Spread for each time ?  you think you are testing under the same conditions yet you do not know what the conditions were . . .  the Spread may well >have been different.  In the init()  or deinit() of your EA  add this  . . .

 >. . .  then you will know what the Spread was . . .  the Spread stays the same for the whole run unless you are using a 3rd party tick testing tool.

Thank you your advise.

It was able to be understood that results were different if spreads were different. 

Reason: