---
title: "Forex VPS for MT4 & MT5: Setup, Latency and Specs"
description: "A forex VPS keeps MT4 or MT5 trading 24/7 near your broker's server. Pick the location, size the RAM, auto-start after a reboot and secure RDP."
url: https://offshoreserv.com/blog/forex-vps-mt4-mt5
lang: en
updated: 2026-09-26
source: HTML page at the url above (canonical); this is its Markdown version
---

[Guides](https://offshoreserv.com/blog/category/guides)

# Forex VPS for MT4 and MT5: setup, latency and specs

What a forex VPS does for MT4 and MT5, how it compares with MetaQuotes' built-in hosting, which location suits your broker, how much server you need, and how to keep the terminal running after a reboot.

26 September 2026 9 min read By the OffshoreServ team

Key takeaways

- A forex VPS keeps MetaTrader and its expert advisors running when your computer sleeps, updates or loses power.
- MetaQuotes' built-in hosting forbids DLL calls and does not move scripts; your own Windows server has neither limit.
- Choose the location closest to your broker's trade server. For a broker in New York, none of ours is close.
- One terminal fits 2 GB of RAM; plan 4 GB or more for several, then measure.

A forex VPS is a remote Windows server that runs your MetaTrader 4 or 5 terminal around the clock, close to your broker's trade server. Your expert advisors keep trading while your computer is off, and orders travel a shorter path. The location decides most of the benefit: choose the one closest to your broker's trade server.

This guide uses our [Windows RDP servers](https://offshoreserv.com/offshore-rdp) as the example: Windows Server 2019, 2022 or 2025, or Windows 10 or 11, with full administrator access on every plan except the shared seat, ready about five minutes after you order. The steps apply to any Windows server.

## Why run MetaTrader on a server

An expert advisor trades only while its terminal runs and stays connected. A home computer sleeps, restarts for updates, and loses power or internet at the worst moment; each gap is a period in which open positions go unmanaged. A VPS for MetaTrader avoids most of that: our SLA covers 99.9% monthly network availability, and you can reach the terminal over Remote Desktop from a computer or a phone.

You do not need one if you trade by hand and only while you sit at your own computer. You do if an expert advisor, a trade copier or a signal subscription must keep running when you are away.

## MetaQuotes virtual hosting vs your own Windows server

MetaQuotes sells virtual hosting from inside the terminal, paid from an MQL5.community account. When you register, [the system automatically selects the server closest to your broker](https://www.metatrader5.com/en/terminal/help/virtual_hosting/virtual_hosting_server) and compares its latency with yours. You prepare charts and expert advisors in your local terminal and migrate them. The move is one way: MetaQuotes calls synchronization "a one-direction process", so every local change needs a new migration. You then manage the hosted copy from your local terminal, where you can read its journals, see CPU and memory graphs, and stop it.

The limits are the reason many traders run their own server. On the virtual platform, [MetaQuotes' help for MT5](https://www.metatrader5.com/en/terminal/help/virtual_hosting/virtual_hosting_migration) and [for MT4](https://www.metatrader4.com/en/trading-platform/help/virtual_hosting/virtual_hosting_migration) says that:

- "DLL calls are completely forbidden", and in MT4 a program that calls a DLL is stopped with a critical error;
- scripts are not migrated, even if they run in an endless loop;
- charts with non-standard timeframes and symbols are not transferred;
- MT5 accounts with one-time password authentication cannot be used;
- programs that use WebRequest need every trusted URL listed before migration.

| Aspect | MetaQuotes virtual hosting | Your own Windows server |
| --- | --- | --- |
| Setup | Migrate from your local terminal | Install the terminal and work over Remote Desktop |
| Location | Picked automatically, closest to your broker | You choose it; seven locations with us |
| DLL calls | Forbidden | Allowed |
| Scripts | Not migrated | Run normally |
| Changes | Made locally, then migrated again | Made directly on the server |
| Other software | None: the service runs the trading platform | Trade copiers, browsers, Python, several brokers' terminals |

The rule of thumb: if your expert advisors are pure MQL and you trade one account, the built-in hosting is the simplest option. If you use DLL-based tools, several terminals or anything outside MetaTrader, run your own Windows server.

## Forex VPS latency: how close to your broker

Latency is the round trip between your terminal and the broker's trade server, a delay every order pays before the broker sees it. It matters most for strategies that trade often on small moves. Your own connection to the VPS only affects how fast the remote screen responds; orders leave from the VPS.

Brokers run their trade servers in specific data centers and name the location in their documentation or on request. Choose the location closest to that server. These are estimates from our [latency model](https://offshoreserv.com/network), not measurements: great-circle distance, light in fiber at about 200 km per millisecond, a 1.45 factor for real routes and 2 ms for equipment.

| Broker's trade server | Closest OffshoreServ location | Estimated round trip |
| --- | --- | --- |
| London | Netherlands | ~7 ms (Switzerland ~13 ms) |
| Frankfurt | Switzerland | ~6 ms (Netherlands ~7 ms) |
| Singapore | Malaysia | ~6 ms |
| Hong Kong | Malaysia | ~39 ms |
| Tokyo | Malaysia | ~79 ms |
| New York | Iceland | ~63 ms (Netherlands ~87 ms) |

[Amsterdam](https://offshoreserv.com/locations/netherlands) is about 360 km from both London and Frankfurt, [Zürich](https://offshoreserv.com/locations/switzerland) about 300 km from Frankfurt, and [Kuala Lumpur](https://offshoreserv.com/locations/malaysia) about 310 km from Singapore. Every one of our locations is at least 63 ms from New York, so if your broker's trade server is there, a server near New York will serve you better than any of ours. To measure the real latency, try the location with a new plan: a new RDP service has a 72-hour money-back window on its first period, refunded to your balance.

## Forex VPS specs: how much server you need

MetaQuotes publishes no fixed hardware requirements: its [installation guide](https://www.metatrader5.com/en/terminal/help/start_advanced/installation) says they "depend on specific platform use conditions", such as the MQL5 programs running and the number of charts and instruments. Windows itself takes a good part of 2 GB. The terminal counts below are rough guidance, not measurements:

| Plan | vCPU / RAM / NVMe | Per month | Rough fit |
| --- | --- | --- | --- |
| Shared RDP | Private seat / 2 GB | $4.09 | Not for expert advisors: no administrator rights, and restarts are managed by us |
| RDP Solo | 1 / 2 GB / 50 GB | $6.89 | 1 terminal on Windows Server 2019 or 2022 |
| RDP Duo | 2 / 4 GB / 80 GB | $8.09 | 2 to 4 terminals, or 1 on Server 2025 or Windows 11 |
| RDP Quad | 4 / 8 GB / 120 GB | $12.99 | 5 to 10 terminals |
| RDP Hexa | 6 / 16 GB / 200 GB | $24.99 | 10 to 20 terminals |
| RDP Octa | 8 / 32 GB / 250 GB | $55.49 | 20 or more terminals |

A terminal with a few charts and one simple expert advisor needs far less than one with dozens of charts, deep history and heavy indicators. Watch memory in Task Manager for a few days, and move up a plan if it stays above about 80%. Run backtests and optimizations on your own computer rather than on the server that trades. Every plan has a 1 Gbps port, and billing is monthly, quarterly (5% off) or yearly (12% off). Cryptocurrency mining is not allowed on RDP plans under our [acceptable use policy](https://offshoreserv.com/acceptable-use-policy).

## Windows Server or Windows 11?

MetaQuotes says MetaTrader 5 "can run under Microsoft Windows 10/11". Windows Server 2019, 2022 and 2025 share their code base with those releases and run the terminals too. Windows Server 2022 is the balanced choice: supported until October 14, 2031, light enough for RDP Solo, and free of the yearly feature updates of Windows 11. Windows 11 needs at least 4 GB of RAM, and Windows 10 reached the end of support on October 14, 2025. Windows 10 and 11 also allow one interactive session at a time, where Windows Server allows two administrative sessions.

Our comparison of [Windows versions for RDP](https://offshoreserv.com/docs/rdp/windows-versions) has the details. On Windows Server, run `sconfig` and set updates to download only, then install them while markets are closed, so a restart never lands in the middle of a trading session.

## Install MetaTrader and start it automatically after a reboot

1. **Install the terminal from your broker.** For several accounts, install one copy per account, each in its own folder: [MetaQuotes' help](https://www.metatrader5.com/en/terminal/help/start_advanced/start) says two copies of the platform "cannot run from the same directory".
2. **Log in with Save password ticked.** Then, in [MetaQuotes' words](https://www.metatrader5.com/en/terminal/help/startworking/authorization), "the next time you start the platform, the last used account will be automatically connected to the server".
3. **Keep automated trading allowed** on the Expert Advisors tab of the [platform settings](https://www.metatrader5.com/en/terminal/help/startworking/settings). When it is off, "scripts and Expert Advisors can work, but are not able to trade".
4. **Add the terminal to the Startup folder.** Press Win+R and run `shell:startup`; [Microsoft](https://support.microsoft.com/en-us/windows/configure-startup-applications-in-windows-115a420a-0bff-4a6f-90e0-1934c844e473) describes this folder as the applications that start when a user signs in. Put a shortcut to `terminal64.exe` there, or to `terminal.exe` for MT4, one per installed copy.
5. **Sign in automatically after a reboot.** The Startup folder only runs once someone signs in. Microsoft's [Autologon](https://learn.microsoft.com/en-us/sysinternals/downloads/autologon) tool makes Windows "log on the user at the console" at each start. It stores the password in the registry as an LSA secret, which "a user with administrative rights can easily retrieve and decrypt", so use a strong password that you use nowhere else.
6. **Test it.** Restart the server from its page in the client area, reconnect, and check that each terminal is running and connected.

Task Scheduler works too, together with Autologon: create a task with the **At log on** trigger and **Run only when user is logged on**. Microsoft documents that such a task ["will be run only in an existing interactive session"](https://learn.microsoft.com/en-us/windows/win32/api/taskschd/ne-taskschd-task_logon_type), which is where MetaTrader's window can appear. When you finish working, close the Remote Desktop window instead of signing out: closing it disconnects the session and leaves the terminals running, while signing out closes them.

## Secure the remote desktop

A Remote Desktop port open to the internet receives automated password guesses around the clock, and a trading server is worth guarding. Five measures close most of the risk:

- **Network Level Authentication** makes clients prove the password before Windows shows a login screen. It is on by default on current versions; check that it stays ticked.
- **A strong password** of at least 16 random characters, used nowhere else, and a new name for the built-in Administrator account.
- **An account lockout policy**, for example 15 minutes after 5 wrong passwords.
- **A different RDP port**, which cuts log noise but does not hide the service from a thorough scan.
- **An allowlist** that accepts Remote Desktop only from your own IP address, the most effective of the five.

Because Autologon keeps a password on the server, the allowlist and a unique password matter even more. [How to connect to and secure a Windows RDP server](https://offshoreserv.com/docs/rdp/connect) has the exact commands for each step.

## Frequently asked questions

### What is a forex VPS?

A forex VPS, also called an MT4 VPS or MT5 VPS, is a virtual private server, usually running Windows, that hosts your trading terminal around the clock. It keeps MetaTrader and its expert advisors running when your own computer is off, and placed near your broker's trade server, it shortens the path every order travels. You reach it over Remote Desktop.

### Do I need a VPS for MT4?

Only if something must keep running without you. An expert advisor, a trade copier or a signal subscription trades only while the terminal is open and connected, so a server makes sense for them. If you trade by hand, only while you sit at your computer, your own machine is enough, and a VPS adds cost without a benefit.

### Which VPS location is best for my broker?

The one closest to your broker's trade server, not to you. Find where the trade server runs in the broker's documentation, then compare latency estimates: from our locations, London and Frankfurt are 6 to 7 ms away, Singapore about 6 ms. For a broker in New York, a server near New York will beat all of our locations.

### How much RAM does MT5 need?

MetaQuotes publishes no fixed figure: requirements depend on your MQL5 programs and the number of charts and instruments. As rough guidance, one terminal runs on 2 GB with Windows Server 2019 or 2022, while several terminals, Windows 11 or Server 2025 call for 4 GB or more. Watch Task Manager and move up a plan if memory stays above about 80%.

### Can I run several MT4 terminals on one VPS?

Yes, as long as each terminal has its own installation folder. MetaQuotes' help says two copies of the platform cannot run from the same directory, so install one copy per account and add a startup shortcut for each. Memory sets the practical limit: plan roughly 2 to 4 light terminals on 4 GB and 5 to 10 on 8 GB, then measure.

**Host it where the law is on your side.**

Offshore VPS, dedicated, RDP and GPU servers in seven jurisdictions. No KYC, paid in crypto.

## More from the blog.

- [Guides Is offshore hosting safe? Risks and how to vet a host Offshore hosting is as safe as the host you choose and the way you run your server. Here are the real risks, the red flags and 12 checks to make before you pay.26 September 2026 10 min read](https://offshoreserv.com/blog/is-offshore-hosting-safe)
- [Guides Offshore VPS for a personal VPN: what to look for Your own VPN on an offshore VPS gives you control over logs and location, with honest limits on anonymity. What to look for in the server, how to choose the exit country and why WireGuard needs so little.26 September 2026 9 min read](https://offshoreserv.com/blog/offshore-vps-for-vpn)
- [Guides Offshore vs onshore hosting: the differences that matter Onshore keeps your server under your own law; offshore lets you choose another. What actually changes, from takedowns and payment to latency and SEO, and when each one is the better fit.26 September 2026 8 min read](https://offshoreserv.com/blog/offshore-vs-onshore-hosting)

---

OffshoreServ is an offshore hosting provider: VPS, dedicated servers, Windows RDP and GPU servers in seven jurisdictions (Iceland, Switzerland, Moldova, Romania, the Netherlands, Bulgaria and Malaysia), paid only in cryptocurrency (Bitcoin, Ethereum, Monero, Tether (USDT) and Solana), with no identity checks (no KYC).

Prices and plans: https://offshoreserv.com/pricing · Answers: https://offshoreserv.com/faq · Every page: https://offshoreserv.com/llms.txt
