Is it possible to call MT4 or MT5 from an external program written in C++ or Visual Basic?
And possibly pass some information?
The easiest way to exchange information would be using "named pipes". Essentially a named pipe is a special fifo in-memory file that is provided by the OS.
See pipeClient and pipeServer.mq4 here:
http://www.forexfactory.com/showthread.php?p=4136628
Good Luck,
Armin
The easiest way to exchange information would be using "named pipes". Essentially a named pipe is a special fifo in-memory file that is provided by the OS.
See pipeClient and pipeServer.mq4 here:
http://www.forexfactory.com/showthread.php?p=4136628
Good Luck,
Armin
Thanks,
I realized I could use mySQL as an intermediate agent, I already have code to get data from mySQL to MT4. I could just ask mySQL at regular intervals if there is a request for data.
It also means that communication could be over internet. I will take this approach. There is no need for instant response so it will work OK
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Is it possible to call MT4 or MT5 from an external program written in C++ or Visual Basic?
And possibly pass some information?