How to run an MT5 Expert Advisor 24/5 on a VPS

Dexter Byte · Updated October 2026

An Expert Advisor only trades while MetaTrader is running. Close your laptop and it stops. A VPS (virtual private server) is a computer in a data centre that keeps MetaTrader running 24 hours a day, five days a week.

Option 1: the built-in MQL5 VPS

MetaTrader 5 has its own VPS service. It costs a few euros a month per account and copies your charts, robots and settings to a server close to your broker.

  1. Set up your robot on your own computer first, including any allowed web addresses under Tools › Options › Expert Advisors.
  2. In the Navigator, right-click your account and choose Register a Virtual Server.
  3. Pick the plan and choose Migrate experts and indicators.
  4. Check the VPS journal for the robot's start message.

Option 2: your own Windows VPS

A Windows server from a VPS provider lets you run several MetaTrader installations, each logged into a different account. It's cheaper with many accounts, but you manage updates and restarts yourself.

Mistakes to avoid

Installing Dexter Byte? The install guide covers the VPS step too.

This article is general education, not financial advice. Trading leveraged products carries a high risk of loss.