Short answer: A VPS service in forex is a rented Windows server, ideally in the same data center as your broker's trade server (often London LD4, New York NY4 or Tokyo TY3), that keeps MetaTrader 4 or 5 and its Expert Advisors running 24/5. As of November 30, 2026, 2 GB Windows-capable plans start at $2.24 a month; the median is $14.00.
What is VPS service in forex? In short, it is a remote Windows computer that runs your trading terminal around the clock, placed close to your broker. This guide explains how a forex VPS works, why traders pay for one, what MetaTrader 4 and 5 need, and how to set one up and check its ping.
Cost figures come from our data on 199 providers, updated November 30, 2026. Nothing here is trading advice: a VPS is infrastructure and does not change whether a strategy makes or loses money.
What is a VPS service in forex?
A VPS service in forex, usually called a forex VPS, is a virtual private server, normally running Windows, that hosts a trading platform such as MT4 or MT5 so it stays connected to the broker 24 hours a day. It sits in a data center near the broker's trade server, so orders travel a few milliseconds instead of crossing an ocean from a home PC.
Technically it is an ordinary VPS. What makes it a "forex" VPS is the setup: a Windows Server image, enough RAM for one or more terminals, and a location chosen for the broker. When people ask what is VPS in forex, or what is forex VPS hosting, they mean that combination, rented by the month. The general term is explained in what is a VPS.
How does a forex VPS work?
The terminal runs on the server, not on your computer. Three machines are involved:
- Your PC, phone or tablet, which only displays the server's desktop over Remote Desktop (RDP).
- The VPS, which runs MT4 or MT5, keeps the connection to the broker open and runs the Expert Advisor (EA) on every price tick.
- The broker's trade server, which receives and executes the orders.
How a VPS works in forex trading comes down to one thing: where the program lives. When you close the Remote Desktop window, the session on the VPS keeps running and the EA keeps trading. Your home internet, laptop battery and Windows updates on your own machine no longer matter. If you choose "Sign out" inside the VPS instead of closing the window, Windows ends the session and closes the terminal with it.
Why do traders use a VPS for forex?
Expert Advisors that run 24/5
The forex market trades from Sunday evening to Friday evening (US time) without a break. An EA can only act while its terminal is open and connected, which on a home PC means leaving the computer on all week. The same applies to MQL5 signal subscriptions and trade copiers.
Lower latency to the broker
Latency is the round trip from terminal to trade server and back. Light in fiber covers about 200 km per millisecond, so distance sets a floor that no software can beat. MetaQuotes says its own VPS network reaches 84% of broker servers in under 3 ms, against 100 ms or more from a typical home PC. Lower latency shortens the time between a signal and the order reaching the broker; it does not guarantee a better fill.
Uptime
Data centers have redundant power and network links; a home PC can be knocked out by a power cut, a router reboot or a forced Windows update. See what an uptime SLA covers.
Forex VPS latency: the LD4, NY4 and TY3 hubs
Many retail brokers host their MT4 and MT5 servers in a few Equinix data centers where FX liquidity venues also sit. A VPS in the same building or city typically sees low single-digit milliseconds to the broker.
| Hub | Location | Why it matters for FX |
|---|---|---|
| LD4 | Slough, west of London, UK | FastMatch launched its FX matching engine there in 2013; LMAX is also at Equinix Slough |
| NY4 | Secaucus, New Jersey (New York metro), US | LMAX Exchange runs an FX matching engine linked to NY4 |
| TY3 | Tokyo, Japan | LMAX Exchange launched an FX matching engine there in 2014 |
| SG1 | Singapore | LMAX Group deployed a Singapore matching engine in SG1 in 2022 |
| HK1 | Hong Kong | FX connectivity network FXecosystem opened a point of presence there |
Your broker's support or documentation will tell you which hub hosts your server. Then pick a provider with a data center in London, New Jersey or Tokyo to match. As a rule of thumb from our latency explainer, a VPS on the wrong side of the Atlantic adds 70–90 ms, and Europe to Singapore adds 150–200 ms.
What MT4 and MT5 need on a VPS
MetaQuotes lists Windows 10 and 11 for MT5 and does not publish a RAM or CPU minimum; it says hardware needs depend on how you use the platform. Its operating-system notice sets Windows 7 as the floor for both terminals and strongly recommends 64-bit Windows 10. Forex VPS plans normally ship with a Windows Server image.
| Item | What MetaQuotes says | What our forex ranking uses |
|---|---|---|
| Operating system | Windows 10/11; Windows 7 minimum; 64-bit recommended | Windows Server included or available |
| Linux | Runs through Wine with official scripts (Ubuntu, Debian; MT5 also Mint, Fedora) | Not used for ranking |
| RAM | No published minimum | 2 GB or more |
| CPU and disk | No published minimum | Provider's base plan |
How many terminals fit in 2, 4 or 8 GB of RAM?
MetaQuotes publishes no per-terminal figure, but two reference points exist. MetaQuotes gives each hosted terminal on its own VPS up to 3 GB of RAM and 16 GB of disk. IG's broker VPS for MT4 has 1,300 MB of RAM and allows several MT4 instances on it.
Memory use depends on the number of charts, the history loaded ("Max bars in chart" in the options) and what the EAs do. The reliable method is to measure: start your terminals with their real charts, open Task Manager on the VPS, and read the memory column for terminal.exe (MT4) or terminal64.exe (MT5). Leave headroom for Windows itself. Heavier platforms are a different case; the NinjaTrader VPS ranking starts at 4 GB.
How to set up a forex VPS
This is how to set up forex VPS hosting for MT4 or MT5; it takes about 30 minutes. Your provider sends an IP address, a username (usually Administrator) and a password.
Step 1: Pick a plan near your broker's server
Choose a Windows plan with at least 2 GB of RAM in the city that hosts your broker's server (see the hub table above). Check whether the Windows Server licence is included in the price or billed as an extra.
Step 2: Connect by Remote Desktop
- On Windows, open Remote Desktop Connection; on macOS, iOS or Android, install Microsoft's Remote Desktop client.
- Enter the server's IP address and connect.
- Sign in with the Administrator credentials and change the password.
RDP listens on port 3389. Restricting that port to your own IP in the provider's firewall cuts down brute-force attempts; the RDP explainer covers the rest.
Step 3: Install MT4 or MT5
Inside the VPS, open a browser, go to your broker's website and download its MT4 or MT5 installer. Broker builds come with the broker's server list already filled in. Run the installer and accept the default folder.
Step 4: Log in to your trading account
Open File > Login to Trade Account and enter the account number, password and the exact server name from your broker (for example a "Live" or "Demo" server). "Invalid account" usually means a wrong password or server name.
Step 5: Attach the Expert Advisor
- Open File > Open Data Folder.
- Copy the EA file into MQL4\Experts (MT4) or MQL5\Experts (MT5).
- Right-click Expert Advisors in the Navigator and choose Refresh.
- Double-click the EA or drag it onto the chart of the symbol it trades.
- On the Common tab, tick "Allow live trading" (MT4) or "Allow Auto Trading" (MT5), and set the inputs.
Step 6: Enable AutoTrading and disconnect
Click the AutoTrading button on the toolbar (recent MT5 builds label it Algo Trading). The EA's name and icon appear in the chart's top-right corner; in MT4 the icon is a smiling face when trading is allowed. Close the Remote Desktop window with the X. Do not sign out.
How to check your ping to the broker in MT4 and MT5
The terminal shows its own latency figure in the bottom-right corner of the status bar, in milliseconds, next to the connection indicator. Left-click that indicator to see the broker's servers and choose "Rescan servers" to measure them again; then pick the fastest one.
Compare the VPS figure with your home PC. A VPS in the right hub usually shows low single digits; 70 ms or more suggests it is on another continent from the broker. You can also test from a Command Prompt on the VPS, although some trade servers do not answer ping requests:
ping -n 10 <trade server address>
What does a forex VPS cost?
As of November 30, 2026, 115 providers in our data sell a plan with 2 GB of RAM or more that can run Windows. The cheapest starts at $2.24 a month and the median is $14.00. Those prices include the Windows licence fee where the provider publishes one; on the cheapest plans the licence terms are not always stated. MetaQuotes' built-in VPS costs 15 USD a month, or 10 USD a month on a 12-month plan, but it hosts only the terminal, with no Windows desktop. Some brokers pay for a VPS while you meet a balance or volume target; our guide to free MT4 VPS hosting lists their conditions.
The table shows the top five plans in our best forex VPS ranking, which requires Windows and 2 GB of RAM and favours data centers near LD4, NY4 and TY3:
| # | Provider | Plan | Specs | Price / month | Windows licence |
|---|---|---|---|---|---|
| 1 | LikeVPS | HP Pro | 4 vCPU, 4 GB RAM, 100 GB SSD, unmetered traffic | $13.00 | licence included |
| 2 | Contabo | Cloud VPS 4 | 4 vCPU, 8 GB RAM, 100 GB SSD, unmetered traffic | $6.09 prepaid annually or longer | licence fee extra (not published) |
| 3 | OVHcloud VPS | VPS-1 | 2 vCPU, 4 GB RAM, 40 GB NVMe, unmetered traffic | $4.54 | licence fee extra (not published) |
| 4 | AlphaVPS | P4G Starter | 2 vCPU, 4 GB RAM, 40 GB NVMe, 4 TB traffic | $4.72 prepaid annually or longer | licence terms not published |
| 5 | Shock Hosting | SSD-KVM-2GB | 1 vCPU, 2 GB RAM, 30 GB SSD, 2 TB traffic | $4.99 IPv4 extra | — |
Top 5 of 115 providers in our Best Forex VPS ranking, updated November 30, 2026. Each plan meets the software's published minimum requirements.
For several terminals plus charting or futures software, compare the trading VPS ranking, which asks for 4 GB.
Common forex VPS problems
- "No connection" in the status bar: check the server name, then use Rescan servers.
- The EA is attached but does not trade: AutoTrading is off, the EA's live trading box is unticked, or that market is closed. The Experts and Journal tabs give the reason.
- The terminal was closed the next morning: someone signed out instead of disconnecting, or Windows restarted for updates. Schedule updates for the weekend, when the market is closed, and check the VPS after every restart.
- The EA needs DLL imports: enable "Allow DLL imports" only for code you trust, as MetaQuotes warns.
The risks and limits of a forex VPS
A VPS does not make a strategy profitable. It executes the same logic faster and without breaks, which also means a faulty EA can place many bad orders while nobody is watching. Running a new EA on a demo account first and checking the terminal daily catches most of these problems early.
A VPS adds its own failure points: the provider can have an outage, a weak RDP password invites attacks, and a full disk can stop the terminal from writing history. Your broker's terms still apply, and some brokers restrict certain EA strategies. Forex and CFD trading carry a high risk of losing money.
Do you need a forex VPS?
You need one if an EA, signal or copier must run while your own computer is off, or if your home connection adds tens of milliseconds to every order. Start with a 2 GB Windows plan in your broker's hub, measure memory and ping after a week, and upgrade only if the numbers call for it. The forex VPS ranking lists the qualifying plans with their nearest data centers.
Frequently asked questions
Is a VPS necessary for forex trading?
No. A VPS matters when something has to run while you are away: an Expert Advisor, a copy-trading signal or a trade copier. A manual trader who opens and closes positions at the desk gains little, because the terminal only needs to be online while they are there.
How much RAM does an MT4 VPS need?
MetaQuotes publishes no RAM minimum for MT4 or MT5. Its own hosted terminal gets up to 3 GB, and IG's broker VPS for MT4 has 1,300 MB. Our forex ranking asks for 2 GB; check the terminal's memory in Task Manager and add RAM before Windows starts swapping. See the best forex VPS ranking.
Can I run MT4 or MT5 on a Linux VPS?
Yes, through Wine. MetaQuotes publishes install scripts for Ubuntu and Debian (plus Mint and Fedora for MT5). Windows is still the native platform, and EAs that rely on Windows DLLs may not work under Wine, so a Windows VPS is the safer default.
Does a forex VPS reduce slippage?
It can reduce one cause. A VPS removes the part of the delay that comes from your home connection, which can be tens or hundreds of milliseconds per order. Slippage also depends on market liquidity, news events and the broker's execution model, and a VPS changes none of those.
Can I use the same VPS for NinjaTrader or other platforms?
Yes, if the plan has the resources and the platform runs on Windows. Futures platforms such as NinjaTrader are heavier than one MetaTrader terminal, and CME futures are matched in the Chicago area rather than at the FX hubs, so the NinjaTrader VPS ranking and the trading VPS ranking start at 4 GB of RAM.
Sources
Commands and requirements were checked against these pages on November 30, 2026. Prices and plan tables in the article come from our provider data, updated the same day.
- MetaTrader 5 Help: Platform installation
- MetaTrader 5 Help: Install MetaTrader 5 on Linux
- MetaTrader 4 Help: Install MetaTrader 4 on Linux
- MetaTrader 5 Help: Expert Advisors and Custom Indicators
- MetaTrader 5 Help: Virtual Hosting migration
- MQL5: Available service plans for MetaTrader VPS
- Equinix: FastMatch launches matching engine in Equinix LD4 data center in London
- Equinix: LMAX Exchange launches matching engine in Equinix's Tokyo data center
- Axi: What should I do if MT4 cannot connect?
- IG: MT4 VPS