Your broker can confirm IP/port numbers
For MT command line options, see https://www.mql5.com/en/forum/107473
-BB-

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I've implemented inbound and outbound Winsock socket comms between MT4 and my Java trading client via a few EAs, entirely within localhost.
I'm considering running the MT4 platform terminal.exe as a spawned sub-process to my client, so that I can easily stop and restart it, if it is unresponsive, due to data feed loss, software failure or any other reliability problem.
I can't see any reason this wouldn't be a good idea, can you? I could run it as a separate process also, but would be easier to control as a subprocess. My application is Java, and I have the ability to call any native code as necessary, but this particular subprocess thing is simple.
*** DATA CENTER connection stability ***
Actually, also, I'd specifically like to point it to a given Data Center IP, and would love to have a dynamic command line option which achieves this when I spawn and start it up. Can I get IP's from my broker and implement this somehow?
Thanks for any pointers or help!
Brent