Forex VPS for MT4 and MT5: an honest look at latency and location

If your strategy depends on milliseconds, do not rent a forex VPS in Baku: most broker servers are in London, New York or Frankfurt, and a server in the same city will always be closer. If you need a terminal that stays on when your power or home internet goes out, a server in Baku does that job well.

Updated: · Prices in the text are with the public IP (₼10 a month) unless stated otherwise.

Why distance decides the ping

Light in optical fibre covers roughly 200 km per millisecond, so each 100 km of cable costs about 1 ms there and back. Real routes are longer than a straight line. The table is theory, not a measurement: no provider can go below it, and real pings are higher.

From Baku toStraight-line distance, aboutPhysical minimum round trip
Frankfurt3,400 km34 ms
London4,000 km40 ms
New York9,400 km94 ms

A VPS in the broker's own data centre can answer in single-digit milliseconds. Nothing you buy in Azerbaijan will match that. The general comparison is on the Baku or Europe page.

Match the strategy to the location

What you runDoes latency matter?Sensible location
Scalping, news trading, arbitrageA lotThe broker's city
Expert advisor on M1–M5NoticeablyThe broker's region
Expert advisor on H1, H4, D1LittleAnywhere stable
Copying signalsDepends on how fast the source tradesCompare slippage first
Alerts, trailing stops, journalsVery littleAnywhere stable

Three good reasons remain for a server in Baku. The terminal keeps running through local power cuts, router restarts and a closed laptop. The remote desktop feels quick, because you, not the broker, are close to it. And you can call support here in Azerbaijani, Russian or English at any hour.

Before paying anybody, look at two alternatives. MetaTrader has a built-in virtual hosting offer that is placed near broker servers, and some brokers give a VPS to clients who trade above a volume. If they suit your strategy, they are the simpler choice.

Measure the ping to your own broker

In MetaTrader. Log in to the account on the machine you want to test. The connection indicator in the corner of the window lists access points with their ping in MT5, and the Journal tab records a ping at login. Note the value morning, London open and New York open for several days.

In PowerShell. ping is often blocked by brokers, so time a TCP connection to the server name and port your broker publishes:

# replace the name and port with your broker's server
$h = 'trade.example.com'; $p = 443
1..20 | ForEach-Object {
  $c = New-Object Net.Sockets.TcpClient
  $t = Measure-Command { $c.Connect($h, $p) }
  $c.Close()
  [math]::Round($t.TotalMilliseconds, 1)
  Start-Sleep -Milliseconds 500
}

Look at the middle value and the worst two, not the best one. A steady 70 ms is easier to live with than 45 ms that jumps to 400. Run the same test from your home line: if the numbers are alike and stable, a server brings you uptime, not speed. Renting for one month and measuring is cheaper than trusting any provider's table, ours included.

Which plan for MT4 and MT5

MetaTrader is made for Windows. It can run under Wine on Linux, but plugins and DLLs cause surprises, so take Windows Server 2022. Windows itself needs about 2 GB; each terminal adds 200–500 MB depending on charts, history and indicators. Starting points:

TerminalsPlan
1–2 with few chartsStandard (2 vCPU, 4 GB RAM, 60 GB NVMe)
3–8, several advisorsProfessional (4 vCPU, 8 GB RAM, 100 GB NVMe)
Strategy testing in MT5Business (6 vCPU, 12 GB RAM, 120 GB NVMe) or larger: the tester uses every core
  • Standard₼39.90/mo

    2 vCPU · 4 GB RAM · 60 GB NVMe

    Public IP +₼10/mo, With public IP: ₼49.90/mo

  • Professional₼73.90/mo

    4 vCPU · 8 GB RAM · 100 GB NVMe

    Public IP +₼10/mo, With public IP: ₼83.90/mo

  • Business₼95.90/mo

    6 vCPU · 12 GB RAM · 120 GB NVMe

    Public IP +₼10/mo, With public IP: ₼105.90/mo

Prices in manat (AZN), billed monthly. The public IP is +₼10 a month and is assigned automatically.

The terminal has to reach the broker over the internet, so the server needs a public IPv4. The public IP is ₼10 a month; with it the price is ₼49.90 a month for Standard, ₼83.90 for Professional, ₼105.90 for Business. Smaller plans do not run Windows. A licence fee may apply to Windows and is shown at ordering. Editions and licences are explained on the Windows VPS page.

Set it up to survive a night

  1. Change the administrator password and limit RDP to your own address or a VPN; see the remote desktop guide. An open 3389 is attacked constantly, and this machine can place trades.
  2. Install Windows updates, then set active hours and choose a weekend time for restarts.
  3. Install the terminal from your broker, log in with the trading password, enable algorithmic trading, and load the chart template.
  4. Put a shortcut to the terminal into shell:startup, so it opens after logon. After a reboot somebody still has to log on; automatic logon solves that but stores credentials on the server, so decide deliberately.
  5. When you leave, disconnect the RDP window. Signing out closes the terminal.
  6. Restart the server on a Saturday and check that everything came back. If you skip this test, the market will do it for you.
  7. Send yourself a daily message from the advisor. Silence then means a problem.

What no server can fix

A VPS will not cure requotes, spread widening at news, a broker's execution delay or an advisor that loses money. It also adds one more thing that can fail, so keep the broker's mobile app on your phone for closing positions by hand.

Forex VPS questions

Is a VPS in Baku good for scalping?

No. The distance to London, New York or Frankfurt adds tens of milliseconds that no setting removes. Choose a server in the city where your broker's trade server is.

How do I find out where my broker's server is?

Ask the broker's support for the data centre city of your account's server. You can also log in from machines in two regions and compare the ping shown by the terminal.

How many MT4 terminals fit on one VPS?

On Windows with 4 GB, one or two terminals with a few charts; with 8 GB, roughly three to eight. Watch memory in Task Manager for a week before adding more.

Does the terminal keep trading when I close remote desktop?

Yes, if you disconnect instead of signing out. Your own computer can be switched off.

Does Cloudraft give trading advice or broker accounts?

No. We rent the server only. Strategy, broker and risk are your decision.

Read next

All VPS pages

This page in other languages: Azərbaycanca · Русский · Türkçe

Servers in Baku, prices in manat

Create an account, top up your balance and order the plan you need.