Download MetaTrader 5
To add comments, please log in or register
Interested in the Market activity? Come and track!
Cris
9
Cris 2014.09.22 20:53 

Hi,

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