Hello, am experiencing a little bit of an issue, I was trying to create custom reports using the OnTesterPass, OnTesterInit and OnTesterDeinit functions as explained on this great article https://www.mql5.com/en/articles/746, but I noticed when I optimize my EA on SLOW COMPLETE ALGORITHM and using OPEN PRICES ONLY, and the Total Passes go around 9000, am not getting all the frames. So I thought this could be a problem with my EA so I used the Moving Average EA that comes with the MT5 installation and added the following code:
// Add a frame
//Increase Global counter
//Print when finished
When am printing counterxp every time I run the tester, I get a different number of frames, does anyone know why is this happening?
In case someone wants to reproduce am using MetaQuotes as a broker, with the following parameters, as you can see on the screenshot:
When I export to XML on Optimization Result Tab am getting all the Passes.