MT4/5 Bridge - Zero MQ

Posted By: danatrader

MT4/5 Bridge - Zero MQ - 05/25/20 06:26

I just stumbled upon this post on Darwinex.

https://blog.darwinex.com/zeromq-interface-python-r-metatrader4/

and their repository

https://github.com/darwinex/DarwinexLabs/tree/master/tools/dwx_zeromq_connector

wondering if the Metatrader Bridge is making use of Zero MQ.


https://zeromq.org/
Posted By: AndrewAMD

Re: MT4/5 Bridge - Zero MQ - 05/25/20 13:19

Very unlikely. The Zorro.mq4 file looks nothing like this:
https://github.com/darwinex/Darwine....1/MQL4/DWX_ZeroMQ_Server_v2.0.1_RC8.mq4

You would need ZMQ on both endpoints (i.e. a complete DLL library both Zorro-side and MT4/5-side), and I do not see it on either endpoint.

More likely the MT4/Zorro bridge is directly using the Windows API IPC capabilities.
Posted By: Grat

Re: MT4/5 Bridge - Zero MQ - 05/25/20 18:57

If u want, check this:

https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=57997&Number=477347#Post477347

but MT4 is verry difficult use with ZMQ. MT4 is not thread safe, and terminal running in the single thread. If disconnect the server, all chart in the MT4 is frozzen.
I use for comminication between MT4 and python.

But I dont have time for finish this lib for Zorro ( nobody ask about this )

Posted By: danatrader

Re: MT4/5 Bridge - Zero MQ - 05/27/20 04:27

Nice, just wondering if it wouldn't be smart by design to use it.
I see it offers clear advantages too.

Also I can't imagine that writing the EA in general isn't full of trouble, since MT4 and probably MT5 isn't giving back much information on debugging.
Posted By: Grat

Re: MT4/5 Bridge - Zero MQ - 05/27/20 04:35

for the MT4 is a ZMQ lib a ready. U can download there:
https://github.com/dingmaotu/mql-zmq
Posted By: Grat

Re: MT4/5 Bridge - Zero MQ - 05/27/20 08:53

I now make with ZMQ other solution.

AOS in MT4 -> ZMQ -> Python -> crypto ( Binance ). Also very funny laugh
Posted By: danatrader

Re: MT4/5 Bridge - Zero MQ - 05/27/20 18:49

What is AOS?
Grat, you could surely share here and there some code snippets?

Like the dynamic array sample from Andrew, or the samples of Petra.
I think that is something that could lighten up the community a bit.
Posted By: Grat

Re: MT4/5 Bridge - Zero MQ - 05/28/20 05:27

ZMQ lib for Zorro is there:
https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=57997&Number=477347#Post477347

Other I prepare this week ( time laugh )
Posted By: Grat

Re: MT4/5 Bridge - Zero MQ - 05/28/20 05:29

and vortex indicator

https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=55634&Number=462567#Post462567
© 2024 lite-C Forums