How to Run Your EA on a VPS: 24/5 Trading Without Keeping Your PC On
Your EA can only trade while MT5 is running. A VPS keeps it online day and night, through power cuts and closed laptops. Here's how to set one up in under 30 minutes.
Here's a question we get all the time on WhatsApp: "Do I really have to keep my computer on all night for the bot to trade?"
Short answer: yes, MT5 must be running for any Expert Advisor to work. Long answer: no, it doesn't have to be YOUR computer. That's exactly what a VPS is for, and setting one up is much easier than most traders think.
What is a VPS, in plain words
A VPS — virtual private server — is simply a computer that lives in a data center and never turns off. You rent it for a few dollars a month, connect to its screen from your own laptop or phone, and use it like any normal Windows PC. You install MT5 on it, attach your EA, and disconnect. The VPS keeps running 24 hours a day, seven days a week, whether your own devices are on or off.
For EA trading this solves every practical problem at once:
- No missed trades because your laptop was closed or asleep.
- No interruptions from load shedding, internet drops or Windows updates at home.
- Stable, fast connection to your broker — data centers have far better internet than home WiFi.
- Your laptop stays free for normal life instead of being a dedicated trading machine.
Why this matters even more for Gold
XAUUSD moves around the clock, and some of the cleanest Smart Money setups form during the late New York session or the Asian session — the hours most of us are asleep. An EA that's offline during those hours isn't really automated; it's semi-automated with random gaps. If you've read our post on why most Gold traders lose, you know consistency is the whole game. A VPS is what makes true consistency physically possible.
There's one more benefit specific to Raees Concept EA: the remote pause feature. You can pause or resume the bot from your dashboard or phone — but the bot has to be online to receive that signal. With a VPS, it always is.
What to look for in a VPS
You don't need anything fancy. MT5 with one EA is a light workload. Aim for:
- Windows VPS — MT5 runs on Windows, so pick a plan with Windows Server included.
- At least 2 GB RAM — enough for one MT5 terminal with room to spare. 4 GB if you plan to run more.
- Location near your broker's server — a VPS in London or New York typically gives a ping under a few milliseconds to most Gold brokers, which means faster execution.
- A known provider — any established name is fine. Plans in the 5 to 15 dollar range are more than enough.
One honest note on the built-in MQL5 VPS you may have seen inside MetaTrader: it's convenient, but it gives you no desktop and limited control. For an EA that uses live license verification like ours, we recommend a full Windows VPS instead — you can see everything, test everything, and fix anything yourself.
Step-by-step setup
The whole process takes 20 to 30 minutes the first time.
Step 1: Rent the VPS
Choose a provider, pick a Windows plan with 2 GB or more RAM, and complete the order. Within a few minutes you'll receive an IP address, a username and a password. Those three things are your new computer.
Step 2: Connect to it
On Windows, open Remote Desktop Connection — it's already installed on every Windows PC. Type the IP address, enter the username and password, and you're in. You'll see a normal Windows desktop, just running somewhere else in the world. On a phone, install the free Microsoft Remote Desktop app and do the same.
Step 3: Install MT5 and log in
Inside the VPS, open a browser, download MT5 from your broker's website, install it and log in with your trading account — exactly as you did on your own computer.
Step 4: Install the EA
Download your EA file from your dashboard (log in to our website from the VPS browser), then place it in MT5 via File, Open Data Folder, MQL5, Experts, and restart the terminal. Open the Gold chart on M15, drag the EA on, enable Algo Trading, paste your license key. Our full setup guide covers every click if you need it.
Step 5: The one setting people forget
In MT5 go to Tools, Options, Expert Advisors, and add our license server URL to the WebRequest whitelist — the same step you did on your home PC. Without it the EA can't verify your license on the new machine.
Step 6: Disconnect and walk away
Close the Remote Desktop window. That's it. Closing the window does NOT turn the VPS off — it keeps running exactly as you left it. Check the chart once a day if you like, from your laptop or phone, the same way you connected the first time.
A quick checklist before you log off
- Smiley face icon visible in the top-right of the chart
- Algo Trading button green
- License status showing ACTIVE on the chart
- Correct symbol (XAUUSD) and timeframe (M15)
- Auto-restart: in your VPS control panel, enable automatic restart of Windows after maintenance, and put MT5 in the Windows startup folder so it relaunches by itself
That last point is worth the two minutes it takes. If the data center ever reboots your server, MT5 comes back online on its own instead of sitting closed until you notice.
The math that makes it obvious
A decent VPS costs about the same as one small losing trade per month. One missed winner — one clean 3 a.m. setup your sleeping laptop never took — costs more than a year of hosting. Once traders see it that way, the decision usually makes itself.
If you get stuck anywhere in the setup, message our support and we'll walk you through it. It's a one-time job — after today, your trading runs whether you're at your desk, at work, or asleep.
Trading involves substantial risk. Only trade with capital you can afford to lose. Past performance does not guarantee future results.