This project is read-only.

Feature request

Nov 1, 2012 at 3:00 PM
Testing the TradePlatform.MT4.SDK.Win sample we find this code:
metaTrader4 = Bridge.GetTerminal(126728, "EURUSD");
It looks like a giant step between the initialization of the hosts and
getting to the MT4 terminal.
I would like to be able to loop the initialized hosts and find the attached
terminals if possible. That way it should be easy to detect the account number
and symbol of the attached terminal


Nov 2, 2012 at 8:34 AM

Well, reasonable request.

List<MetaTrader4> mt4List =  Bridge.GetTerminals();

looks like what you need.

Also it could be filtered like

List<MetaTrader4> mt4List =  Bridge.GetTerminals("EURUSD");

I think we will implement that in final release. Thanks