Hi all,
I just downloaded the latest mql4 platform from my broker's website ,
after compiling my expert advisor , i got the warning that the return value should be checked for the following
OrderSelect
OrderClose
OrderModify
...thanks for your prompt reply, but i don't know how to fix it,
i'm just learning coding, and you can see that i was able to code this EA through the help of an automated software.
kindly assist. the whole code is attached to my request, you can modify and send it back .
thanks.
It is good you are learning coding but not good to use automated EA creators because you learn nothing about the code it creates for you.
If yu want to learn about error handling you can read these sections from the mql4 book
trade function with error handling
The book is a little out of date now, the coding examples need small modifications but the basic idea holds true.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi all,
I just downloaded the latest mql4 platform from my broker's website ,
after compiling my expert advisor , i got the warning that the return value should be checked for the following
OrderSelect
OrderClose
OrderModify
but i did not have this challenge from the old platform .
what do i do?
i have attached the code to this message.
somebody please assist.