It wasn't between 2 mt4 but between a powershell script and a mt4 that send it's new positions.
As it wasn't time critical and primarily a kind of proof of concept I used normal files: mt4 opens (and seeks at the and) and adds the lines and powershell checks the existence of the file and reads and deletes it :(
I tried to connect to a running (local) socket server (to map in to out) as well but the mt4-socket-client never could establish a valid connection. :(
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.
If someone still has problems managing named pipes in MT4 v600, this is the way I solved it:
Server:
Client:
I stopped using pipes as long as I didn't found a pipe-server outside of mt4 as a mt4-pipserver is blocking!
It wasn't between 2 mt4 but between a powershell script and a mt4 that send it's new positions.
As it wasn't time critical and primarily a kind of proof of concept I used normal files: mt4 opens (and seeks at the and) and adds the lines and powershell checks the existence of the file and reads and deletes it :(
I tried to connect to a running (local) socket server (to map in to out) as well but the mt4-socket-client never could establish a valid connection. :(