VPS for MT5 Expert Advisors: Setup Basics for Beginners
A VPS keeps your MT5 Expert Advisor running when your PC is off, but it does nothing for the strategy. Learn the decision test, the setup steps for both routes, and how a flat VPS fee sits on top of your per-lot costs.
This article
8sections 15min
- 01 What You'll Learn, minute 2, about 1 min
- 02 Do You Need a VPS for Your MT5 Expert Advisor?, minute 2, about 2 minYou need one if your EA must trade around the clock and you cannot rely on a PC that is always on and connected. Three questions then tell…
- 03 How Do You Test MetaQuotes Virtual Hosting With the Free Trial?, minute 4, about 2 minRent nothing until you have used the free 24-hour trial on an EA that already behaves correctly on a demo account. The trial is your…
- 04 How Do You Set Up a VPS for MT5 Step by Step?, minute 7, about 2 minFor MetaQuotes hosting, you migrate your terminal in six steps from the desktop client. For a Windows VPS, you rent a 64-bit plan, connect…
- 05 How Much Does an MT5 VPS Cost Compared With Your Trading Costs?, minute 9, about 3 minMetaQuotes hosting is cheaper but limited, and a Windows VPS costs more but does more. Either way, the VPS fee is flat and separate from…
- 06 What Should You Check After Migration, and Which Mistakes Cost the Most?, minute 11, about 1 minCheck the logs and the trades first, then guard against the handful of mistakes that cost real money.
- 07 Conclusion, minute 13, about 1 minA VPS only removes the home-PC point of failure. The three-question test (DLLs, several accounts, other software) picks the route. The free…
- 08 Frequently Asked Questions, minute 14, about 1 minYou need one if your EA must keep trading while your PC is off or offline. An MT5 EA only trades while its terminal is running and…
A VPS for MT5 Expert Advisors is a remote computer that stays on, so your EA keeps trading when your PC is off or your Wi-Fi drops. MetaQuotes Virtual Hosting runs one terminal, and its press release listed USD 15 for one month. A VPS does not improve the strategy.
Imagine your EA is halfway through a basket of trades when your laptop goes to sleep at 2 a.m. The terminal disconnects and nothing manages those positions until you wake up. That one gap is the whole reason a VPS exists. Below you will work out which kind you need, test it cheaply, set it up, and see how its cost compares with your trading costs.
What You'll Learn
- Do You Need a VPS for Your MT5 Expert Advisor?
- How Do You Test MetaQuotes Virtual Hosting With the Free Trial?
- How Do You Set Up a VPS for MT5 Step by Step?
- How Much Does an MT5 VPS Cost Compared With Your Trading Costs?
- What Should You Check After Migration, and Which Mistakes Cost the Most?
- Frequently Asked Questions
Do You Need a VPS for Your MT5 Expert Advisor?
You need one if your EA must trade around the clock and you cannot rely on a PC that is always on and connected. Three questions then tell you which type to rent.
What a VPS does (and does not) fix
An MT5 EA only trades while the terminal is running and connected. A VPS is a remote machine that stays on, so the EA keeps running when your PC is off, your Wi-Fi drops or your laptop sleeps.
That is all it fixes. A VPS does not make a weak strategy better, does not remove slippage and does not change market risk. If your EA loses money at home, it will lose it from a data centre too, just more reliably.
A decision test: DLLs, several accounts, other software
Ask these three questions in order:
- Does the EA need DLLs? If yes, MetaQuotes Virtual Hosting is out. You need a Windows VPS.
- Do you need several terminals, several accounts or a trade copier? A full Windows VPS can run several terminals and copiers. MetaQuotes hosting runs one terminal for one account.
- Does the EA need any other software? Virtual Hosting has no desktop and runs nothing else.

If you answered no three times, Virtual Hosting is probably enough.
Matching the route to the EA
A simple MQL5 EA on one account suits Virtual Hosting. Anything needing DLLs or extra software needs a Windows VPS. If you run several EAs on one account, read how magic numbers keep their orders separate before you move them.
The two routes at a glance:
- MetaQuotes Virtual Hosting: rented inside the desktop MT5 client; one terminal, one account; no desktop, no DLLs, no other software; cheaper.
- Windows VPS from an independent provider: a remote Windows desktop; several terminals, commercial EAs with DLLs and trade copiers; you maintain it; usually costs more.
Pro Tip: If you are unsure, start with the free MetaQuotes trial in the next section. It costs nothing and tells you quickly whether your EA fits.
How Do You Test MetaQuotes Virtual Hosting With the Free Trial?
Rent nothing until you have used the free 24-hour trial on an EA that already behaves correctly on a demo account. The trial is your cheapest dry run.
Rental rules and the 24-hour trial
Per the MQL5.com hosting rules (as of December 2026), rental needs a registered MQL5.com account and the user must be 18 or older. It can only be done through the desktop MetaTrader client on a PC. An MT5 account needs an MT5 virtual terminal.
Each registered user gets a free trial of 1,440 minutes (24 hours), usable in parts, per the hosting rules. The same page lists up to 32 EAs on paid hosting and 16 on free hosting.
Pre-flight: demo test before you migrate
Before migrating, confirm that AutoTrading is on and that the EA opens and closes trades correctly on a demo account. If you have not set up the terminal yet, the guide to installing MT5 on Windows covers the first login. Remember that demo quotes are not identical to live trading, so demo proves the logic, not the fills.
Using the trial as a low-cost dry run
During the trial, watch two things:
- Does the EA open and close trades the way it does locally?
- Does the Journal stay free of errors?
Because the minutes can be used in parts, you can test for a few hours, adjust and come back. For illustration, a 6-hour test on Monday and an 18-hour test later in the week would use the full 1,440 minutes.
Warning: The most common beginner mistake is renting before testing on demo. You then pay for hosting while debugging an EA that was never ready.

How Do You Set Up a VPS for MT5 Step by Step?
For MetaQuotes hosting, you migrate your terminal in six steps from the desktop client. For a Windows VPS, you rent a 64-bit plan, connect by Remote Desktop and install MT5 yourself.
MetaQuotes hosting: the six migration steps
- Install MT5 on a PC and log in to your trading account.
- Add your MQL5.community login in the terminal settings. The terminal prompts you if none is set (MetaTrader 5 Help).
- Attach the EA to a chart, confirm AutoTrading is on and check that it trades correctly on demo.
- Right-click the account in the Navigator, choose Register a Virtual Server and pick the nearest or lowest-latency hosting point.
- Choose what to migrate (chart, EA and settings) and start the migration.
- Check the Journal and the Experts tab on the VPS for errors.
Pro Tip: Re-migrate whenever you change EA inputs. The VPS copy does not update itself, so your local tweak is not live until you push it.
Full Windows VPS: plan, connect, install
Choose a 64-bit Windows plan. A workable minimum is 1 vCPU and 2 GB RAM, and 4 GB handles two to three terminals with moderate EA loads.
Then:
- Connect by Remote Desktop.
- Install MT5 from your broker and log in.
- Load the EA and enable algo trading.
- Disconnect without closing the terminal. Closing it stops the EA.
Keeping a Windows VPS healthy
A Windows VPS is a computer you now administer. Windows updates and reboots are your job, so set a restart routine and check the EA after each one. Use a strong password and keep the system patched, because a remote desktop open to the internet is a target.
How Much Does an MT5 VPS Cost Compared With Your Trading Costs?
MetaQuotes hosting is cheaper but limited, and a Windows VPS costs more but does more. Either way, the VPS fee is flat and separate from your per-lot cost.
VPS price ranges and the per-account rule

MetaQuotes listed USD 15 per month for one month. Longer terms are reported to step down to about $13 a month for three months, $10.83 for six and $10 for twelve. The main hosting page and the plans page have shown different prices, so check the live price in the terminal before renting.
Independent Windows VPS plans commonly run about $15 to $50 a month; check the provider's own page. Each account needs its own MetaQuotes subscription, so three accounts cost three times the price.
Flat VPS fee vs per-lot cost
A VPS fee does not change your trading costs. A low-volume EA may not justify an expensive VPS. A high-frequency EA pays commission and spread on every trade, so strategy and costs matter more than hosting. If you want to see how the pieces combine, read about calculating all-in cost per lot.
Worked example on EUR/USD with NX Flex terms
NX Flex lets you set commission and spread terms, and change them while the account is flat, with no open positions or pending orders. Swap-free is available on every combination. The dollar-per-pip figures below apply to EUR/USD only.
- NX One's terms: $6 commission plus 0.5 pips, about $11 all-in per round-turn lot.
- NX Pro's terms: $5 commission plus the raw market spread.
For illustration, say your EA trades 40 lots a month on NX One's terms. Trading cost: 40 × $11 = $440. Add a $15 VPS: $455 total, or about $11.38 per lot. Now imagine a slower EA trading 4 lots on a $30 VPS: 4 × $11 = $44, plus $30 = $74, or $18.50 per lot. The VPS fee dominates the low-volume case.
To test other terms against your own volume, see the NX Flex backtest cost settings for EA traders and explore NX Flex. No FXNX-specific VPS policy is stated, so check the FXNX website or support. Trading CFDs involves risk of loss, and a VPS does not change market risk.
What Should You Check After Migration, and Which Mistakes Cost the Most?
Check the logs and the trades first, then guard against the handful of mistakes that cost real money.
Post-migration checklist
- Journal and Experts tab: no errors.
- Trades match what the EA does locally.
- Re-migrate after every input change.
- Note the renewal date.
Mistakes that cost money
- Renting before demo testing.
- Forgetting to re-migrate after changing inputs.
- Assuming a VPS fixes slippage or a bad strategy.
- Ignoring broker server latency. Pick the location nearest the broker server.
- Leaving a Windows VPS unpatched or on a weak password.
- Running more terminals than RAM allows.

Also know how renewal works. Auto-renewal uses the card you paid with, and if the card fails, the fee is charged to your MQL5 account balance. If you cancel, unused time is credited to your MQL5 account (MetaTrader 5 Help, as of December 2026).
Monitoring and a kill switch
A VPS hides your EA from view, so plan a way to see it and stop it. Set up remote monitoring and a kill switch, such as a way to disable AutoTrading or close the terminal remotely. Test it once while you are calm, not for the first time during a bad trade.
Conclusion
A VPS only removes the home-PC point of failure. The three-question test (DLLs, several accounts, other software) picks the route. The free 24-hour MetaQuotes trial is the cheapest dry run, and the post-migration checklist plus re-migrating after input changes keeps the VPS copy honest.
Remember that a flat VPS fee sits on top of per-lot costs, and for a busy EA the commission and spread terms matter more than hosting. NX Flex lets you set those terms and adjust them later when the account is flat. For VPS questions, check the FXNX website or support.
Your next step: run the decision test, start the trial on a demo-tested EA, then price your monthly lots on EUR/USD at NX Flex before you commit to a plan. Trading CFDs carries risk of loss.
If your EA ran flawlessly all month, would you know whether it was your strategy or your costs deciding the result?
Frequently Asked Questions
Do I need a VPS for MT5 Expert Advisors?
You need one if your EA must keep trading while your PC is off or offline. An MT5 EA only trades while its terminal is running and connected, and a VPS keeps that terminal on.
Can MetaQuotes Virtual Hosting run an EA that uses DLLs?
No. Virtual Hosting runs one terminal with no desktop, no DLLs and no other software. An EA that needs DLLs needs a full Windows VPS.
Is there a free trial for MT5 VPS hosting?
Yes. Each registered MQL5.com user gets a 24-hour (1,440-minute) free trial of MetaQuotes Virtual Hosting, usable in parts (MQL5.com, as of December 2026).
Do I need to re-migrate after changing EA inputs?
Yes. The VPS copy does not update itself, so re-migrate after every change to inputs.
How much RAM does a Windows VPS for MT5 need?
A workable minimum is 1 vCPU and 2 GB RAM. A 4 GB plan handles two to three terminals with moderate EA loads.
Trading CFDs involves risk of loss; better terms do not change market risk.
Contents
