MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading and Strategy Testing Forum

Subscribe to signal
Beny Irawan Kutacane
46.12%, 14 789.81 USD
The Implementation of Automatic Analysis of the Elliott Waves in MQL5 The Implementation of Automatic Analysis of the Elliott... Screenshot
XAUUSD, D1
Demo
RSI signalRSI signal Try product
RSI signal
Author: gdtt
Matrix operations library Library
Matrix operations library
Author: bobsley
To add comments, please log in or register
Max Payne
410
Plymo 2010.08.20 20:04 

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!

Cym Act
192
cymact 2010.08.21 06:00  
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

/
To add comments, please log in or register