I'm working on MT 4 with external DLL and whenever I want to call the expert (for example in order to close order) I'm calling to the expert throw PostMessage.
Normally this works fine, but sometimes when i'm trying to do PostMessage the agent is not responding, probably because the window is busy \ the EA is in the middle of the start function.
Is there other solution in order to send message to the EA throw external DLL?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello,
I'm working on MT 4 with external DLL and whenever I want to call the expert (for example in order to close order) I'm calling to the expert throw PostMessage.
Normally this works fine, but sometimes when i'm trying to do PostMessage the agent is not responding, probably because the window is busy \ the EA is in the middle of the start function.
Is there other solution in order to send message to the EA throw external DLL?
Thanks,
Roy