How to Keep an EA Running 24 Hours Without Your PC
To keep an EA running around the clock without leaving your own computer on, you move the MetaTrader terminal off your desktop and onto a forex VPS (Virtual Private Server), a remote machine in a data center near your broker's servers that stays powered on continuously. You install MT4 or MT5 on that VPS, attach the EA with automated trading enabled, and log in remotely from your phone or laptop only when you want to check on it. A basic forex-grade VPS runs roughly $15-$40 a month, takes under an hour to set up the first time, and takes your home internet, power outages, and sleep schedule out of the equation for a strategy that's supposed to trade around the clock on an H4 gold pair like XAUUSD.
In This Guide
- Why Your EA Stops the Moment You Turn Off Your PC
- The Three Realistic Ways to Run an EA Without Your Own PC
- What a Forex VPS Is and How to Choose One for a Gold EA
- Step-by-Step: Moving Your EA From Your PC to a VPS
- What a VPS Actually Costs and When It Pays for Itself
- Common Mistakes That Break "24-Hour" Setups Even on a VPS
- Monitoring an EA You Can't See in Front of You
Anyone who has closed a laptop lid at 11 p.m. and then wondered whether the Expert Advisor was still watching the 4-hour gold candle it needed for confirmation already understands the problem this article solves. An EA is only as reliable as the machine underneath it, and a home PC makes a poor host for round-the-clock trading. It sleeps. It reboots for updates in the middle of the night. Your ISP drops for ten minutes during a storm, and your household routine was never built around a chart that never closes. What follows is a practitioner-level walkthrough of keeping an EA online 24 hours a day, or more precisely 24/5 during forex market hours, without leaving your own computer running: the cost math, the setup steps, and the mistakes that quietly undo "always-on" trading for people who assume they've already solved it.
Why Your EA Stops the Moment You Turn Off Your PC
An Expert Advisor is not a cloud service, it's a piece of software running inside your MetaTrader terminal, and the terminal only executes while the machine underneath it is powered on, connected to the internet, and logged into your broker. Close the laptop and the terminal suspends. Windows pushes an update and reboots overnight, and MetaTrader doesn't relaunch itself. The router drops for a few minutes during a storm, and the terminal loses its connection to the trade server. In every one of these cases, the EA simply stops watching the market. It doesn't queue up missed signals or catch up later. For a strategy that looks for a specific, relatively rare setup (Golden Viper, for instance, evaluates a single H4 gold candle at a time and typically takes at most one trade a day), a few missed hours aren't a rounding error. They can be the exact window the strategy was built to catch.
This is why "keep an EA running without my PC" is such a common search in the first place. Traders discover, usually the hard way, that a strategy running only while they happen to be at their desk isn't actually running full-time. The fix isn't a better home router or a bigger UPS battery. It's removing your home hardware from the equation entirely.
The Three Realistic Ways to Run an EA Without Your Own PC
Only three real paths keep MetaTrader executing trades once you've stepped away from the computer, and they aren't equally good.
1. A Forex VPS (the standard solution)
A Virtual Private Server is a remote computer, usually running Windows Server, that you rent by the month. You install MT4 or MT5 on it exactly as you would on a home PC, attach your EA, and then disconnect. The VPS keeps running in a data center regardless of whether your laptop is open, asleep, or off. It's the approach almost every serious EA trader eventually lands on, and it's covered step by step later in this article and in more depth in a dedicated VPS setup walkthrough.
2. A Dedicated "Always-On" Home PC
Some traders repurpose an old laptop or mini PC, plug it into ethernet, disable sleep and automatic updates, and leave it running in a closet around the clock. This works, technically, but it inherits every weakness of a home internet connection and a home power grid, and most residential ISPs don't guarantee uptime the way a commercial data center does.
3. Copy Trading a Verified Signal (No Terminal Required)
Rather than running the EA yourself at all, you can subscribe to a verified signal on the MQL5 Signals marketplace, which mirrors trades into your MT4/MT5 account automatically whenever your terminal is connected. Note that this still requires your own terminal to be online to receive the copied trades, so it solves the strategy-execution problem but not the uptime problem, not unless it's also paired with a VPS.
For most traders asking this exact question, option one is the real answer, which is why the rest of this guide focuses on doing it correctly.
What a Forex VPS Is and How to Choose One for a Gold EA
Why a Forex VPS Isn't the Same as Generic Cloud Hosting
A forex-specific VPS differs from a generic cloud server, a basic web hosting VPS, say, in three ways that matter for EA trading. It's usually located in the same data center campus as your broker's trade servers, which cuts execution latency to single-digit milliseconds. It comes pre-configured with a Windows desktop environment, so MetaTrader installs and runs exactly as it would locally. And reputable forex VPS providers guarantee uptime specifically around market hours, with monitoring built for trading workloads rather than general web traffic. You can technically install MT4 or MT5 on any Windows VPS, including a generic cloud provider, but latency and reliability guarantees are usually worse there, and support staff won't understand terminal-specific problems.
Latency matters more than most beginners assume. The MetaTrader 5 terminal documentation covers how the platform connects to a broker's trade server, and the shorter that round trip, the closer your fill price lands to the price the EA saw when it generated the signal. That matters for a fast-moving instrument like gold, which can move several dollars in the seconds around a news print.
Comparing VPS Tiers for a Single-Symbol EA
Not every VPS plan is adequate for running a single EA on a single chart, though you don't need an enterprise-grade server either; you just need certain minimums. The table below compares typical VPS tiers marketed to retail EA traders.
| VPS Tier | Typical RAM | Typical Monthly Cost | Good For | Watch-Outs |
|---|---|---|---|---|
| Entry / Micro | 1-2 GB | $8 - $15 | One EA, one symbol (e.g., XAUUSD only) | Can lag if you also run charts, indicators, or a second EA |
| Standard | 2-4 GB | $15 - $30 | One EA plus MT4/MT5 monitoring tools, VNC access | Sweet spot for most single-strategy traders |
| Broker-Provided Free VPS | Varies | $0 (conditional) | Traders who meet a broker's minimum-volume or equity requirement | Often revoked if trading volume drops; read the fine print |
| Premium / Low-Latency | 4-8 GB | $35 - $60+ | Multiple EAs, multiple symbols, scalping strategies | Overkill and unnecessary cost for a single selective H4 strategy |
For a strategy like Golden Viper (one EA, one symbol, one H4 timeframe, with no martingale or grid stacking that would open dozens of simultaneous positions), a Standard tier VPS is comfortably enough. You're paying for uptime and connectivity, not raw computing power. A detailed provider-by-provider comparison, including specs and pricing snapshots, is available in this forex VPS comparison for EA traders.
Location Matters
Pick a VPS data center in the same region as your broker's servers (commonly New York, London, or Equinix locations in Europe or Asia). Most VPS providers list which data centers they offer during signup. Choose the one closest to your broker's own server location, not the one closest to your home address.
Step-by-Step: Moving Your EA From Your PC to a VPS
Most traders get this done in 30 to 60 minutes the first time through. Here's the process, step by step.
Step 1: Rent the VPS
Sign up for a Windows VPS plan sized per the table above. You'll receive an IP address, username, and password for Remote Desktop Protocol (RDP) access.
Step 2: Connect via Remote Desktop
On Windows, open "Remote Desktop Connection," enter the VPS IP address, and log in with the credentials provided. On Mac, use the free Microsoft Remote Desktop app from the App Store. Once you're connected, you'll see a full Windows desktop running remotely, much like sitting in front of another machine.
Step 3: Install MetaTrader
Inside the VPS desktop, download MT4 or MT5 directly from your broker's website, not a third-party mirror, following the standard installation steps outlined in the MetaTrader 4 platform help or the equivalent MT5 documentation. Log in with your live or demo account credentials.
Step 4: Install and Attach the EA
Copy your EA file (.ex4 for MT4, .ex5 for MT5) into the terminal's Experts folder using the VPS's file transfer tool, restart the terminal, then drag the EA onto an XAUUSD H4 chart. Confirm "Algo Trading" (MT5) or "AutoTrading" (MT4) is enabled; the button should show green, not red. Reference the official MQL5 documentation if you need to double-check any input parameter's behavior before going live.
Step 5: Configure Risk Settings Once, Then Leave It Alone
Set your lot-sizing mode and risk tier (Conservative, Normal, or Aggressive, in Golden Viper's case) before you walk away. This isn't something you want to be adjusting remotely from a phone screen at 2 a.m. If you're unsure what each input actually controls, a plain-language walkthrough of typical parameters is covered in this EA settings guide.
Step 6: Enable "Allow Automated Trading" and Disconnect
Close the Remote Desktop window; don't shut down the VPS itself. Closing your RDP session leaves the VPS and terminal running. Your EA now keeps trading independent of whether your own PC, phone, or internet connection is on.
Step 7: Check In, Don't Babysit
Reconnect via RDP (or a lightweight monitoring app) once or twice a day to confirm the terminal is still connected and the EA's smiley-face icon is showing in the chart corner. Think of it as a check-in, not supervision. The entire point is that the strategy runs whether or not you're looking.
What a VPS Actually Costs and When It Pays for Itself
A common hesitation is treating a $20-$30 monthly VPS bill as a pure expense rather than infrastructure. It helps to run the numbers against what downtime actually costs a selective strategy like this one.
| Scenario | Monthly VPS Cost | Annual VPS Cost | Missed Setups From PC-Only Uptime (est.) | Approx. Annual Cost of Missed Setups* |
|---|---|---|---|---|
| Laptop on 8 hrs/day, closed overnight | $0 | $0 | ~30-40% of H4 candles never monitored | Highly variable — potentially several missed trades/month |
| Entry VPS, always on | $12 | $144 | Near 0% (barring rare outages) | Minimal |
| Standard VPS, always on | $22 | $264 | Near 0% | Minimal |
*This column is illustrative, not a projection. Actual missed-trade cost depends entirely on market conditions and can't be guaranteed in either direction; trading involves risk, and past patterns don't predict future results. The point of the table is directional: a $12-$22 monthly VPS is a small, fixed, predictable cost, while running an EA only part-time introduces an unpredictable, and potentially larger, cost in missed or half-monitored setups. For a strategy that trades gold selectively rather than constantly, one properly captured setup a month can offset a year of VPS fees many times over. A losing month can happen too, of course, which is exactly why position sizing and risk management, not uptime alone, determine outcomes. For more on sizing decisions once your EA is reliably online, see this guide to how much capital to start EA trading with.
Common Mistakes That Break "24-Hour" Setups Even on a VPS
Moving to a VPS solves the biggest problem, but traders still sabotage their own uptime in predictable ways.
- Shutting down instead of disconnecting. Closing the RDP window is fine; clicking "Shut Down" inside the VPS session turns the whole server off. Always disconnect, never shut down.
- Letting Windows auto-restart for updates mid-session. Set the VPS's Windows Update to notify-only or scheduled restart during a window when you can manually confirm the terminal relaunches (or use your provider's terminal auto-restart tool if offered).
- Running multiple EAs or charts "just to see" on a micro-tier VPS. This can slow execution enough to cause requotes or delayed order sends. Keep the VPS lean and dedicated to the one strategy it's actually running.
- Forgetting to re-enable AutoTrading after a terminal update. MetaTrader occasionally resets the AutoTrading toggle after an update; a quick daily check catches this before it costs you a missed setup.
- Not verifying broker server maintenance windows. Weekend server maintenance can briefly disconnect the terminal even on a well-run VPS, and that's normal, not a VPS failure.
Many of these same failure modes, plus fixes for the ones specific to EA behavior rather than hosting, are catalogued in this troubleshooting guide for common EA problems.
Monitoring an EA You Can't See in Front of You
Once your EA is running on a VPS instead of your desk, the natural next question is how you confirm it's actually behaving as expected without staring at RDP all day. Two practical habits cover this:
Connect a Verified Tracking Account
Link your live account to a third-party verification service such as Myfxbook so you can check open trades, equity, and history from your phone browser without opening a full Remote Desktop session. Myfxbook's own verification process is also the standard way legitimate track records get authenticated in this industry, and it's worth understanding regardless of which EA you run, since it's the same mechanism behind any publicly verified live track record, including Golden Viper's own published Myfxbook history. If you haven't linked an account before, the process is walked through in this MT4-to-Myfxbook connection guide.
Set Broker or Terminal Alerts
Most brokers and MT4/MT5 itself support push notifications or email alerts on trade open/close. Configure these once so a phone notification tells you a trade happened, rather than needing to log in proactively.
VPS vs. Home PC vs. Signal Copying: Side-by-Side
To make the trade-offs concrete, here's a direct comparison of the three approaches covered earlier.
| Method | Uptime Reliability | Monthly Cost | Setup Effort | Best For |
|---|---|---|---|---|
| Forex VPS | High (data-center grade) | ~$12-$30 | Moderate, one-time (~30-60 min) | Anyone serious about running an EA continuously |
| Dedicated home PC | Moderate (depends on ISP/power) | $0 direct, but electricity + hardware wear | Low, but ongoing maintenance | Testing/demo phases, not live capital long-term |
| Verified signal copy (MQL5) | Depends on your own terminal's uptime unless paired with a VPS | Varies by signal provider | Low | Traders who want the strategy's results without configuring the EA themselves |
Notice that signal copying doesn't actually eliminate the uptime problem by itself. Your receiving terminal still has to be connected to mirror trades in real time, which is why many signal subscribers also run their receiving MT4/MT5 on a VPS. If diversification across strategies interests you more than running one EA in isolation, this comparison connects naturally with running multiple EAs at once.
Broker Compatibility and Where a VPS Fits Into Your Overall Setup
A VPS doesn't change which broker or account type you need. It just relocates where the terminal physically runs. Before committing to a VPS provider, confirm your broker allows algorithmic or EA trading on your account type (nearly all do for standard live and demo accounts), and that the broker's trade server region matches or sits close to your VPS's data center. If you're still choosing a broker for gold-specific EA trading, spreads and execution quality on XAUUSD vary meaningfully between brokers, which is covered in this guide to brokers for gold EA trading. Getting the broker-VPS pairing right the first time avoids a second migration later.
Security, Scams, and Red Flags to Avoid
Running unattended, always-on software is exactly the kind of setup scammers exploit, so a few honest safeguards matter here. Never give VPS or MetaTrader login credentials to anyone claiming to "manage" your account remotely; legitimate EA vendors do not need your broker password. The CFTC's forex fraud resources and its specific advisory on automated trading system fraud both warn about products promising guaranteed returns or "hands-off" profits. Treat any such claim, VPS-hosted or not, as a red flag, since no EA, including Golden Viper, can promise guaranteed profits or eliminate risk. The FTC's overview of common investment scams is also worth a read before subscribing to any signal service or VPS "bundle" that seems to include unrelated financial promises. In practice, that means using a VPS provider with two-factor authentication on your account, choosing a strong RDP password, and never reusing your broker's password for the VPS login itself.
A Short, Honest Risk Disclosure
Keeping an EA running 24 hours a day increases how consistently a strategy gets monitored. It doesn't change the underlying risk of trading. Gold is a volatile instrument, and automated execution can still produce losing trades, drawdowns, and periods of underperformance regardless of uptime. Past results, including any publicly verified track record, don't guarantee future performance. Understanding concepts like drawdown and general risk management principles matters just as much as uptime does; see this deeper explanation of how drawdown works and why it matters for context before increasing position size just because your EA is now always online. Only trade with capital you can afford to lose, and treat a VPS as infrastructure for consistency, not a substitute for sound risk settings.
Frequently Asked Questions
Do I need a VPS to run an EA, or can I just leave my PC on all the time?
You can technically leave your PC on continuously, but home internet and power are less reliable than a commercial data center, and most people's PCs periodically reboot for updates or sleep. A VPS is the more dependable choice for truly unattended, 24/5 operation.
How much does a forex VPS typically cost?
Entry-level plans suitable for running a single EA on a single symbol like XAUUSD typically run $12-$20 a month, with more capable plans in the $20-$35 range. Some brokers also offer a free VPS if you meet a minimum trading volume or equity threshold.
Will my EA keep trading if I close my laptop after connecting to the VPS?
Yes. Once the EA is running on the VPS and you disconnect your Remote Desktop session (without shutting the VPS down), the terminal keeps executing on the remote server independent of your own laptop's power or internet state.
Can I run Golden Viper EA on both MT4 and MT5 from the same VPS?
Yes. A single Golden Viper license covers both MT4 and MT5, so you can install whichever platform your broker supports (or both) on the same VPS and attach the EA to an XAUUSD H4 chart on either terminal.
What happens if my VPS provider has an outage?
Reputable forex VPS providers publish uptime guarantees, typically 99.9% or higher, and most send status alerts during any outage. Choosing an established, forex-focused provider, rather than the cheapest generic cloud host, significantly reduces this risk, though no hosting provider can promise zero downtime.
Do I need to check on my EA every day if it's on a VPS?
You don't need to actively manage it daily, but a quick daily or every-other-day check (via Remote Desktop or a linked Myfxbook account) confirms the terminal is connected and AutoTrading is still enabled, which takes under a minute once it's part of your routine.
Is copying a signal on MQL5 an alternative to running the EA myself on a VPS?
It's related but not identical. Signal copying via MQL5 Signals mirrors another account's trades into yours, but your own receiving terminal still needs to be online to receive them, which is why many signal subscribers still run their receiving terminal on a VPS for the same uptime reasons.
Can I access my VPS from my phone to check on the EA?
Yes. Most VPS providers offer a mobile Remote Desktop app, and pairing your account with a Myfxbook-style verified tracking link lets you check open trades and equity from any phone browser without a full RDP session.
Does a faster or more expensive VPS make an EA more profitable?
No. A more powerful VPS improves latency and stability, which matters for execution quality, but it does not change a strategy's underlying edge or guarantee better results. For a selective, single-symbol H4 strategy, a standard-tier VPS is generally sufficient.
Is it safe to give a VPS or hosting provider my MetaTrader login?
You'll need to log into your broker account within your own MetaTrader terminal on the VPS, and that's something only you should do directly. Never share your broker password with a third party claiming to set this up "for" you remotely; it's a common vector for account takeover.
Let Golden Viper EA trade gold for you
Automated XAUUSD trading for MT4 & MT5, verified live on Myfxbook. One-time $199, lifetime access.
Get Lifetime Access — $199