Recent MT4 updates/patches left some bugs need fixing.
If your EA places Orders and encounters errors, there will be no "error reporting" within the Experts nor within the Journal Tab. Be Warned! You need to insert your error checking and reporting codes such as:
Of course, well written codes should have done this even before the recent updates.
If your EA places Orders and encounters errors, there will be no "error reporting" within the Experts nor within the Journal Tab. Be Warned! You need to insert your error checking and reporting codes such as:
Inserted Code
if (OrderSend(......)>0) { Print("OrderSend: OK"); } else { Print("OrderSend: Failed. Error Code: ",GetLastError()); }
Of course, well written codes should have done this even before the recent updates.