multiby close all orders in mql4

 

hello,


am  new in mql4, and i have a question which is how to do a multiby close acording to orders magic numbers in mql4.

Note: i can do it manually in meta trader but how can i do it using mql4 code

 
  1. There is no such word in English as "multiby"
  2. Example of close all in my code.
 
thanks for your replay however i mean multiple close by for all of my orders from code using mql4
 
ahm_ijal:
thanks for your replay however i mean multiple close by for all of my orders from code using mql4
In the mql code you can align just two orders for closing. The multiple gadget is only available in the GUI.
Reason: