Comparing MQL5 back test speed to MQL4 - page 2

 
Is there any Article on performance tuning somewhere?
 
claudio_arrau2:
Is there any Article on performance tuning somewhere?

There are some articles on the subject for indicators but I don't think so for EA. In mql5 Metaeditor you can use the profiler to check performance of your code.
 

The EA tester is opening and closing a trade at every bar?

Do you need to know whether this speed difference is in the back tester tick logic or in the OrderOpen/Close function?

It seems, using theis test EA, MT4 does 6000 trades in 1 minute, MT5 does 6000 trades in 4 minutes.

That is a difference of 180 seconds per 6000 trades . or 0.03s per trade? (Open+Close)

Do you need to run a version that opens fewer (or even 0) trades to determine which aspect of backtesting is slower?