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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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