GuideUpdated 27 November 20266 min read

Read the ping to each access point of your broker in MT4 and MT5, rescan servers, switch access point, and understand what the number does and does not measure.

In short
  • Click the connection indicator in the bottom-right corner of MT4 or MT5: the list shows each access point of your broker's server with its ping in milliseconds.
  • Rescan servers, in the same menu, makes the terminal test the access points again; click an access point to switch to it.
  • Read the ping on the machine that runs the EA. On your home PC it measures your home connection, not the VPS.
  • The ping is one network round trip to the access point. It is not the time the broker takes to execute an order, and behind a relay it stops at the relay.
  • It is comparable to the measured table of Dipgate's four cities; a figure far above the table for the same city can mean the terminal is on a distant access point, and a rescan is the first thing to try.

To see the ping to your broker in MetaTrader 4 or 5, click the connection indicator in the bottom-right corner of the terminal: a list opens with each access point of your broker's server and its ping in milliseconds. In the same menu, Rescan servers makes the terminal test the access points again, and clicking one switches to it. Do this on the machine that runs your EA, because the ping is measured from wherever the terminal is running.

Four steps: click the connection indicator, read the list of access points, rescan servers, pick one and check
The ping list, the rescan and the switch all sit behind the connection indicator in the bottom-right corner.

Read the ping in MT4 and MT5

The steps are the same in both platforms.

  1. Open the terminal on the machine that will run the EA. On a VPS, connect to it (with Remote Desktop on a Windows VPS) and work in the terminal there; a reading on your home PC measures your home connection.
  2. Look at the bottom-right corner of the status bar. If the terminal is not connected, a message such as No connection or Invalid account appears there, as IG's MT5 help notes. A figure in kb next to the connection bars is the traffic of the current session, not the ping.
  3. Left-click the indicator. A list of the broker's access points appears, each with its ping in milliseconds, as the Admirals and BlackBull Markets help pages describe. An access point is an entry address of the same trade server; a broker can have several, in different cities.
  4. Read two things for each access point: the ping, and the bars. Admirals advises judging stability too, with more green bars meaning a steadier connection, and choosing on both.
  5. To switch, click the access point you want. The terminal reconnects through it. Open the list again to see which one is now in use.

Rescan servers

The list shows what the terminal found the last time it tested the access points. After a move, a broker change of servers or a long run, it can be out of date.

  1. Click the connection indicator in the bottom-right corner.
  2. Choose Rescan servers (RoboMarkets, OANDA and Axi describe the same option).
  3. Wait for the list to refresh, then open it again and read the ping.
  4. If the terminal stayed on a slow access point, click a faster one with steady bars.

Rescan when:

  • you have just installed the terminal on a new VPS or moved the VPS to another city,
  • the ping is far above what you expected for that city,
  • the status shows No connection while the machine is online,
  • your broker has announced new servers or addresses.

Switching access point makes the terminal reconnect. Do it when your EA is not about to send or change an order.

When your server is missing from the list

If the server name of your account is not offered at login, ask the terminal to search for it.

PlatformWhat to do
MetaTrader 5Open the File menu and choose to open an account. Type the company name and click Find your broker, or type the server address instead, as the MetaTrader 5 help explains. Select the server and log in with your existing account
MetaTrader 4Open the File menu and choose to open an account. In the server list, click the green (+) entry, type the broker's name or server name as your broker writes it, click Scan, choose the server and log in with your existing account, as Axi's help centre describes

Use the server name your broker gave you for this account, not one that looks similar. If the server is found and the login still fails, check the account number, password and server name before the network: see MT4 says Invalid account or No connection.

What the ping is, and what it is not

The ping isThe ping is not
One network round trip from the machine running the terminal to an access point of the broker's serverThe time the broker takes to execute your order, which happens inside the broker after the order arrives
A reading at one momentA permanent value: routes and broker servers change
Measured to the access point, the entry doorAlways the distance to the trade server: access servers can sit in other cities and pass the data on to the trading servers, and a relay network answers from near wherever you are
Comparable between access points of the same serverA ranking of brokers

A very low ping can still hide a long path behind the door; why a very low broker latency figure can mislead explains when.

How the ping relates to the measured table

The broker latency table gives, for each measured server name, the round trip from one Dipgate server in each of London, New York, Frankfurt and Paris to that server's fastest access point, taken on 26 November 2026. It answers the question before you order: which city is closest to my server. The ping in your terminal answers the question after: what does this machine get right now.

Both are one network round trip to an access point, so for a terminal running in the same city they should be close, but not identical: a different moment, perhaps a different access point, and a different way of timing it (the table times the opening of a TCP connection and keeps the middle value of seven tries; the terminal uses its own ping). Use them like this:

What you see in the terminal on the VPSWhat it can meanWhat to do
Close to the table figure for your cityThe terminal uses a nearby access pointNothing
Far above the table figure for your cityThe terminal is on a distant access pointRescan, then pick the fastest access point with steady bars
High, and every city in the table row is high tooThe server is far from all four citiesNo city brings it close; see London or New York VPS for how to choose
Low from terminals in cities far apart, such as London and New YorkA relay network in front of the serverAsk the broker where the server is hosted
No figure on any access pointNo answer at allA connection or login problem; see MT4 keeps disconnecting on a VPS

Reading the ping from code in MT5

If an EA should log its own connection, MQL5 has a terminal property for it: TERMINAL_PING_LAST, which the MQL5 reference describes as the last known ping to a trade server, in microseconds. In an MT5 script or EA:

Print("Last ping: ", TerminalInfoInteger(TERMINAL_PING_LAST) / 1000.0, " milliseconds");

Dividing by 1,000 turns the value into milliseconds. Like the figures in the list, it is measured from the machine that runs the terminal.

When the ping is not your problem

  • Your EA reacts late although the ping is low. The delay may be on the machine, for example a terminal short of CPU or memory. See why a trading VPS gets slow.
  • Your EA trades on H1 bars or slower. Differences of a few milliseconds or a few dozen are small next to an hour-long bar.
  • Your slippage happens at news time. Spreads and liquidity change then, and the ping does not.

How this works on Dipgate

  • On a Trading VPS you connect with Remote Desktop and read the ping in the terminal on the VPS; closing the Remote Desktop connection leaves the terminals running. The location is chosen at order among Paris, London, Frankfurt, New York and Chicago; the measured table was taken from one Dipgate server in each of London, New York, Frankfurt and Paris (Chicago was not measured).
  • On Metatrader In Cloud the MetaTrader runs on the server and opens in your browser, so the ping in its status bar is read from the server, not from your PC. Its locations at order are Europe, United Kingdom and New York.
  • Trading Servers are offered in London and New York.

FAQ

Where is the ping shown in MT4?

In the list that opens when you click the connection indicator in the bottom-right corner of the terminal. Each access point of the broker's server is listed with its ping in milliseconds.

Is the figure in kb next to the connection bars the ping?

No. A figure in kb is the amount of data the terminal has sent and received in the session. The ping is the figure in milliseconds in the list of access points.

Does a lower ping mean better fills?

It shortens the trip between your terminal and the broker's access point. What happens to the order inside the broker is not in that figure, so it is not a promise of better fills.

No access point in the list shows a ping. What does it mean?

The terminal got no answer from any of them, so the problem is the connection itself or the login, not the choice of access point. Check that the machine is online, then log in again with the server name your broker gave you.

Should I rescan while my EA has open trades?

Switching to another access point makes the terminal reconnect, which interrupts the connection for a moment. Prefer to rescan and switch when your EA is not about to send or modify an order.