This project is read-only.

Why i get error with program?

Mar 18, 2013 at 12:31 AM
I write a program on c# and copy prefernces from shell.exe.confing to my app.config. After add EA to EURUSD chart with preferences:
System_NET_HandlerName="QuoteListener";
NET="###";
System_NET_Server="127.0.0.1";
System_NET_Port=2007;

And after all, i'll get error in MT4 logs:
2013.03.18 02:30:55 Expert_NET EURUSD,H4: Net Bridge Error: Server closed connection.
How to fix this?
Mar 20, 2013 at 12:30 AM
Edited Mar 20, 2013 at 1:08 AM
metaTrader4 = Bridge.GetTerminal(ACCOUNTNUMBER ??? , "EURUSD");