Plymo:
It appears that my EA doesn't get informed through OnTrade() at the final "end-of-test"-deal or at least HistoryDealsTotal() does not get updated correctly .
Has anyone else observed this too?
I have found a workaround: call OnTrade() one more time myself as soon as I receive OnTester().
But "my oh my", my code is getting so ugly because all of these MQL5-workarounds.
Cheers!
Yes, I noticed also and reported it as bug 3 days ago. Hope it gets fixed by next update.
Good luck
Get in touch with developers using Service Desk!
- www.mql5.com
We therefore attach great importance to all user reports about issues in our programs and try to answer each one of them.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
It appears that my EA doesn't get informed through OnTrade() at the final "end-of-test"-deal or at least HistoryDealsTotal() does not get updated correctly .
Has anyone else observed this too?
I have found a workaround: call OnTrade() one more time myself as soon as I receive OnTester().
But "my oh my", my code is getting so ugly because all of these MQL5-workarounds.
Cheers!