How to Run a Trading Robot 24/5 Using a VPS

Quick Answer

To run a trading robot 24/5 on a VPS, rent a Windows virtual private server located near your broker's trade servers, install MetaTrader 4 or MetaTrader 5 on it, log in with your live or demo account credentials, attach your Expert Advisor to the correct chart with "Algo Trading" enabled, and leave the VPS running continuously from the Sunday market open to the Friday close. A VPS keeps your platform online even when your home computer sleeps, loses power, or drops its internet connection, which matters because a robot can only manage trades, adjust stops, or close positions while its terminal is actually connected. Budget roughly $10-$40 per month for a VPS sized to run one or two charts, choose a data-center location close to your broker to cut execution latency, and verify uptime weekly rather than assuming it "just works."

Automated gold trading only functions when the software is awake, and gold (XAUUSD) can move sharply during Asian, London, and New York sessions alike, which is exactly why traders running an XAUUSD Expert Advisor like Golden Viper EA lean on a VPS instead of a laptop. Below is a practical, step-by-step walkthrough of what a VPS is, how to size and configure one, how to install and verify your platform, and how to avoid the mistakes that quietly break 24/5 uptime.

Why "24/5" Matters for an Automated Gold Trading Robot

The forex and gold spot markets trade nearly continuously from Sunday evening (US time) through Friday afternoon, then close for the weekend. That is where "24/5" comes from: 24 hours a day, five days a week, as opposed to the 24/7 uptime a crypto exchange might need. An Expert Advisor (EA) is only useful while it is connected to a live MetaTrader terminal that is, in turn, connected to your broker's server. If your computer is off, asleep, or offline, the EA is not evaluating price, not opening new trades, and — this is the part traders often overlook — not managing trades it already has open.

Consider a worked example. Suppose your EA opens a XAUUSD position at 9:14 a.m. and is designed to lock in profit once the trade moves a certain distance in its favor, or to apply an optional safety stop if conditions turn against it. If your laptop goes to sleep at noon because you closed the lid, the position is still live at your broker, but nothing on your end is monitoring or adjusting it until you reopen the laptop. In a fast-moving session, that gap could mean the difference between a locked-in gain and an unmanaged loss. A VPS closes that gap because it never sleeps, never loses Wi-Fi when you leave the house, and keeps running through a power outage at your kitchen table.

What a VPS Actually Is (In Plain Terms)

A Virtual Private Server is a remote computer you rent by the month, sitting inside a data center with enterprise-grade power and internet redundancy. You connect to it using Windows Remote Desktop, and once connected, it looks and behaves like any other Windows PC — except it is not the one on your desk. You install MetaTrader 4 or MetaTrader 5 on it exactly as you would locally, following the standard setup described in the MetaTrader 5 terminal documentation, and then you can close your Remote Desktop window and walk away. The platform keeps running on the VPS regardless of whether your own laptop is on.

This distinction matters for automated trading specifically. MetaTrader's automated trading framework is built to run unattended, executing an EA's logic bar by bar without a human clicking buttons. But "unattended" only works if the terminal itself has continuous uptime. A VPS is the piece of infrastructure that makes unattended trading practically possible for a retail trader who has a day job, travels, or simply does not want to leave a home PC running around the clock.

VPS vs. a Broker-Provided VPS

Some brokers offer a free or discounted VPS to clients who meet a minimum trading volume or account balance. These can be a reasonable starting point, but they are usually tied to a single broker account and may come with less control over specs, location, or software installs. An independent VPS from a dedicated hosting provider gives you more flexibility if you ever want to run multiple accounts, switch brokers, or add a second EA later — a topic covered in more depth in our guide to choosing the best VPS for forex EA trading.

Choosing the Right VPS Specs

You do not need a data-center-grade server to run one or two EAs on a handful of charts. What you need is enough RAM and CPU headroom that MetaTrader never lags, and low enough network latency to your broker's trade server that order execution stays tight. The table below outlines three common tiers.

TierRAMvCPUStorageTypical Latency to BrokerApprox. Monthly CostBest For
Entry1-2 GB1 core20-40 GB SSD20-50 ms$8-$151 EA, 1-2 charts, single account
Standard4 GB2 cores60-80 GB SSD5-20 ms$18-$301-3 EAs, multiple charts, one or two accounts
Premium8 GB+4 cores100 GB+ SSD1-10 ms$35-$60Several EAs across accounts, VPS also used for backtesting/optimization

For a single XAUUSD EA trading the H4 timeframe — which by design does not need to react to every tick, since it is evaluating a handful of bars per day rather than scalping — an Entry or Standard tier is typically more than sufficient. You are not running high-frequency logic that needs microsecond execution; you are running a selective, rules-based strategy that places roughly one qualifying setup per day at most. Where Standard or Premium tiers earn their keep is when you plan to run multiple EAs, trade multiple accounts for the sake of diversification across strategies, or use the same box to run backtests before going live.

Server Location and Latency

Pick a data center physically close to your broker's own servers, which are commonly clustered in financial hubs like London, New York, or Equinix facilities in Europe. Latency of 1-20 milliseconds is common when the VPS and broker server sit in the same region; latency can climb past 100ms if you choose a data center on a different continent from your broker, which can widen slippage on fast-moving gold price spikes. Most VPS providers list available regions during signup — match that to wherever your broker's trade servers are hosted, which your broker's account documentation or support desk can confirm.

Step-by-Step: Setting Up MetaTrader on a VPS

Once you have chosen and paid for a VPS plan, the setup process is straightforward and typically takes 20-30 minutes:

1. Connect via Remote Desktop. Your VPS provider emails you an IP address, username, and password. On Windows, open Remote Desktop Connection, enter the IP, and log in. On Mac, use the free Microsoft Remote Desktop app from the App Store.

2. Download and install MetaTrader. Inside the VPS session, download MT4 or MT5 directly from your broker's website, or from the official platform pages, following the installation steps in the MetaTrader 4 help documentation. Run the installer exactly as you would on a local PC.

3. Log in to your trading account. Enter your account number, password, and broker server name (found in your broker welcome email). Confirm the account balance and open positions match what you see when logging in from your own computer.

4. Enable Algo Trading. In the terminal toolbar, click the "Algo Trading" (MT5) or "AutoTrading" (MT4) button so it turns green/active. Without this enabled globally, no EA will place trades regardless of its own settings.

5. Attach your EA to the correct chart and timeframe. Drag the EA from the Navigator panel onto the XAUUSD chart, set it to the timeframe it is designed for, and confirm "Allow Algo Trading" is checked in the EA's own properties window. Review each input carefully — our guide to understanding EA settings walks through what each parameter actually controls, including lot sizing mode and risk level, before you go live.

6. Confirm the smiley-face icon. A small smiling face in the chart's top-right corner means the EA is active and permitted to trade. A sad face or red X means something is disabled — check your Options settings for "Allow live trading" and confirm your broker permits automated trading on that account type.

7. Leave the VPS running. Close the Remote Desktop window (do not shut down the VPS itself) and the terminal keeps running on the remote machine. You can reconnect anytime to check on it.

Verifying the Robot Is Actually Trading 24/5

Setting up a VPS once is not the same as confirming it stays healthy week after week. Build a short weekly check into your routine:

  • Reconnect to the VPS and confirm the terminal is open, logged in, and the Algo Trading button is still green.
  • Check the "Experts" and "Journal" tabs in MetaTrader for connection errors, disabled trading messages, or rejected orders.
  • Compare your MetaTrader trade history against an independent, public verification service such as Myfxbook, which pulls trade data directly from your account through a read-only connection rather than relying on screenshots. Our walkthrough on how to connect MT4 to Myfxbook covers the setup in detail.
  • Confirm the VPS provider's uptime dashboard (most include one) shows no unexpected reboots or maintenance windows during market hours.

This is also the mechanism that keeps a track record honest. Myfxbook's verification process confirms that trades shown publicly actually happened in a real, connected account rather than being typed in after the fact — which is why Golden Viper EA's own live results are published on a verified Myfxbook account (11943038) alongside a verified MQL5 signal, rather than as a claim you have to take on faith.

What Happens If the VPS Goes Down Mid-Trade

No VPS provider guarantees literal 100% uptime — even top-tier data centers schedule occasional maintenance windows, and outages, while rare, do happen. It helps to understand what actually occurs to an open position if your VPS briefly disconnects.

Orders you have already placed with your broker — including any stop-loss or take-profit levels attached to them — live on the broker's server, not on your VPS. So if your connection drops for ten minutes, an existing stop-loss still protects the position; what stops working is any dynamic management the EA would have performed in that window, such as trailing a profit-lock level higher as price moves favorably. For an EA like Golden Viper that applies a profit-lock mechanism plus an optional safety stop on live positions, a short outage mid-trade is a manageable inconvenience, not a catastrophic one, provided the position already had protective levels in place before the disconnect. This is one more reason to choose a reputable VPS host with a published uptime track record rather than the cheapest listing you can find.

VPS Cost vs. EA Cost: A Worked Break-Even Example

Traders sometimes hesitate at "one more monthly bill" on top of an EA purchase. It's worth actually running the numbers rather than guessing. The table below compares a Standard-tier VPS ($20/month) against a one-time EA license cost, amortized across a few common holding periods.

Time HorizonVPS Cost (@ $20/mo)Golden Viper EA LicenseCombined TotalEffective Monthly Cost
1 month$20$199 (one-time, lifetime)$219$219.00
6 months$120$199 (already paid)$319$53.17
12 months$240$199 (already paid)$439$36.58
36 months$720$199 (already paid)$919$25.53

Because the Golden Viper EA license is a one-time $199 payment covering both MT4 and MT5 for life — not a recurring subscription — the only ongoing cost in this picture is the VPS itself. Note the effective monthly cost falls sharply the longer you run it, since the license cost is fixed and only gets divided across more months. Traders who prefer not to run a full VPS at all, or who want to sample the strategy at low commitment first, can instead follow the signal through the MQL5 signals marketplace for $30/month, which copies trades into a connected account without requiring you to host and manage a terminal yourself. Whichever path you choose, our guide on how much it costs to start EA trading breaks down the fuller budget picture including broker minimums.

Common Mistakes That Quietly Break 24/5 Uptime

Most "why did my EA stop trading" problems trace back to a handful of repeat offenders:

Windows updates rebooting the VPS unexpectedly. Set automatic updates to install outside your typical active trading window, and check back afterward to confirm MetaTrader relaunched and reconnected.

Terminal set to auto-close after inactivity. Some VPS images have power-saving or screen-lock settings that can interfere with background processes. Disable sleep/hibernate entirely on a trading VPS.

Broker server maintenance not accounted for. Most brokers run brief weekend maintenance windows; this is normal and expected, not a fault in your setup.

Multiple EAs conflicting on magic numbers. If you run more than one EA on the same account, each should use a unique identifier so the platform doesn't mismanage the wrong trade.

Ignoring the Journal tab. Connection drops, rejected orders, and permission errors all get logged. A five-minute weekly glance catches problems before they compound. If something looks off, our troubleshooting guide for common EA problems walks through the most frequent fixes.

Underpowered VPS tier for the number of charts/EAs running. If Task Manager on the VPS shows near-100% RAM or CPU usage, upgrade a tier rather than letting the terminal lag.

Security, Scams, and Red Flags to Watch For

Automated trading attracts its share of bad actors, and a legitimate VPS setup is a good moment to also sharpen your scam radar. The CFTC's guidance on forex fraud and its specific advisory on automated trading system scams are worth reading in full, but the short version is this: be skeptical of any EA seller promising guaranteed profits, "no-risk" trading, or unverifiable results shown only as screenshots. The FTC's overview of investment scams echoes the same warning signs across asset classes.

Practical due diligence for any EA — including this one — should include checking whether the track record is independently verified (not just claimed), whether the seller discloses realistic risk rather than only upside, and whether the pricing model is transparent. No legitimate automated trading system, run on any VPS, eliminates the possibility of losing trades; treat any seller claiming otherwise as a red flag rather than reassurance.

VPS vs. Running the Robot on Your Own PC

It is technically possible to run an EA on a home desktop that you simply never turn off. In practice, that approach struggles to match a proper VPS on the dimensions that matter for consistent 24/5 execution.

FactorHome PC (always on)Dedicated VPS
Power outage resilienceTrading stops until power returnsData center runs on redundant power/generators
Internet outage resilienceTrading stops until ISP reconnectsData center runs on redundant network links
Latency to broker serverOften 50-150+ ms depending on home ISP/locationAs low as 1-10 ms when co-located near broker
Electricity cost of 24/5 uptimeOngoing, often unnoticed household costIncluded in monthly VPS fee
Risk from OS updates/reboots interrupting tradesHigh if not configured carefullyLower; VPS images are typically tuned for uptime
Travel/laptop-lid-closed riskTrading pauses whenever the PC sleepsUnaffected by your own device's state

None of this means a home PC can never work — some traders do run EAs successfully from a desktop that never sleeps and sits on a stable connection. But the failure modes above are exactly the kind of silent, unglamorous problems that erode a strategy's real-world performance versus its backtested one, which is a large part of why VPS hosting has become close to standard practice for anyone serious about automated gold trading with tight spreads and consistent execution.

Putting It Together: A Realistic Weekly Routine

Once the initial setup is done, ongoing maintenance for a 24/5 VPS-hosted EA is genuinely light. A realistic routine looks like this: Sunday evening, confirm the terminal reconnected after the weekend broker maintenance window and Algo Trading is enabled. Midweek, a quick glance at the Journal tab and your Myfxbook-linked statement to confirm trades are logging normally. Friday afternoon, note the week's closed trades and any drawdown, understanding that drawdown — the peak-to-trough decline in account equity — is a normal part of any trading strategy's equity curve rather than a sign something is broken, a concept explained further in our own piece on what drawdown really means for EA traders. None of this requires babysitting the terminal all day; it requires a disciplined five-to-ten-minute check a few times a week.

Risk Disclosure

Trading gold, forex, or any leveraged instrument carries real risk, and losses are possible even with a rules-based, automated strategy running reliably on a VPS. A properly configured 24/5 VPS setup improves execution consistency and uptime; it does not eliminate market risk, and past results — verified or otherwise — do not guarantee future performance. Apply sound risk management principles, size positions according to your own risk tolerance, and only trade with capital you can genuinely afford to lose.

Frequently Asked Questions

Do I need a VPS to run an EA, or can I just leave my computer on?

You can technically leave a home computer on, but a VPS is far more reliable because it lives in a data center with backup power and redundant internet, isn't affected by your household Wi-Fi dropping, and typically sits closer to your broker's servers for lower latency.

How much does a VPS for forex/gold EA trading typically cost?

Most retail-focused VPS plans suitable for one or two EAs run between $10 and $30 per month, depending on RAM, CPU, and how close the data center is to your broker. Heavier setups running multiple EAs or accounts can run $35-$60 per month.

Does "24/5" mean the market never closes at all?

No — forex and spot gold trading runs continuously from the Sunday evening market open through the Friday afternoon close (US time), then pauses over the weekend. "24/5" describes that five-day continuous window, not a literal seven-day market.

What happens to my open trades if the VPS temporarily disconnects?

Any stop-loss or take-profit levels already attached to an order remain active on your broker's server even if your VPS briefly disconnects, since those orders don't depend on your terminal staying open. What pauses is any further dynamic management the EA would perform, such as adjusting a profit-lock level, until the connection is restored.

Can I run more than one EA on the same VPS?

Yes, provided the VPS has enough RAM and CPU headroom and each EA uses a distinct magic number so the platform doesn't confuse which trades belong to which strategy. Many traders use a Standard or Premium VPS tier specifically to support multiple EAs or accounts.

Does Golden Viper EA require a VPS to work?

A VPS isn't a strict requirement to install the EA, but it is strongly recommended for consistent 24/5 uptime, since the EA can only manage its H4-timeframe XAUUSD trades — including its profit-lock and optional safety stop — while the terminal is connected and running.

How do I verify an EA's results are real and not fabricated?

Look for an independently verified track record, such as one published through Myfxbook's verification system, which links directly to a live trading account rather than relying on submitted screenshots. Golden Viper EA's results are published this way on a verified Myfxbook account alongside a verified MQL5 signal.

Is a cheaper, farther-away VPS still good enough?

It depends on the strategy. For a selective, H4-timeframe approach that isn't scalping every tick, moderate latency (even 50-100ms) is unlikely to meaningfully change outcomes. For faster, tick-sensitive strategies, latency matters much more, and choosing a data center near your broker becomes important.

What's the difference between running the EA myself on a VPS versus using the MQL5 signal?

Running the EA yourself on a VPS means you own and control the license outright for a one-time $199 fee covering both MT4 and MT5 for life. Following the $30/month MQL5 signal instead copies trades into your account without you hosting or managing a terminal, which suits traders who want a lower-commitment way to sample the strategy first.

Who do I contact if I run into setup issues?

Support is available via Telegram at @viprasol_help, WhatsApp at +31 6 84795250, or by email at support@goldenviperea.com for questions on installation, VPS configuration, or EA settings.

Myfxbook Verified

Automate Your Tutorials Edge

+€1,485Net · 6-mo (verified)
56%Win Rate (51/91)
24/5Automated
Starting at $199 one-time
Get Lifetime Access →
✓ Instant download✓ Full feature access✓ MT4 & MT5 compatible
NB

Nathan Brooks

Nathan Brooks writes about MetaTrader 4/5, Expert Advisors, and automated XAUUSD gold trading for Golden Viper EA.

Myfxbook VerifiedLive since Jan 2026Public track record

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