Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
Deeplearning Script
by wolfi. 02/26/24 12:46
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/22/24 16:22
AssetAdd() vs. modern asset list?
by jcl. 02/21/24 15:01
How many still using A8
by Aku_Aku. 02/20/24 12:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 567 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MT4/5 Bridge - Zero MQ #480184
05/25/20 06:26
05/25/20 06:26
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
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/

Re: MT4/5 Bridge - Zero MQ [Re: danatrader] #480190
05/25/20 13:19
05/25/20 13:19
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
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.

Re: MT4/5 Bridge - Zero MQ [Re: danatrader] #480194
05/25/20 18:57
05/25/20 18:57
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
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 )


Last edited by Grat; 05/25/20 19:00.
Re: MT4/5 Bridge - Zero MQ [Re: danatrader] #480228
05/27/20 04:27
05/27/20 04:27
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
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.

Re: MT4/5 Bridge - Zero MQ [Re: danatrader] #480229
05/27/20 04:35
05/27/20 04:35
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
for the MT4 is a ZMQ lib a ready. U can download there:
https://github.com/dingmaotu/mql-zmq

Re: MT4/5 Bridge - Zero MQ [Re: danatrader] #480230
05/27/20 08:53
05/27/20 08:53
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
I now make with ZMQ other solution.

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

Re: MT4/5 Bridge - Zero MQ [Re: danatrader] #480243
05/27/20 18:49
05/27/20 18:49
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
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.

Re: MT4/5 Bridge - Zero MQ [Re: danatrader] #480249
05/28/20 05:27
05/28/20 05:27
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
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 )

Re: MT4/5 Bridge - Zero MQ [Re: danatrader] #480250
05/28/20 05:29
05/28/20 05:29
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1