title: How to send a message in MQL4/5 from MetaTrader Terminal to python using ZeroMQ?
body: <p>I just want to send a message from MetaTrader Terminal, using it`s MQL4/5 to Python, just a simple client server, in which MQL4/5 is a client that sends, and python is a server who receives and these two are syncing with ZeroMQ.</p>
  
  <p>The Python side code is this which I am sure this part is working fine:</p>
  
  <pre><code>    import zmq
      import time
  
  
      context = zmq.Context()
      socket = context.socket(zmq.REP)
      socket.bind("tcp://127.0.0.1:9999")
  
      print("Server Started")
      while True:
          message = socket.recv()              # Wait for next request from client
          print("Received request: ", message)
          time.sleep (1)
          socket.send_string("World")
  </code></pre>
  
  <p>the MQL4/5 side is this:</p>
  
  <pre><code>   Context context( "helloworld" );
     Socket socket( context, ZMQ_REQ );
  
     Print( "Connecting to hello world server…" );
     socket.connect( "tcp://127.0.0.1:9999" );
  
     while ( True )
     {
        ZmqMsg request( "Hello" );
        socket.send( request );
  
        ZmqMsg reply;
        socket.recv( reply );           // Get the reply.
  
        Sleep( 1000 );
     }
  </code></pre>
  
  <p>it seems like MQL4/5 doesn't send anything.<br>
  Can you say what is wrong with it?</p>