Skip to content

How to check ping to your broker’s server from MT4 or MT5

  • Updated
  • By Traders Proxy
  • 6 min read

The short answer

This page shows how to check ping, the time data takes there and back, from MetaTrader 4 or 5. It shows how much of your delay is distance, and whether busy hours add to it. Find your broker’s server address, then ping it 30 times.

Ping gives you a starting point, not your order time.

Ping sends a small piece of test data to an address and times the reply (Microsoft’s ping reference). That is the time there and back. Do not halve it and call the result your order time.

Ping uses a different kind of data from the data your platform trades with. A server can answer it slowly, or not at all, while trading works. Use it as a starting point, not as a score.

It still tells you two useful things. It shows how far your broker is from you in time, and whether that changes with the hour.

You need your broker’s server address before you can test.

You need an address, not the server name in your login window. Any one of these four ways will do.

  1. 01

    Look in the terminal

    Press Ctrl+O, or choose Tools → Options, then open the Server tab.

    MetaQuotes says the Server field takes an address and port, joined by a colon. If yours shows only a server name, use another way.

  2. 02

    Read it from the server list in MetaTrader 4

    Choose File → Open an Account. MetaQuotes says the list shows each server’s address, name and ping. Find your broker’s server, then close the window without opening one.

    MetaQuotes documents this list for MetaTrader 4. For MetaTrader 5, use another way.

  3. 03

    Read it from your computer’s list of connections

    On Windows, with the platform connected, run netstat -n -o in Command Prompt. Find the terminal’s process ID in Task Manager, then read the foreign address on its row.

    If the terminal has several connections, ping each address. Leave the port number off. If your platform already uses a proxy, this list shows the proxy’s address, not your broker’s.

  4. 04

    Ask your broker

    Your broker’s support may give you the address, or the city its server is in.

Thirty pings and a trace show how your connection behaves.

  1. 01

    Ping it 30 times

    On Windows, open Command Prompt and run ping /n 30 BROKER_ADDRESS. On macOS or Linux, open Terminal and run ping -c 30 BROKER_ADDRESS. Many readings show a pattern that one reading can hide.

    Replace BROKER_ADDRESS with the address you found, without its port.

  2. 02

    Write down four numbers

    When the run ends, note the lowest, highest and average time, and how many replies were lost. They show your best, usual and worst case, and how often data goes missing.

  3. 03

    Trace the path

    Run tracert BROKER_ADDRESS on Windows, or traceroute BROKER_ADDRESS on macOS and Linux. It lists each router your data passes through, with the time to reach each one. A jump in the times shows where on the path the delay starts.

    A row of asterisks means that router did not reply. That is not a fault by itself.

  4. 04

    Repeat at another hour

    Run the same test at a busy time and a quiet one. The difference shows how much busy hours add to your wait. Why ping changes during the day shows how to log it.

Your highest readings and lost replies matter more than the average.

Compare your busy-hour numbers with your quiet-hour numbers. A big gap means busy hours, not distance, are adding to your delay.

Look at the highest reading and any lost replies, not the average alone. When a piece of data is lost, your platform waits, then sends it again. Everything behind it waits too.

So lost replies hint that data on that path goes missing, which is what can hold up price updates and orders.

There is no pass mark here. A number is good or bad only against your own targets. How much latency matters for scalping shows the sum.

One more check, your lowest reading can never be below the minimum that distance allows. The panel works out that minimum for any two of our cities. If your lowest reading is close to it, distance is most of your delay.

The maths in briefPhysics, not our measurement
  1. 01

    Distance sets a speed limit on every order

    Light in a fibre cable moves about 200 km per millisecond. Your order goes there and back, so each 1,000 km adds at least 10 ms.

    What it means for youNo tool can send a signal faster than light in glass. Distance always sets the minimum.

    minimum there and back (ms) = distance (km) ÷ 100

  2. 02

    One dropped piece makes every order wait

    When a piece of data drops, your platform stops and sends it again across the full distance. A second drop doubles that wait while live prices stall.

    wait 1× → 2× → 4× → 8×

  3. 03

    Our server in your broker’s city resends dropped data there

    Your order still crosses the distance to your broker’s city once. Our server in that city keeps a local copy and runs the last leg to your broker.

    What it means for youWhen a drop happens near your broker, our server resends it inside that city in milliseconds instead of waiting on a second trip from home.

    distance set by physics · recovery in your broker’s city is ours

Try your own distance

Singapore to London is about 10,850 km in a straight line, so at least 108 ms there and back. No order can reach your broker and hear back in less. Real routes are longer.

We don’t promise lower ping because distance sets the minimum. Local recovery in your broker’s city covers only the connection between our server and your broker. The repeat-loss fix covers the first few tries on a quiet connection, after the first repeat try.

Physics and a published standard, not our measurement. Compare it with your lowest reading.

Warning. No lost replies is not the same as a stable connection

Ping tests the path with a different kind of data. Your platform’s connection can still drop for reasons a ping test does not see. Check your platform itself too, using the connection check.

MetaTrader shows its own ping, but treat it as a rough guide.

In MetaTrader 4, the server list under File → Open an Account shows a ping for each server (MT4 help). A Scan button refreshes it. MetaTrader 5 gained ping values in its list of access points in build 1010, in October 2014 (release notes).

The help pages do not say how the platform measures those pings, so they may not match a command-line ping. Use the command-line test as your baseline.

The Journal tab logs the terminal’s own events, warnings and errors. It is not a ping log, and the help does not say it lists the server’s address. Look there when the platform reports an error.

In MetaTrader 4, open it from View → Terminal (Ctrl+T). In MetaTrader 5, it sits in the Toolbox window (Ctrl+T).

A ping test reads the same with or without Traders Proxy.

Only the trading app you set up uses Traders Proxy. Everything else stays on your normal internet, so a ping test reads the same with or without us. To see what we change, compare your platform without us and then with us.

Each platform’s maker decides which of its connections use its proxy setting. The ping figures your platform shows are its own measurement, and we make no promise about them.

Our server in your broker’s city opens a separate local connection to your broker. If data drops on that link, our server recovers it inside that city.

Your order waits on that short local link instead of the whole way. Trading ports take priority when the server is busy.

A backtest runs on your own machine, so no internet link can lose a piece of data during a news release. In live trading, one lost piece holds up every price update and order behind it. Everything waits while your computer sends it again across the world.

You can’t set up a proxy while your platform is stuck in a live trade. Enter your four login details while markets are calm, then compare how it holds up during the next news release.

We don’t promise lower ping. Distance sets the minimum. If our server in your broker’s city is unreachable, your platform shows an error and your dashboard asks before using another city. If your broker prohibits proxies, don’t use one.

Frequently asked questions

My broker says its connection is excellent, but my ping is high. Who is right?

Both can be. Your ping measures the path from you to the server, which your broker does not control. Ask your broker what its own figure includes.

Can I see ping in the platform without the command line?

Partly. MetaTrader 4 and 5 both show a ping for each server in their server lists. The platform measures them itself, so use the command-line test as your baseline.

Why does my ping change through the day?

Data waits in line at a router when a network on the path is busy, and that adds delay. Why ping changes during the day shows how to log yours.

Will Traders Proxy change my ping?

No. A ping test never goes through it, and your connection still has to reach your broker’s city. Instead, our server in your broker’s city connects locally to your broker and recovers lost data there.

Does a ping with no lost replies mean my connection is stable?

No. Ping uses a different kind of data, so your platform’s connection can still drop without a ping ever failing.

Trader reports · Verified threads

Real trader reports, what our server does, and where it stops.

Each quote links to the public forum thread or help page where it was posted. Below each quote, read what Traders Proxy handles and where our server stops.

MetaTrader 4 & 5Helps here

'Ping failed' and drops with disconnects every few minutes, re-login loops and dropped sessions

“hey guys,..do you have any ideas why my MT4 often disconected in a several minute or sometime ping failed reported on journal tab. By the way my internet connection doesn,t have any problem or it's always connected.”

What our server improves. If your device drops off, our server notices quickly and frees its place, so your platform can reconnect instead of hanging.

Keep in mind. We do not prevent internet drops or fix broker faults. After a disconnect, your platform logs in again, so always use broker-side stop-loss orders.

MetaTrader 4 & 5Skipped by design

Virtual hosting limits with one account per server and no custom DLLs

“If it requires DLL calls, it will not work on it, because they are prohibited.”

How local trading avoids this. Your platform runs on your own computer with your own charts and custom DLLs. Plans count connected devices, not trading accounts.

Keep in mind. We do not host Expert Advisors. If your computer sleeps or goes offline, your robot stops.

Windows VPS & RoutingSkipped by design

Remote-desktop session freezes, drops, or shows "connection has been lost"

“I added the dword `fClientDisableUDP` into HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services\\Client and set as 1. Logged in and out.....problem solved.”

How local trading avoids this. Your platform runs on your own computer, so there's no remote-desktop session to freeze or drop.

Keep in mind. Your platform's connection to our server can still drop. We notice quickly and your platform can reconnect, but we never promise it won't happen.

cTraderWhen to skip a proxy

cTrader picks a far Spotware proxy node that you cannot choose

“cTrader and cAlgo automatically find closest proxy to connect to, but sometimes it can connect to wrong proxy.”

Why a proxy is the wrong fit. cTrader for Windows has a proxy setting and Traders Proxy supports it over HTTP. cTrader still chooses its own servers.

Keep in mind. In cTrader on Windows, the Connection proxy setting routes your connection to Spotware’s cloud. Spotware still picks its own cloud node on the far side.

Sources

Bring your trading route closer to home.

Set up your proxy login details in under 5 minutes with nothing to install. Connect through our server in your broker’s city and test your platform both ways.

From $9 a month · Stop renewal any time in your dashboard · First payment refunded if your platform can’t connect through us