5.3 VPS: let the robot run around the clock
A robot only trades as long as the platform it runs in is open and connected to the internet. If you switch off your PC, it goes to sleep, or Windows restarts after an update, the robot stops – perhaps in the middle of a trade. The solution is a VPS.
What is a VPS?
VPS stands for virtual private server. It is a computer you rent in a data centre. It is on around the clock, has stable power and a fast internet connection, and you connect to it from your own PC or phone.
In plain words
Think of a VPS as a PC you have lent to a data centre. It never sleeps, never runs out of power, and sits right next to the broker’s servers. You install MetaTrader or cTrader on it just as on your own PC – and then you can switch off your own machine.
Why use a VPS?
- The robot never stops. It also runs at night, at weekends and when you are travelling.
- Faster order execution. A VPS near the broker’s servers gives a short delay (latency) – often under 5 milliseconds, against 30–100 ms from an ordinary home PC.
- Less risk of interruptions. Data centres have backup power and several internet lines.
- Your own PC is free. You can use it for other things without disturbing the robot.
If you do not use robots but trade manually, you usually do not need a VPS. Stop loss and take profit are held by the broker and work even when your PC is off.
Three options
| Option | How it works | Suits |
|---|---|---|
| Built into MetaTrader | MetaQuotes offers a virtual server straight from MT4 and MT5. You copy the robot and its settings over with a few clicks | Most MetaTrader users |
| Free VPS from the broker | Many brokers offer a free VPS if you have a certain balance or trade a certain volume | Active traders |
| Your own Windows VPS | You rent a server from a VPS provider and install everything yourself | Those who want full control or run several platforms |
In cTrader, newer versions can run cBots in the cloud directly from the platform. Check what your broker offers.
What to look for
- Location: Choose a data centre near the broker’s servers – often London or New York. Ask the broker where the servers are.
- Latency (ping): Under 10 ms is good, under 5 ms is very good. You can see the latency at the bottom right in MetaTrader.
- Windows: MetaTrader and cTrader for PC require Windows.
- Enough memory: 2 GB of RAM is enough for one or two platforms. If you run more, you need more.
- Uptime: Look for a guarantee of at least 99.9%.
- Price: Usually around 10–30 dollars a month. Check whether the broker offers it for free.
Good habits
- Run the robot in one place only. If it runs both on your PC and on the VPS, you can get twice as many trades.
- Check that “Algo Trading” is switched on after every restart.
- Follow along from your phone. Set up notifications in the MetaTrader or cTrader app, so you are told about trades and errors.
- Read the log regularly for error messages and disconnections.
- Security: Use a strong password and two-factor login, and do not install programs you do not need.
Try it yourself
Open MetaTrader on demo and look at the bottom right: how many milliseconds is the latency from your own PC? Then find out whether your broker offers a free VPS, and what the requirements are.
Key takeaways
- A VPS is a rented computer in a data centre that lets the robot run around the clock.
- Choose a data centre near the broker’s servers, with low latency and high uptime.
- Run the robot in one place only, and keep an eye on notifications and the log.
65% of retail investor accounts lose money when trading CFDs with this provider.