Strange behaviour of Strategy Tester

 

Everyone,

I have developed a relatively simple EA, and wanted to test it by using Strategy Tester in order to find the best setup (S/L,T/P). I recognized that the numbers in the report after several runs are different.

So I decided to run the EA on Strategy tester 3 times in a row, without changing any parameter. I have checked three parameters in the Report, net profit, number of trades and profit trades.

Some examples with one setup

Net profit : -172,-196,-148 USD, the related profit trades in the same order : 96,93,99 the total number of trades was always 235.

with an other setup (as I wrote only SL and TP was different from the previous case

Net profit -126,-18, -138, profit trades : 107,116,106.

Hoping someone has solution for my problem,


Thank you

F.

 

Hi,

Sorry I found the solution in one of the previous topics menwhile.

F

 
paf01200:


Hi,

Sorry I found the solution in one of the previous topics menwhile.

F

Spread ?
 
RaptorUK:
Spread ?



Yes, that, what I am going to check

F.

 
paf01200:


Yes, that, what I am going to check

F.

Add a Print() to init() or deinit() . . . Print("Spread: ", Ask-Bid); . . . see here: https://forum.mql4.com/57164