Free strategy check — send your trading rules and we tell you within 24 hours if they can be automated. No obligation. Send your rules →
Guides6 Sep 2026 · Eye Algo

An EA only trades while the terminal is open and connected. A VPS (virtual private server) keeps it running 24 hours a day, close to your broker's server. This article gives a practical setup checklist and explains the reasons behind each step.

Why use a VPS

A home computer sleeps, updates, loses power and changes network. Any of these can leave an EA offline while a trade is open. A VPS is a remote Windows computer that stays on. It also sits in a data center with a stable connection, and you can pick one near your broker's server to reduce the delay between your orders and the broker.

Checklist

  • Choose a VPS location near your broker's server for low latency.
  • Enable algo trading in the terminal and in the EA settings.
  • Check the symbol name, lot size limits and server time of your broker.
  • Turn off Windows automatic restarts during market hours.
  • Make sure the EA restores its state after a terminal restart.
  • Set up alerts so you know if the terminal disconnects.
Note: MetaTrader also offers a built-in hosting service inside the terminal.

Choosing the VPS

  • Memory and CPU: each terminal uses memory, and more charts and EAs need more. Check how many terminals you plan to run.
  • Windows: MetaTrader runs on Windows, so choose a Windows VPS unless you set up compatibility software.
  • Location: ask your broker where its trading servers are, and test the ping from the VPS.
  • Backups: keep a copy of your EA files and settings outside the VPS.

Setting up the terminal

  1. Install the terminal from your broker and log in to the trading account.
  2. Copy the EA file into the Experts folder and refresh the navigator.
  3. Attach the EA to the chart of the right symbol and timeframe.
  4. Allow algo trading, and enable the options the EA needs, such as web requests if it uses a licence check.
  5. Check the Experts and Journal tabs for errors after the first few minutes.

Keeping it running

Disconnections happen, so the setup should recover on its own. If the VPS restarts, the terminal should start automatically and the EA should load. Most EAs use global variables or files to remember open trades, and a well-built EA also reads the live positions on start so it does not open duplicates. Test this by closing and reopening the terminal on demo before going live.

  • Use a Telegram or email alert for disconnects and for rejected orders.
  • Look at the logs once a day at first, then on a regular schedule.
  • Keep the terminal and Windows updated at planned times, outside market hours.

Common mistakes

  • Closing the remote desktop window with the wrong option, which can log the session out.
  • Forgetting that the broker server time differs from your local time.
  • Running too many terminals on a small VPS, which slows everything.
  • Leaving trading settings unchecked after a terminal update.

Related help

We can build EAs with state recovery, disconnect alerts and a status dashboard. See EA development and the pricing page. If you run arbitrage across two terminals, read arbitrage between MT4 and MT5 terminals, because the VPS choice matters more there. A VPS keeps your EA running, but it does not make a strategy profitable.

Security basics

A VPS holds your trading account login, so protect it. Use a strong, unique password for the remote desktop, and change the default one at once. Keep Windows updated, but schedule restarts outside market hours. Do not install random software on the same machine, and do not log in to the broker account from several places at the same time if the broker restricts that.

  • Use a long password that you do not use anywhere else.
  • Limit who has access, and remove access for people who no longer need it.
  • Keep a copy of EA files, settings and presets in a safe place off the server.
  • Note down your broker server name, account number and platform version for a quick rebuild.

If something goes wrong, a written rebuild list lets you get a new VPS running quickly. Install the terminal, restore the files, log in, attach the EA with the saved preset and check the journal. Doing this once on a spare machine shows what is missing from your notes.

Frequently asked questions

Do I need a VPS for every EA?

If the EA must run while you are away, you need some always-on computer. A VPS is the usual choice. For testing, your own computer is fine.

How close should the VPS be to my broker?

As close as practical. Ask your broker where its server is and compare ping times from a few VPS locations.

Can you set the VPS up for me?

We focus on building EAs and tools. Use the contact page to tell us what you need and we will say what we can help with.

Have a strategy you want automated?Get a free strategy check
← All articles