Download MetaTrader 5

How to block MT4's "Multiple Close by" command from an EA

To add comments, please log in or register
Find and download Code Base apps via MetaTrader. It is fast!
Cris 2014.09.22 20:53 


I was wondering if anyone from this community can help, please.

I would like to have an EA running all the time and whenever I use the Multiple Close by button in MT4 (that is every time I manually click and try to modify the order) an alert is generated.

How to identify this event originating from MT4 with an EA?

The reason would be to prevent from closing multiple orders at once. If 1 order is modified from the MT4 button, then it should process it. But if I want to "Multiple Close by", then I want the EA to cancel the command.

Thank you.

To add comments, please log in or register