ding9736/MQL5-ZeroMQ — reverse-engineered prompt

Reverse engineered prompt

Build me a MetaTrader 5 library that lets MQL5 code talk over ZeroMQ in a simple, reliable way. I want something I can drop into my MT5 Include folder, turn on DLL imports, and then use from EAs, indicators, or scripts without fighting low level socket details.

Please wrap the native ZeroMQ DLL cleanly with easy classes for context, sockets, and messages. It should support the common messaging styles like request reply, publish subscribe, and push pull, plus polling so an EA can watch multiple sockets without blocking. I also want the secure option with Curve and a built in authenticator flow, with a clear note that EAs need to call the auth task processor from OnTimer so handshakes actually complete.

Make it feel production ready and stable inside the MT5 sandbox. Include a solid test script and a few simple examples that show sending strings and faster byte array payloads for high frequency data. If you need details, look up the current MT5 and ZeroMQ docs online.

Want more depth? Deep Reverse