← Back to Journal

Trading Education

MT5 VPS setup guide: running an EA 24/5 the right way.

An expert advisor only trades when MetaTrader 5 is running. This guide explains why a VPS matters and how to set one up so your EA runs 24 hours a day, five days a week, reliably.

Cypher TeamSeptember 11, 202610 min read

An expert advisor only trades while MetaTrader 5 is actually running and connected to your broker, which is why a VPS matters: a VPS is a remote, always-on computer that keeps MT5 online 24 hours a day, five days a week, independent of your home machine. If your EA runs on your laptop and the laptop sleeps, restarts for an update, or drops its internet connection, the EA simply stops trading. This guide explains how to set up a VPS the right way so that never happens.

TL;DR: An EA needs MT5 to be running to trade. A VPS is an always-on cloud computer that keeps MT5 online 24/5. Rent a Windows VPS near your broker's servers, connect via Remote Desktop, install MT5, attach your EA, enable auto-trading, and leave it running. Prioritize uptime and low latency.

What is a VPS and why does an EA need one?

A VPS, or virtual private server, is a computer you rent in a data center and access remotely over the internet. It runs continuously, on reliable power and connectivity, in a way a personal computer usually does not. Because an expert advisor can only act while its platform is live, hosting MetaTrader 5 on a VPS means your EA keeps evaluating the market and managing trades around the clock during the trading week — even while you sleep, travel, or shut your own computer down. For any serious automated system, including the DeLorean EA, continuous uptime is not optional.

What happens if you run an EA without a VPS?

You accept avoidable risk. If your machine goes to sleep mid-session, a trade may not be managed. If Windows restarts for an update overnight, MT5 closes and the EA stops. If your home internet blips, the platform disconnects. Any of these can leave positions unmanaged at exactly the wrong moment. A VPS removes that fragility by moving the platform to infrastructure built to stay online.

How do you set up MetaTrader 5 on a VPS?

The process is straightforward:

  • 1. Choose a VPS. Rent a Windows VPS from a provider, ideally one with a data-center location near your broker's servers to minimize latency.

  • 2. Connect via Remote Desktop. Use the Remote Desktop client on your computer to log into the VPS using the credentials the provider gives you.

  • 3. Install MetaTrader 5. Download and install MT5 on the VPS just as you would on any Windows machine, then log into your brokerage account.

  • 4. Attach your EA. Copy your EA into the platform, drag it onto the chart for the correct symbol, and configure its settings.

  • 5. Enable automated trading. Turn on the "Algo Trading" (auto-trading) toggle so the EA is permitted to place orders.

  • 6. Leave it running. Disconnect from Remote Desktop without shutting the VPS down. The VPS keeps running, and so does your EA.
  • What should you look for in a forex VPS?

    Not all VPS hosting is equal. Prioritize:

  • Uptime: 99.9% or better, so the platform is essentially always available.

  • Low latency: a location close to your broker's servers reduces the delay between decision and execution.

  • Adequate resources: enough RAM and CPU to run MT5 (and any charts or additional EAs) smoothly.

  • Windows compatibility: MetaTrader 5 runs on Windows, so a Windows VPS is standard.

  • Reliable support: responsive help matters when something needs attention.
  • How do you keep it running reliably?

    Set the VPS and MT5 to reconnect automatically after any reboot, keep the platform logged in, and check periodically that the EA is still attached and auto-trading is enabled. Many operators log in briefly each day or set up monitoring so they are alerted if the platform goes offline. The goal is simple: MT5 should be running and connected every minute the market is open. Cypher Pros includes onboarding support with every license, so getting a VPS configured correctly is part of the setup help you receive.

    Frequently asked questions

    Can I use a Mac? You connect to a Windows VPS from any device, including a Mac, via Remote Desktop. The VPS itself runs Windows so MetaTrader 5 is supported.

    Does a VPS improve my results? It improves reliability and uptime, not the strategy itself. Its job is to make sure the EA can execute consistently, not to change what the EA does.

    Do I need a VPS for the DeLorean EA specifically? It is strongly recommended, because continuous 24/5 operation is important for any always-on execution system.

    Risk Disclosure: Cypher Pros is a software provider, not a financial advisor, fiduciary, or asset manager, and does not provide personalized investment advice. Forex trading carries a high level of risk and past performance never guarantees future results.

    Frequently Asked Questions

    Why do you need a VPS to run an MT5 expert advisor?

    Because an expert advisor only trades while MetaTrader 5 is running and connected. A VPS is an always-on remote computer that keeps MT5 online 24/5, so your EA keeps trading even when your home computer is off, asleep, updating, or has lost internet.

    How do you set up MetaTrader 5 on a VPS?

    Rent a Windows VPS located near your broker's servers, connect to it via Remote Desktop, install MetaTrader 5 on it, log into your broker account, attach your EA to the chart, enable automated trading, and then leave the VPS running continuously so the EA operates 24/5.

    What should you look for in a forex VPS?

    Look for high uptime (99.9% or better), low latency to your broker's server location, enough RAM and CPU to run MT5 smoothly, Windows compatibility for MetaTrader, and reliable customer support. Latency and uptime matter most for consistent EA execution.

    Ready to experience disciplined, algorithmic execution?

    Book Private Overview

    Important Disclaimer

    For Educational Purposes Only: The information contained in this article is provided for general informational and educational purposes only. Nothing in this article constitutes financial advice, investment advice, trading advice, or any other type of advice, and should not be construed as such.

    Not Financial Advice: Cypher Pros Ventures, LLC is a software company, not a registered investment advisor, broker-dealer, or financial planner. We do not provide personalized investment recommendations. Any references to specific strategies, returns, or market conditions are for illustrative purposes only and do not guarantee similar results.

    Risk Disclosure: Trading foreign exchange (forex) and other financial instruments involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. You should carefully consider your investment objectives, level of experience, and risk appetite before making any trading decisions. Only trade with capital you can afford to lose.

    No Guarantees: We make no representations or warranties regarding the accuracy, completeness, or timeliness of the information presented. Market conditions change, and strategies that worked in the past may not work in the future.

    Seek Professional Advice: Before making any financial decisions, consult with a qualified financial advisor, tax professional, or other appropriate expert who can assess your individual circumstances. For our complete risk disclosure and terms, please visit our Disclosures & Disclaimers page.