Download MetaTrader 5

Why sometimes the report of strategy tester is different without any change of code?

To add comments, please log in or register
DenniRo
35
DenniRo  

Hi guys!

 

I run multiple times an EA at the same currency and same date but the report is different each time. The number that i look from the report is the Total Net Profit.    

Sometimes the difference is not a big deal like the photos i upload  but sometimes has a big difference and make me think that my code is the problem and losing hours

to find something that it isn't exist. So where is the problem? If there is...

 

 

Thank you !!!!  

 

  

 

 

 

Vasyl Nosal
18655
Vasyl Nosal  
Becouse tester gives ticks as he wish(depending on candle).
Ex Ovo Omnia
3191
Ex Ovo Omnia  
The Strategy tester uses current values for the tick value & base currency rate, so the result is affected by changes during open market hours. The modelled ticks are always the same.
whroeder1
14786
whroeder1  
Also if you didn't specify a spread it uses the current spread at the start of the test. The modeled ticks will be different (the Ask.)
Zirkon
122
Zirkon  
dionikolo:

Hi guys!

 

I run multiple times an EA at the same currency and same date but the report is different each time. The number that i look from the report is the Total Net Profit.    

Sometimes the difference is not a big deal like the photos i upload  but sometimes has a big difference and make me think that my code is the problem and losing hours

to find something that it isn't exist. So where is the problem? If there is...

...
You should do your tests being disconnected from the broker.
To add comments, please log in or register