VPS comparison test. Testresults still show 20-30msec missing

 
Hello,

Which superbrainer knows the answer?

MT4 EA bot which open/closes trade and measures execution time.
Tried 3 topbrand VPS servers. Standard and dedicated, fastest on the net.
Results described below.


Question:
Even with VPS@newyork MT4 mainframe 20-30msec is “lost”.

Execution time according to my ECN broker(to aggregator and back) =16-20msec.
From home my super PC runs 125/141msec execution time.
From home my normal PC runs 159/175msec execution time.
(conclusion: PC hardware is very important.)
My ookla ping to NewYork(MT4 mainframe)=100msec.
Mybroker measures distance from their server to my PC=110msec (so almost equal to ookla test)
So super PC = 141msec-110ms latency = 30msec execution time. Which is close to what broker says.

Now it comes:
All fast VPS run into brick wall. Minimum execution time is stable 45-61msec, and NOT 20-30sec.
On freelancer forum 3 programmers made program for me. Equal results.

No-one has the answer, maybe one of u super brainers here knows?


ps.It seems to be illigal on this forum to share personal experience and testresults of VPS brands, pm me for data.


Files:
Forum.png  89 kb
 

I have no idea how it helps in your research but I found two posts related to ping with MQL5 VPS MT4/MT5  -

One reply is from the user, and the reply is from admin (related to the pings of MQL5 VPS MT4/MT5):

Forum on trading, automated trading systems and testing trading strategies

There Problem in My Server mql5 In ( ms ) !!

Fernando Carreiro, 2018.11.03 16:05

Order processing below 5ms is usually reserved for high rolling traders doing High Frequency Trading with specialised software and direct connections to liquidity providers.

I doubt you will ever find any MetaTrader broker able to do that speed, especially not with MetaTrader 4. The response times you are getting are actually quite good for MetaTrader 4.


Forum on trading, automated trading systems and testing trading strategies

There Problem in My Server mql5 In ( ms ) !!

Aytugan Khafizov, 2018.11.04 20:17

This is exactly what's happened.

Ping is a time which take a packed from VPS server reach to Broker's server.

Better ping means better execution.

BUT in addition to ping time, broker need some time to execute your order. ~50 ms is normal execution time for MT4 systems.

If you want more speed - find MT5 brokers, as MT5 has around 1-2 ms internal latency.


Virtual hosting for MetaTrader 5
Virtual hosting for MetaTrader 5
  • www.mql5.com
Virtual hosting for MetaTrader 4/5 is the best VPS solution for Forex. It is cheap, it requires no configuration and it features minimum delays to the server. For only $10 per month, you obtain a virtual platform that works around the clock, saves your profit and pays off. Create a remote copy of the application directly from the platform...
 
romalomey:
Hello,

Which superbrainer knows the answer?

MT4 EA bot which open/closes trade and measures execution time.
Tried 3 topbrand VPS servers. Standard and dedicated, fastest on the net.
Results described below.


Question:
Even with VPS@newyork MT4 mainframe 20-30msec is “lost”.

Execution time according to my ECN broker(to aggregator and back) =16-20msec.
From home my super PC runs 125/141msec execution time.
From home my normal PC runs 159/175msec execution time.
(conclusion: PC hardware is very important.)
My ookla ping to NewYork(MT4 mainframe)=100msec.
Mybroker measures distance from their server to my PC=110msec (so almost equal to ookla test)
So super PC = 141msec-110ms latency = 30msec execution time. Which is close to what broker says.

Now it comes:
All fast VPS run into brick wall. Minimum execution time is stable 45-61msec, and NOT 20-30sec.
On freelancer forum 3 programmers made program for me. Equal results.

No-one has the answer, maybe one of u super brainers here knows?


ps.It seems to be illigal on this forum to share personal experience and testresults of VPS brands, pm me for data.


Not sure what you are expecting as answer. If the VPS you are using don't reach the 20-30 msec that's because they are not close enough to the broker server (admitting the 20-30 msec are reliable).

Did you try the Metaquotes VPS ?

 

Hi,

@sergey: thx for your serious reply! I'm gathering more data from testresults, thats the reason I did not reply.

@Alain: quote:  "No-one has the answer" -> No top 5 star VPS supplier, no top broker, no top programmer@mql.
No (respectable) VPS has 20-30msc. they are all 0,5-2msec @NY. That small latency has nothinh to do with it. It's somethinh else.

Will try your
Metaquotes VPS  too! Thx for the tip.

I tested the best rated (5 star) VPS on forexpeacearmy too. Same results(not allowed to mention names here)


Does anybody know if the MT4 strategy tester  execution order time of 10-12msec is a realistic number, so what the PC needs?

It would help in calculating where the losses are and test the hardware of your PC :)

 
results from bot 10-12msec
Files:
 
romalomey:
results from bot 10-12msec

That's microseconds, not milliseconds.

Anyway if you want faster execution, use a better platform, MT5 or a professional one.

 
Weird admin removed reply again. No idea why.


The problem is solved, topic can be closed!(Thx to Alain)

The internal MT4 Metaquote VPS is just 30msec instead of 60msec. Which is EXACTLY correct according the calculations.
ALL 3rd party VPS are 30msecs slower, even the best and most expensive ones who advertise with 1-2msec. Very misleading.


Admin: if you remove a message would be more human to send a message why, no idea whats wrong with sharing test-data. Thats what a forum is for?
 
You can have 1-2ms ping to your broker but broker may execute orders at up to 50ms. If you want instant order execution, maybe you sit in their server room and trade instead.
 
VoodooKing # but broker may execute orders at up to 50ms

The microseconds the EA takes is irrelevant, compared to the 20-200 milliseconds the network takes, which is irrelevant compared to the minutes to do a trade because of the servers during news.

OrderSend sends the request, network delivers, placed in the server queue. Once it reaches the top of the queue, you get filled or not, and the result delivered back to the terminal. Normally it is the 20-200 milliseconds the network takes to deliver is the limiting factor, but it can take minutes to do a trade because of the servers during news.

 
William Roeder #:

The microseconds the EA takes is irrelevant, compared to the 20-200 milliseconds the network takes, which is irrelevant compared to the minutes to do a trade because of the servers during news.

OrderSend sends the request, network delivers, placed in the server queue. Once it reaches the top of the queue, you get filled or not, and the result delivered back to the terminal. Normally it is the 20-200 milliseconds the network takes to deliver is the limiting factor, but it can take minutes to do a trade because of the servers during news.

I experienced execution delay of up to 76 *thousands* milliseconds in high volatility conditions on a well known broker.  Does it seem reasonable to you?
 
Paolo Miocchi #: I experienced execution delay of up to 76 *thousands* milliseconds in high volatility conditions on a well known broker.  Does it seem reasonable to you?

76 thousand MS is 76 seconds. What part of minutes was unclear. Totally reasonable during news.

Reason: