If you try for example to open 50 trades you won't be able to return all open orders due to the string limitation of MQL4, a did a hack which is putting all orders in one array and then publish one by one and on the client-side you will get each order separately.