Gamestudio Links
Zorro Links
Newest Posts
Backtest accuracy
by tomna1993. 05/12/21 13:29
How to: plot a frequency spectrum in bars?
by Sempervirens. 05/12/21 12:04
System with more take profit
by jcl. 05/12/21 11:50
Test one asset with more bar period in one run
by AndrewAMD. 05/12/21 10:12
EXANTE broker
by madpower2000. 05/11/21 17:02
No Trades when Backtesting Period is longer
by TimmiHendrix. 05/11/21 15:47
Last Candle for Testing and Train?
by jcl. 05/11/21 12:14
DataSplit for Advise
by TimmiHendrix. 05/11/21 10:40
AUM Magazine
Latest Screens
Hecknex World
Scheherazade's Journey
Paradox Vector
The Space Between
Who's Online Now
9 registered members (tomna1993, 3run, onoff, JeyKey II, Sempervirens, Nomi, AndrewAMD, 2 invisible), 480 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ShadowAx, TimmiHendrix, contactmmfx, msupl7, Robert_
18644 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MT4/5 Bridge: Stability & Latency? #482545
02/21/21 23:31
02/21/21 23:31
Joined: Oct 2014
Posts: 36
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 36
DEVON
Hi

I'm considering a switch to Zorro, but the most suitable FX broker for our requirements only offers MT4, MT5 and CTrader.

So I'd either have to use the MT4/5 bridge, or write my own plugin to run against the CTrader Open API.

The MT bridge would be the lowest-effort solution. The CTrader API is Protobuf based and would be fast and reliable, but the developing and maintaining the plugin would be a pain.

So I have to decide if the MT bridge is "good enough". Unfortunately the Zorro manual is a bit offputting, saying: "MTR4 and MTR5 both have a heavy resource and bandwidth footprint. This can cause long response times, dependent on VPS performance and Internet connection."

We are fairly active traders and need low latency to minimise slippage. So my question is, with a properly resourced co-lo VPS, is the Metatrader bridge solution fast enough and stable enough for production use?

I'd very much appreciate feedback from anyone using this setup in production.

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482568
02/27/21 11:35
02/27/21 11:35
Joined: Oct 2014
Posts: 36
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 36
DEVON
Bump

Is there really no-one who can help me with this?

Doing my own testing will be time-consuming and expensive, as I'd have to hire a VPS.

I really would be grateful for some feedback from anyone using the MT bridge in production.

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482569
02/27/21 13:15
02/27/21 13:15
Joined: Jan 2021
Posts: 12
London
T
TraderTom Offline
Newbie
TraderTom  Offline
Newbie
T

Joined: Jan 2021
Posts: 12
London
Sadly these forum's are very very quiet.

You can get some free cloud credits for most cloud providers like GCP/AWS etc if you didn't want to hire a VPS.

Last edited by TraderTom; 02/27/21 14:34.
Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482570
02/27/21 15:55
02/27/21 15:55
Joined: Feb 2017
Posts: 1,255
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,255
Chicago
The MT4/5 plugin is directly supported by oP Group. If you find bugs, you can direct them to oP Group support, and they will fix confirmed bugs.

Also of note: There is an CTrader plugin here [LINK].

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482573
02/28/21 15:05
02/28/21 15:05
Joined: Jul 2017
Posts: 517
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 517
A lot (if not most) of the things related to IB and MT4/5 in the manual are not (or no longer) true.

MT4/5 have low memory footprint, are not bandwith-hungry, are fast and stable.

However, MT4/5 in itself were created "for the brokers" allowing for the "last look", "spread management", etc..So, that MT4/5 side latency will depend on the broker a lot.
(as well as on proximity to the broker, quality of the network, your hardware, TCP stack tuning, etc)

Zorro will add some 30-50ms latency to a trade. How many of these are the bridge - difficult to say, i'd say very little.
C++ implementation will for sure work faster than lite-C.

MT5 is faster than MT4 and might/will have a higher tick count, but 1)broker feeds between MT4/5 can be different and 2) increased tick count might put more strain on CPU and might actually increase latency, if you are trading many instruments/systems.

Re: MT4/5 Bridge: Stability & Latency? [Re: Zheka] #482574
03/01/21 11:34
03/01/21 11:34
Joined: Oct 2014
Posts: 36
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 36
DEVON
Thanks Zheka - very helpful!

Have you traded the MT4/5 bridge live? Have you found it reliable?

Re: MT4/5 Bridge: Stability & Latency? [Re: AndrewAMD] #482575
03/01/21 12:25
03/01/21 12:25
Joined: Oct 2014
Posts: 36
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 36
DEVON
Andrew - thanks for the link to the CTrader plugin. I thinking about writing one from scratch...

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482580
03/01/21 23:31
03/01/21 23:31
Joined: Jul 2017
Posts: 517
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 517
Yes.

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482585
03/02/21 13:22
03/02/21 13:22
Joined: Oct 2014
Posts: 36
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 36
DEVON
Ah - that CTrader plugin was to the CTrader FIX API.

CTrader also offers something they call their Open API free with every account.

This is based on Google's robust Protobuf encoding protocol. It also offers historic prices and account info.

I guess I'll start with the MT5 bridge, knowing that I can develop a more elegant plugin for CTrader if I hit problems.

Last edited by scotpip; 03/02/21 13:23.
Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482590
03/03/21 13:38
03/03/21 13:38
Joined: Feb 2017
Posts: 1,255
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,255
Chicago
Originally Posted by scotpip
robust
Originally Posted by scotpip
elegant
Do you roll the "R" when you say the word "robust"? grin

Anyways, OpenAPI sounds promising!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1