Basics7 min read

What Is a Forex VPS? Choosing One and Setting Up EAs on MT5

Do you want to run an EA but worry about leaving your home PC on 24 hours a day, or struggle to choose a VPS?

In short, a VPS is the basic choice for an EA you do not want to stop. But signing up is not the end, and you still need to check on operation.

This article covers how a VPS works, the difference from Virtual Hosting, how to choose, setup steps, security and operation checks.

Key takeaways

  • A VPS is Windows on the cloud that runs 24 hours a day, suited to those who do not want their EA to stop.
  • The four criteria are distance to the broker's server, memory, OS and monthly cost.
  • Even after setup, check the logs weekly and the state of the AutoTrading button.

In short: a VPS is the basic choice if you do not want your EA to stop

  • A VPS is a service that rents you Windows on the cloud that runs 24 hours a day
  • A home PC tends to stop your EA through power outages, sleep and connection drops
  • The criteria are distance to the broker's server, memory, OS and monthly cost
  • Even after signing up, check the logs weekly and check the AutoTrading button

What is a forex VPS? How it differs from a home PC

What is a forex VPS? How it differs from a home PC

A VPS (virtual private server) is your own Windows prepared on a provider's server. Even if you turn off your PC, MT5 on the VPS keeps running.

An EA runs only while MT5 is open and connected to the internet. On a home PC, it can stop for reasons like these.

  • A power outage or tripped breaker turns the PC off
  • Sleep or a restart from an automatic update closes MT5
  • A problem with your home connection or router drops the internet
  • You shut the PC down on days you take it out, or for cleaning

Home PC vs VPS vs Virtual Hosting

There are broadly three places to run an EA: your home PC, a general VPS, and the standard MT5 Virtual Hosting.

A comparison of general tendencies. Costs and specifications differ by provider, so check each official page.
ItemHome PCVPSVirtual Hosting
Where it runsYour own PCWindows on a rented cloudA dedicated MetaQuotes server
24-hour operationWeak against outages and sleepLess likely to stopLess likely to stop
CostElectricity and equipmentMonthly feeMonthly fee
FlexibilityHighHigh (you can use Windows freely)Limited to what MT5 synchronizes
Management effortPC maintenance neededWindows updates and checks neededLess

What is MT5 Virtual Hosting?

Virtual Hosting is a feature from MetaQuotes, the developer of MT5. It synchronizes the EAs and settings on your device to a dedicated server and runs them there.

To see the operation log after synchronization, right-click Virtual Hosting in the Navigator and choose "Journal". It is a separate record from the "Experts" tab on your own device.

When a broker provides a VPS for free

Some brokers let you use a VPS for free if you meet conditions such as deposit amount or trading volume. Conditions and periods differ by broker, so always check the official page.

4 criteria for choosing a VPS for EAs

There are many VPS providers and their price lists are complicated. Checking the following four can reduce big mistakes.

These are only points of view for choosing. Specific figures and prices differ by provider.
CriterionWhat to checkGuide
Distance to the broker's serverIs the location close to the trading server (latency)?The closer, the smaller the communication delay
MemoryIs it enough for the number of MT5 instances you run?More instances need more memory
OSIs it Windows, and does MT5 run stably?Windows-based is common
Monthly costContract period, renewal fees and extra chargesVaries widely by provider

EAs that trade in short bursts, such as scalping, are more affected by communication delay. For an EA that runs on longer timeframes, the difference in distance is often small.

Steps to set up an EA on a VPS

Steps to set up an EA on a VPS

From signing up to running, the basic flow has the following seven steps. The first time, test it with a small amount or a demo account before moving to a live account.

  1. 1

    Sign up for a VPS

    Compare distance, memory, OS and cost, then choose. After signing up, you receive an ID and password for connecting.

  2. 2

    Connect with Remote Desktop

    From Remote Desktop Connection on your own Windows, log in with the information you received. The screen becomes the Windows on the VPS.

  3. 3

    Install MT5

    In the browser on the VPS, install MT5 from the broker's official page. Do not use any source other than the official one.

  4. 4

    Log in to your trading account

    Enter the login details sent by the broker. Once connected, check that quotes are moving.

  5. 5

    Place the EA

    Put the EA file in the designated folder and attach it to a chart. Follow the EA's instructions for currency pair and timeframe.

  6. 6

    Turn on AutoTrading

    Enable MT5's "AutoTrading" button. Also check that automated trading is allowed in the EA's settings.

  7. 7

    Check the logs

    In the Toolbox's "Experts" tab, check that no errors appear. It helps to check every day for the first few days.

Depending on where you obtained the EA, there may be conditions on the number of accounts or environments it can be used on. Check the EA's terms of use before moving it to a VPS.

VPS security measures

A VPS sits on the internet, so it is an easy target. It holds your trading account login details, so you need to strengthen its defenses.

  • Change the remote connection password to a long, complex one
  • Do not reuse the same password as other services
  • Do not install unneeded software other than MT5 on the VPS
  • Apply Windows Update regularly and check operation after restarts
  • If the provider's guide lets you restrict connection sources, set it up

Operation checklist

Even on a VPS, an EA does not necessarily run forever. It can stop because of restarts from updates or broker maintenance.

  • Connect once a week and check the logs in the Experts tab
  • After a restart, check that MT5 is set to start automatically
  • Check that the "AutoTrading" button is still enabled
  • Check that positions and lot size match the EA's settings
  • Check that your account balance and margin level have room

A VPS is only the foundation for keeping things running

If an EA's results are poor, putting it on a VPS will not improve them. Decide the lot size by working backward from your acceptable loss.

How EA trading relates to cashback

EAs tend to make many trades, so the effect of volume-based cashback can be large. However, returns do not guarantee that they cover losses.

For scalping and high-frequency trading, brokers may set conditions in their terms. Check the official page beforehand.

Return amounts are not yet confirmed, and we will post them on each broker's page at launch. Avoid running an EA that breaks trading conditions for the sake of returns.

This article is a general explanation and does not recommend any particular broker, VPS or EA. Always check trading conditions and costs on each official page.

From the trading volume you need, calculate a guide to the lot size to run with your EA. Set it within a range you are comfortable with.

Calculate target lots

FAQ

Q.What is a forex VPS?

It is a service that rents you your own Windows prepared on the cloud. Even if you turn off your home PC, MT5 and the EA on the VPS keep running. Many people use it for 24-hour automated trading.

Q.What is the difference between a VPS and MT5 Virtual Hosting?

A VPS is an environment where you can use Windows freely. Virtual Hosting is an MT5-specific feature from MetaQuotes that runs only what you synchronize. Cost and flexibility differ.

Q.How much memory does a VPS for EAs need?

It depends on the number of MT5 instances and EAs you run. More instances need more memory. Plans differ by provider, so look at the official recommended specs and choose a plan with some room.

Q.Can I leave an EA alone once it is on a VPS?

We do not recommend leaving it alone. It can stop because of restarts from updates or broker maintenance. Make a habit of checking the logs weekly and the state of the AutoTrading button.

This article is for information purposes only and is not investment advice. Conditions may change, so please check each broker's official page for the latest information. Offshore FX and CFD trading carries a risk of losses exceeding your principal.

Related columns

Corrections and questions via LINE

We accept them only through our official LINE account. We do not accept email.

Contact us on LINE
Contact on LINE