PipWardenStart free

Do you need a VPS for your EA? Home PC, Mac and VPS compared

Do you need a VPS for your EA? Home PC, Mac, MetaQuotes hosting or a Windows VPS compared: costs, when latency matters, and what stops when MT5 goes offline.

Key takeaways

  • An EA only runs while the MT5 desktop terminal it is attached to is open, awake and online. A VPS is one way to keep it that way, not a requirement.
  • Stop loss and take profit orders sit on the broker’s server and stay active with the terminal off; trailing stops, breakeven and partial closes run in the terminal and stop with it.
  • For an H1 strategy, spread and slippage usually weigh more than a few milliseconds of latency; low latency matters mainly for scalping and news trading.
  • As of September 2026, MetaQuotes hosting lists $10-15 a month and forbids DLLs; one large cloud provider lists $22-44 a month for a Windows server with 2-4 GB of RAM.
  • Run an EA for one account in one terminal at a time, or two copies can act on the same signals.
On this page
  1. The one requirement: the terminal must be running
  2. Option 1: your home Windows PC
  3. Option 2: MetaQuotes Virtual Hosting
  4. Option 3: a Windows VPS
  5. Moving the EA from your PC to a VPS
  6. Option 4: a Mac
  7. Does latency matter for your strategy?
  8. Decision table: home PC, Mac or a VPS for your EA
  9. How PipWarden handles uptime and outages

You need a VPS for your EA only if you cannot keep a computer running MetaTrader 5 whenever the EA should trade, or if your strategy is fast enough that milliseconds to the broker matter. An Expert Advisor runs inside the MT5 desktop terminal, so that machine has to stay on, awake and online through the trading week. A home PC can do that; a VPS, a rented Windows computer in a data centre, takes the job out of your home.

This page has no affiliate links. It compares four options, including paying nothing for hosting, on cost, effort and what fails when.

The one requirement: the terminal must be running

An EA reads prices and sends orders only while the terminal it is attached to is open and connected to your broker. Close MT5, let the PC sleep or lose the internet connection, and the EA stops trading. The MT5 mobile app cannot take over, because it cannot run EAs at all (more on that).

What survives while the terminal is off depends on where each order lives:

Where it lives Examples With the terminal off
The broker’s server Stop loss, take profit, pending orders Still active
Your terminal Trailing stop, breakeven, partial close, “virtual” stops kept by the EA, new entries Stopped

MT5’s help says this about the platform’s own trailing stop: it “is executed in the trading platform rather than on the server (like Stop Loss or Take Profit)”, so it does not work while the platform is off. The last stop level it set stays at the broker; it just stops moving.

That makes one design choice matter more than any hosting decision: whether your EA places a real stop loss on the broker’s server with every order. Some EAs keep hidden or virtual stops in the terminal instead; when that terminal goes down, those positions have no stop at all.

A server-held stop does not promise the exact price either. In a fast market or over a weekend gap it can fill worse than its level, which is slippage.

The forex market trades around the clock from Sunday 17:00 to Friday 17:00 New York time, and that is the uptime your setup has to cover. The forex market hours tool shows the sessions in your time zone.

Option 1: your home Windows PC

A desktop you already own costs nothing extra to try and stays under your control. It needs a runbook, because Windows is built to sleep, update and restart. On Windows 11:

  1. Turn off sleep. Go to Settings → System → Power & battery → Screen, sleep, & hibernate timeouts and set “Make my device sleep after” to Never when plugged in (Microsoft). The screen can still turn off; sleep and hibernation are what stop the EA.
  2. Plan for update restarts. Settings → Windows Update → Advanced options → Active hours. Automatic restarts after updates happen outside active hours, which can be at most 18 hours long (Microsoft Learn), so a PC left on 24/5 will still restart now and then. One way to control it is to install updates and restart by hand at the weekend, while the market is closed.
  3. Sign in automatically. MT5 is a desktop program, so after a restart it runs only once someone is signed in. Microsoft’s free Sysinternals Autologon signs a chosen account in at startup. Its page warns that anyone with administrator rights can retrieve the stored password, although it is encrypted, so it belongs only on a machine you control.
  4. Start MT5 on sign-in, with a delay. In Task Scheduler, choose Create Task. Under Triggers, add one with “Begin the task: At log on” and tick “Delay task for” (1 minute, for example), so the network is up before MT5 starts. Under Actions, choose “Start a program” and point it at terminal64.exe in your MT5 installation folder (MT5 help).
  5. Check after every restart. MT5 saves open charts in the current profile, so it normally reopens the chart with the EA on it. Confirm that the Algo Trading button is green (what that button does) and that the EA reports itself as connected.

What no runbook removes: power cuts, internet outages, router restarts, and someone using or switching off the PC. A small UPS (a battery backup) covers short power cuts, not a dead internet line.

The running cost is electricity.

Option 2: MetaQuotes Virtual Hosting

MetaQuotes, the company behind MT5, rents a hosted copy of the terminal from inside the platform. Log in to the trading account, right-click the account in the Navigator and choose Register a Virtual Server. You need an MQL5.community account to rent one (MT5 help).

As of September 2026, the MQL5 price page lists $15 a month on a one-month plan, down to $10 a month on a 12-month plan, with a 24-hour free trial, “more than thirty hosting points” and up to 3 GB of RAM allocated on demand.

The registration window picks the hosting point closest to your broker and compares two delays: from that server to the broker, and from your own terminal to the broker. It shows what your home connection measures before you pay anything.

It works by migration: your local terminal’s setup is copied to the hosted one, which has no desktop of its own. From MetaQuotes’ migration help and hosting rules:

  • Charts with an EA are copied with their EAs, indicators and inputs; charts without an EA are ignored. “Synchronization is always a one-direction process”, so you change an input locally and migrate again.
  • If the EA uses WebRequest, the function an EA uses to talk to web servers, allow it and list the addresses in Tools → Options → Expert Advisors before you migrate.
  • “DLL calls are completely forbidden in the virtual platform.” An EA that calls a DLL is stopped with a critical error.
  • Automated trading is always on in the hosted terminal and is switched off in your local one when you migrate EAs, so the two copies do not trade the same account through the same EA.
  • Paid hosting takes up to 32 charts, one rented terminal serves one trading account, and accounts with one-time password authentication cannot be used.
  • Cancelling after the first 24 hours brings no refund; the unused time is credited to your MQL5 account as free minutes for a new server (MT5 help).

You manage it from your local terminal: Toolbox → VPS shows the server’s data and its Terminal and Experts journals.

For PipWarden: the EA uses no DLLs and talks to the platform through WebRequest, which the hosting allows. We have not yet tested it end to end on MetaQuotes hosting, so it is not a supported setup today.

Option 3: a Windows VPS

A Windows VPS is a rented Windows computer in a data centre. You connect to its desktop with Remote Desktop, install MT5 exactly as on a PC (step-by-step guide) and leave it running. Unlike MetaQuotes hosting, it runs anything Windows runs, DLLs and other programs included.

What to check:

  • Location. A region near your broker’s trade servers keeps the delay short. If the broker’s site does not say where its MT5 servers are hosted, ask.
  • Size. Trading-focused providers often describe plans by how many terminals they run. One describes its entry plan, 4 GB of RAM and 2 cores, as enough for “1-3 trading platforms” (as of September 2026).
  • The same runbook. A VPS restarts too, for Windows updates and maintenance. Automatic sign-in and a delayed MT5 start work there as they do at home.
  • Disconnect, do not sign out. Closing the Remote Desktop window disconnects you and leaves MT5 running. Signing out closes your programs, MT5 included.

Prices as listed on each provider’s page as of September 2026. These are examples, not recommendations:

Option RAM Per month Per year
MetaQuotes hosting (price page) up to 3 GB on demand $10-15 $120-180
General cloud Windows server (AWS Lightsail) 2 GB $22 $264
General cloud Windows server (AWS Lightsail) 4 GB $44 $528
Trading-focused Windows VPS (ForexVPS.net entry plan) 4 GB €36 list €278.40 on yearly billing, with a promotion

Some brokers pay for a client’s VPS in return for a minimum trading volume, and MetaQuotes hosting has a “Sponsored” plan, paid by the broker, where the broker offers it. As of September 2026, one broker’s VPS page asks for 15 lots a month in forex and metals for its entry tier and cancels the VPS after two consecutive months below that. A volume target is an incentive to trade more, and a quiet month for your EA is the month the hosting lapses.

Moving the EA from your PC to a VPS

Run an EA for one account in one terminal at a time: two copies see the same signals and positions, so they can open duplicate trades or modify each other’s orders. PipWarden refuses a second terminal that starts the EA with the same token while the first is running: its chart shows “Another MetaTrader terminal is already running the EA for this account” and it opens no trades. Once the VPS copy is attached and waiting, remove the EA from the PC, and the VPS copy connects on its own within about half a minute. Open positions keep their stop loss and take profit at the broker throughout.

Option 4: a Mac

A Mac has three routes to MT5:

  1. MetaQuotes’ Mac installer. It runs MT5 inside Wine, a compatibility layer for Windows programs, supports Apple processors from M1 on and needs macOS Catalina 10.15.7 or later (MT5 help). Whether a given EA behaves the same under Wine is something to test on demo.
  2. A Windows virtual machine. On an Apple silicon Mac this means Windows 11 on Arm, which runs x64 Windows programs through emulation.
  3. A Windows VPS, reached with Microsoft’s Windows App, which replaced the Remote Desktop client for macOS.

The first two share the home PC’s problems and add one: a MacBook sleeps. On a laptop, System Settings → Battery → Options → “Prevent automatic sleeping on power adapter when the display is off” stops that while plugged in; on a desktop Mac, it is “Prevent automatic sleeping when the display is off” under System Settings → Energy (Apple). A MacBook in a bag runs no EA.

For PipWarden: the EA is supported on a Windows PC and a Windows VPS. The macOS build of MT5 runs through a compatibility layer and is not supported for the EA, so on a Mac the supported route is a Windows VPS, with the Mac used to connect and watch.

Does latency matter for your strategy?

Latency is the delay between your terminal and the broker’s trade server. MetaQuotes advertises 0-5 ms from its hosting, against network delays “from 100 ms” for a regular terminal (MQL5). Those milliseconds cost you only if the price moves while the order is on its way, so they matter more the more often you trade and the smaller your targets.

Compare them with what you pay on every trade, the spread and slippage:

For an hourly (H1) strategy that places a handful of orders a week, spread and slippage usually matter more than whether an order took 5 ms or 100 ms to arrive. For scalping (trades aiming at a few pips), news trading or anything else with small targets, a server close to the broker makes a measurable difference.

PipWarden is not a scalper: it acts on closed candles, on timeframes from M15 to D1 (new accounts start on H1), and the EA rechecks the live spread against your limit for the pair, if you set one, right before opening. Milliseconds of network latency are not its bottleneck.

Decision table: home PC, Mac or a VPS for your EA

Home Windows PC Mac MetaQuotes hosting Windows VPS
Suits Slower strategies, not scalping Slower strategies, not scalping Any, scalping included Any, scalping included
Budget per year Electricity Electricity, plus software if you use a VM $120-180 About $260-530 in the examples above
Technical comfort Windows settings, Task Scheduler Wine or a VM, sleep settings Least setup: migrate from MT5 Remote Desktop, same runbook as a PC
Uptime depends on Your power and internet Your power, internet and the Mac staying awake A data centre A data centre
How you watch the EA Its chart Its chart Journals in Toolbox → VPS Its chart, over Remote Desktop
EAs that need DLLs Yes Depends on Wine or the VM No Yes

Still unsure? One way to decide is to run the EA on a demo account at home for two weeks and count how often it went offline.

How PipWarden handles uptime and outages

Our setup guide calls a Windows VPS close to your broker’s servers the most reliable option for 24/5 operation; a home PC that stays on works too. Wherever it runs, what matters is knowing when it stops.

The terminal is off or cut off (PC asleep, VPS restarted, MT5 closed, internet down). The table at the top applies. The EA reports to the dashboard every few seconds; when those reports stop for more than 90 seconds, the dashboard marks the account Offline and, while the bot is running, sends an “Expert Advisor offline” alert by email or Telegram, depending on your alert settings. A PC that fell asleep overnight shows as Offline within minutes, not at your next look at the chart.

The kill switch closes positions through the running EA, so it cannot close anything while the terminal is down. If the terminal goes offline while the kill switch still has positions to close, the alert says so, and the fix is to start MT5 with Algo Trading on or close the positions yourself.

MT5 is fine, but PipWarden’s server is unreachable. The EA keeps managing open positions on its own: breakeven, trailing and partial close run inside MT5, and every stop is already at the broker. After a few minutes without contact, it stops opening new trades until the connection is back. The features page lists the risk controls that are checked before every order.

If the terminal is running but the EA still does not trade, the cause is usually a setting, not the hosting: see why an EA is not taking trades.

Forex and CFD trading is high risk, and you can lose money. This guide explains hosting options and is not financial advice.

Frequently asked questions

Do I need a VPS to run an EA?
No. You need a computer that keeps the MT5 desktop terminal running and online whenever you want the EA to trade, which for forex means 24 hours a day, 5 days a week. A home Windows PC with sleep turned off can do that. A VPS is the usual answer when your PC cannot stay on, or when your strategy needs low latency.
Does MT5 need to be open for the EA to work?
Yes. An EA runs inside the terminal it is attached to, so with MT5 closed, asleep or offline it neither opens nor manages trades. Stop loss and take profit orders already at the broker still work; trailing stops and breakeven run in the terminal and stop with it.
What happens to my trades if my VPS disconnects?
Open positions stay open at the broker with their stop loss and take profit, which the broker’s server still executes, though not always at the exact level in a fast market or over a gap. Everything the EA does itself stops until the VPS is back: new entries, trailing, breakeven and partial closes.
Is MetaQuotes VPS worth it compared with a Windows VPS?
It depends on the EA. As of September 2026, MetaQuotes hosting lists $10-15 a month, against $22-44 at one large cloud provider for a 2-4 GB Windows server. It forbids DLLs, has no desktop you can log in to, and runs only what you migrate from your own terminal. PipWarden has not yet been tested end to end on it, so for PipWarden the supported choices are a Windows PC or a Windows VPS.
Can I run an EA on a Mac?
MetaQuotes has a Mac installer that runs MT5 inside Wine, and a Windows virtual machine is another route; test any EA on a demo account before relying on either, and keep the Mac awake. PipWarden supports Windows and a Windows VPS only, so on a Mac you connect to a Windows VPS with Microsoft’s Windows App.
Can I run the same EA on my VPS and my home PC?
Not on the same account at the same time: two copies see the same signals and can open duplicate trades. MetaQuotes switches off automated trading in your local terminal when you migrate an EA to its hosting for this reason, and PipWarden refuses a second terminal that uses the same token while the first one is running.

Educational content, not financial advice. Forex and CFDs are traded on margin and are high risk: you can lose money, and more than your deposit with some brokers. Examples use made-up numbers and show no real results. Read the risk disclosure.