EA displaying error messages
-

-
one of my EAs https://fxdreema.com/shared/GtpSGsQOc
-
@beekae One of them, is this the one causing the errors? Does it flag these errors on FX website?
-
@jstap on FX website no errors.since last week all my new and old EA including the ones i have done 2years ago are no longer working but then they have been working
-
@beekae I am not sure, everything seems to be working fine for me.
-
I think your MetaEditor is an old version.
Lately I was touching some trading functions in MQL5, doing this on my local MetaTrader 5, which is updated automatically to the latest version. On the server I had old compiler (MetaEditor) and when it came time to upload the changes I made, I also noticed this error. So I updated the compiler on the server.
The problem seems to be that not a long time ago MetaQuotes added these two identifiers - DEAL_TP and DEAL_SL for the HistoryDealGetDouble() function. They don't exist in your version of MetaEditor/MetaTrader and that's why you can't compile that EA.
I wonder, if the EA is compiled by fxdreema, does it work on your MT5 at all? And if it works, does it work correctly?
Otherwise the easiest solution to this problem will be to update MetaTrader 5.
-
@fxDreema i had to upgrade to windows10 to resolve this.thank you