Accessing account details with no chart open.

 

Anyone know how to get account details such as open trades, free margin, etc. without having to attach or open or double click some file? Is there a way to execute a script on startup?

Basically I need to have access to these details upon startup of the MT4 platform. The only way I can see to do this is to have a script or an ea and a chart open.

I could enable the chart to reopen on startup and have an ea attached to it which gets all the details i need but I need to have acces to all the symbols, bids, spreads, etc. So if i attach the ea to a specific chart like eurusd and need to get all the details for gbpusd usdjpy etc. then it's kind of misleading.

TIA

Reason: