Guides · 2026-10-27 · 6 min read
Running Your PrimeBot on a VPS: Why Traders Use One and How to Set It Up
A trading bot only trades while MetaTrader is running. How a VPS keeps your PrimeBot online around the clock through power cuts, restarts and travel — and how to set one up step by step.
An Expert Advisor only works while MetaTrader 5 is open and connected. Close the laptop, lose the internet, or let the computer sleep, and the bot stops with it — which means it can miss the trade it was built to take. That is why many bot owners run their PrimeBot on a VPS, a virtual private server: a computer in a data centre that stays online around the clock, so the bot keeps running even when your own computer is off.
A VPS is a small Windows computer rented by the month, sitting in a professional data centre with backup power and a fast, stable internet connection. You connect to it from your own computer or phone with a remote desktop app, and it looks and behaves like an ordinary Windows desktop. You install MetaTrader 5 on it, attach your PrimeBot, and then disconnect — the VPS keeps running, and so does the bot.
Why traders use one for a bot
- Power cuts and load shedding: your home power can fail, but a data centre has generators. The bot never notices.
- Internet drops: a home connection can drop for minutes at a time, exactly when a trade is managed. A data centre connection is far more stable.
- Laptop sleep and restarts: a laptop that sleeps, updates or restarts overnight stops the bot. A VPS does not sleep.
- Travel: you can check the bot from your phone from anywhere, without carrying a laptop that must stay on.
Setting it up, step by step
- Choose a Windows VPS with at least 2 GB of RAM, ideally in a data centre near your broker server location, so the connection between the VPS and the broker is as fast as possible.
- Connect with the remote desktop app, download MetaTrader 5 from your broker, and log in to the same account your PrimeBot license is locked to.
- Copy the PrimeBot file into the MQL5 and Experts folder, attach it to the chart, tick Allow Algo Trading, and load the recommended settings.
- Check the Experts and Journal tabs for errors, then disconnect from the remote desktop without logging off or shutting down — disconnecting leaves everything running.
- Check in once a day from your phone or computer. A VPS still needs a human eye: updates, broker maintenance and the occasional restart are part of owning a bot.
What a VPS does not do
A VPS changes where the bot runs, not how it trades. It does not improve a strategy, reduce risk, or guarantee any result — it simply removes the downtime that comes from running a bot on a home computer. It also costs a small monthly fee, separate from the bot itself, so compare providers on uptime and support rather than picking the cheapest option and hoping. If you are unsure about any step, message PrimeBot support on WhatsApp with a screenshot of where you are stuck, and mention that you are setting up a VPS: the setup help that comes with your license covers exactly this, and a bot that runs on a stable VPS with the right settings is a bot whose results reflect the strategy and your risk choices, not a power cut nobody saw coming.
Trading involves risk, including the possible loss of capital. This article is educational and is not financial advice. Always test any strategy or Expert Advisor on a demo or cent account first.
See the PrimeBot Trading Bots