Retrieve information from multiple MT4 accounts

 

Hello everyone,

Is there an effective method for retrieving the balance and closed trades from more than a hundred MT4 accounts? I have created a prototype with an MT4 script that connects to the accounts one by one to retrieve this information. It works, but it is not an efficient method in the long run, especially if the number of accounts increases, even when launching multiple MT4 terminals in parallel.

Is there another way, as Myfxbook might do, for example? I have seen that the Metatrader web platform opens websockets. This could be a solution. Is it possible to connect to it?

Thank you for your response.

Bob