A forex VPS is a remote computer you rent to keep MetaTrader running around the clock. Its main job is to keep an Expert Advisor (EA) working when your own computer, power or internet can't. It can also shorten the network delay to your broker, which helps strategies that are sensitive to delay. A VPS doesn't add liquidity, so it can't remove slippage, and it doesn't reduce market risk. A strategy that loses money on your computer will lose money on a VPS too.
Below we cover what a VPS is, who needs one, what it changes in order execution, what uptime figures really mean, how to choose one and how to move an EA safely. If you are new to this, the first two sections are enough to decide. The rest is for traders already running EAs.
What Is a Forex VPS?
VPS stands for virtual private server. A provider splits one physical server into several virtual computers, and you rent one of them. It runs in a data centre with its own power and internet connection, and you connect to it from your computer or phone. MetaTrader runs there instead of at home.

To see why this matters, look at what runs where when you trade in MetaTrader 4:
| What | Where it runs | If your computer goes off |
|---|---|---|
| Stop loss, take profit | Broker's server | Keep working |
| Trailing stop | Your terminal | Stops moving, the last level stays |
| Expert Advisor | Your terminal | Stops: no new trades, no management of open ones |
So an EA trades only while MetaTrader is open and connected. A power cut, an internet drop, a Windows update or a laptop that goes to sleep stops it, sometimes with trades still open. The same goes for a trailing stop.
Do You Need One?
It depends on what would happen if your terminal stopped for a few hours:
| Your situation | Do you need a VPS? |
|---|---|
| Manual trades with a stop loss and take profit | Usually not: both sit on the server |
| An EA that trades rarely, on a computer that stays on | Optional: a VPS is a backup for outages |
| An EA that runs all week or manages open trades | Often yes: a stop can leave trades unmanaged |
| A scalping EA or many trades on small timeframes | Often yes: compare the delay first |
Set the cost against your account. With an invented fee of $20 a month, a VPS costs $240 a year. That is 24% of a $1,000 account and 2.4% of a $10,000 account, before the EA has made anything. On a small account, a stable home computer may be the better choice.
What a VPS Changes in Order Execution
Two things separate your click from your fill: the time an order needs to arrive, and how much liquidity is there when it does. A VPS can only work on the first one, and only on part of it. It shortens the path between your terminal and the broker's server. What happens after the order gets there doesn't change.
| Cause of a worse fill | Can a VPS help? |
|---|---|
| Long network path to the broker | Yes, if the server is closer |
| Slow or overloaded home computer | Often, if the VPS has enough resources |
| Broker's own processing time | No |
| Thin liquidity around news | No |
| Spreads widening at rollover | No |
| Weekend gap past your stop | No |
MetaTrader's own help says lower network latency gives better conditions for execution, such as less slippage and fewer requotes. That is fair, but less isn't none. Slippage still happens on a VPS, above all in the fast markets where it costs most. Claims that a VPS protects you from slippage, or that orders placed on one fill instantly, don't hold. For what slippage is and how the execution types work, see slippage and order execution in forex.
How much the delay matters depends on the strategy. The same cost takes a very different share of different trades:
| Average trade before costs | After 1 pip of slippage | Share lost |
|---|---|---|
| 30 pips | 29 pips | about 3% |
| 5 pips | 4 pips | 20% |
| 2 pips | 1 pip | 50% |
Simple arithmetic, for illustration. The 1 pip isn't what a VPS saves: it shows why a thin edge is sensitive to any execution cost.
So a daily-chart system gains little from a few milliseconds, while a scalper may gain more, or may still find the edge too thin. The more trades and the smaller the timeframe, the more each delay counts. A VPS also won't make live results match a backtest: a tester can't show how much liquidity was really there on a given day. Our guide on testing advisors in MT4 covers the tester itself.
How to Measure the Delay
Measure it, because a VPS sold as "low latency" tells you little about the path to your own broker.
- Check from home. In MT4, click the connection indicator in the bottom right corner of the terminal: it lists the broker's servers with the ping in milliseconds.
- Check from the VPS. Log in to the same account, with no EA running there yet, and read the same figure. Compare at the hours your EA trades.
- Compare your fills. If you keep a log of requested and filled prices, compare the average slippage before and after the move.
MetaTrader's built-in hosting shows the comparison for you: the delay from your computer and from the hosting server to the broker. We give no ping target, because none is official, and what is enough depends on your strategy.
What 99.9% Uptime Really Means
Uptime is the share of time a server is running. It sounds close to perfect, but the remainder is real time:
| Uptime | Possible downtime per year |
|---|---|
| 99.5% | about 44 hours |
| 99.9% | about 8.8 hours |
| 99.99% | about 53 minutes |
Our calculation: the remaining share × 8,760 hours.
So a VPS reduces outages and doesn't end them. Ask whether planned maintenance counts towards the figure, and how you will find out about a restart. An EA that was down during a restart may have missed a trade, so keep your stop loss on every position: it sits on the broker's server either way.
How to Choose a Forex VPS
There are two common routes. Which one fits depends on your EA:
| MetaTrader built-in hosting | General Windows VPS | |
|---|---|---|
| Setup | Rented from inside the terminal | You install MetaTrader yourself |
| Moving an EA | Migration copies charts and EAs | You copy files and set it up |
| Local EA | Autotrading is switched off for you | You must stop it yourself |
| Limits | No DLL calls, scripts aren't moved | Those of the Windows plan you rent |
| Changes | Sync again after each change | Change it on the server |
Check DLL use before choosing built-in hosting: an EA that calls a DLL stops with an error there, so ask the EA's seller or read its manual. Whichever route you take, look at these points:
- Location. Pick a server close to your broker's server, and confirm it with the ping test above. If you can't tell where that is, ask your broker's support.
- Uptime. Read how the provider counts it, as above.
- Resources. Each terminal, chart and EA uses memory and processor time. On a shared physical server, a plan that is too small can slow your terminal down at the busiest moments.
- Cost and terms. Monthly plans let you test a provider without committing. Check how renewal works, so the server doesn't stop when a period ends.
The broker matters more than the VPS: execution starts on its side. See how to choose a broker.
Moving an EA to a VPS
- Stop the EA at home. Two copies of one EA on one account can double every trade. MetaTrader's migration switches off autotrading in the local terminal for this reason. On a general VPS nothing does that for you, so don't turn it back on later.
- Copy the settings exactly. Use the same inputs, chart and timeframe, and check the EA's licence allows the new setup. Keep your original settings file.
- Set MetaTrader to start automatically. After a server restart, the terminal has to come back without you. Then check that AutoTrading is on.
- Read the logs after restarts. The Experts and Journal tabs show what the EA did and any errors.
- Watch processor and memory use. Close charts you don't need, especially around busy hours.
Treat the VPS as a computer you are responsible for. It has no built-in immunity to malware or stolen passwords: use a strong, unique password, turn on two-factor sign-in where the provider offers it, and install only what you need.
FAQ
Do I need a VPS to run an Expert Advisor?
Not always. An EA trades only while MetaTrader is running and connected, so you need a computer that stays on during trading days. If yours can't, or if a stop of a few hours would leave trades unmanaged, a VPS is the usual answer.
Does a VPS stop slippage?
No. A VPS can reduce the delay between an EA and the broker's server, which helps a latency-sensitive strategy. It doesn't change the liquidity available in the market, so orders can still slip, especially around news.
Can a VPS improve my EA's results?
It can remove losses caused by outages and reduce some delay costs. It can't give a strategy an edge it doesn't have, and it doesn't reduce market risk. Its fee is also a cost, which matters on a small account.
Is 99.9% uptime good enough?
It is a common figure, but it still allows about 8.8 hours of downtime a year by our calculation. Ask whether maintenance is counted, keep a stop loss on every trade, and check the logs after any restart.
Can I run the same EA at home and on a VPS?
Not on the same account at the same time, as two copies can double every trade. MetaTrader's built-in migration switches off autotrading in the local terminal. On a general VPS you have to stop the home copy yourself.
The Bottom Line
- A forex VPS is a rented remote computer that keeps MetaTrader running.
- EAs and trailing stops need a running terminal. Stop loss and take profit don't.
- A VPS can shorten the delay to your broker. It can't remove slippage, because it adds no liquidity.
- 99.9% uptime still allows about 8.8 hours of downtime a year.
- After you move, stop the EA at home. Two copies on one account can double every trade.
- It reduces outages and some delays. Market risk stays where it was.
Thinking about automated trading for the first time? Start with how automated forex trading works or our step-by-step guide to start trading.
Sources: MetaTrader 4 Help, Virtual Hosting: Migration and Trailing Stop; MetaTrader 5 Help, Virtual Hosting: Server. Calculations and the fee example are our own.
This article is educational and is not investment advice. Trading leveraged products involves risk of loss.