MT5 EA Login multiple Investor accounts

 

Hello,

I have a number of Accounts and investor passwords of traders whom I need to monitor trading behaviour.

I have written an EA that captures the open and closed trades associated with an account and writes the information to a database.

I want the EA to have the ability to log onto each account in turn and grab the trade data.  

So, I would like help on how to login to an MT5 account with the investor password using an EA.  


thanks


Andrew