Gamestudio Links
Zorro Links
Newest Posts
A9
by 3run. 07/08/20 18:44
Historical ticks for Lookback backfill
by Zheka. 07/08/20 09:10
Trade Mode without a broker
by jj02520024. 07/08/20 01:20
How to handle algo name in Simulate.c
by happysun. 07/07/20 08:56
Erasing a datapoint in a plot array
by jcl. 07/06/20 09:51
typo
by jcl. 07/06/20 09:44
Video Panel System
by Emre. 07/06/20 09:39
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
7 registered members (alibaba, kvm, 3run, Quad, FLD, deus777, Ayumi), 427 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
TraderKevin, deus777, carolthesecond, Roger399, vrindger
18474 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: 182
D
danatrader Offline OP
Member
danatrader  Offline OP
Member
D

Joined: Mar 2019
Posts: 182
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,020
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,020
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: 267
Czech Republic
G
Grat Offline
Member
Grat  Offline
Member
G

Joined: May 2015
Posts: 267
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: 182
D
danatrader Offline OP
Member
danatrader  Offline OP
Member
D

Joined: Mar 2019
Posts: 182
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: 267
Czech Republic
G
Grat Offline
Member
Grat  Offline
Member
G

Joined: May 2015
Posts: 267
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: 267
Czech Republic
G
Grat Offline
Member
Grat  Offline
Member
G

Joined: May 2015
Posts: 267
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: 182
D
danatrader Offline OP
Member
danatrader  Offline OP
Member
D

Joined: Mar 2019
Posts: 182
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: 267
Czech Republic
G
Grat Offline
Member
Grat  Offline
Member
G

Joined: May 2015
Posts: 267
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: 267
Czech Republic
G
Grat Offline
Member
Grat  Offline
Member
G

Joined: May 2015
Posts: 267
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