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 to | Straight-line distance, about | Physical minimum round trip |
|---|---|---|
| Frankfurt | 3,400 km | 34 ms |
| London | 4,000 km | 40 ms |
| New York | 9,400 km | 94 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 run | Does latency matter? | Sensible location |
|---|---|---|
| Scalping, news trading, arbitrage | A lot | The broker's city |
| Expert advisor on M1–M5 | Noticeably | The broker's region |
| Expert advisor on H1, H4, D1 | Little | Anywhere stable |
| Copying signals | Depends on how fast the source trades | Compare slippage first |
| Alerts, trailing stops, journals | Very little | Anywhere 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:
| Terminals | Plan |
|---|---|
| 1–2 with few charts | Standard (2 vCPU, 4 GB RAM, 60 GB NVMe) |
| 3–8, several advisors | Professional (4 vCPU, 8 GB RAM, 100 GB NVMe) |
| Strategy testing in MT5 | Business (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
| Plan | vCPU | RAM | NVMe | Server, monthly | With public IP |
|---|---|---|---|---|---|
| Standard | 2 | 4 GB | 60 GB | ₼39.90/mo | ₼49.90/mo |
| Professional | 4 | 8 GB | 100 GB | ₼73.90/mo | ₼83.90/mo |
| Business | 6 | 12 GB | 120 GB | ₼95.90/mo | ₼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
- 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.
- Install Windows updates, then set active hours and choose a weekend time for restarts.
- Install the terminal from your broker, log in with the trading password, enable algorithmic trading, and load the chart template.
- 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. - When you leave, disconnect the RDP window. Signing out closes the terminal.
- Restart the server on a Saturday and check that everything came back. If you skip this test, the market will do it for you.
- 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.