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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Is there any Article on performance tuning somewhere?
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?