Blog

Handing your MT5 password to a third party: the real risk, and five questions to ask first

2026-09-06

Paying someone to install an EA: hand over the password. Buying a VPS "with MT5 pre-installed": hand over the password. Using a copy or account-management service: hand over the password. Every time, one more person can log into your live account, and most of us never rotate it because that means reinstalling everywhere. This post is about the actual risk, and about the fact that a system operating your MT5 terminals can be designed to never know your password.

Two passwords, two risk levels

An EA can only trade if the terminal is logged in with the master password. So anyone "installing the bot for you" on their machine is holding your master password in plaintext, in a config file or in their head.

What actually goes wrong

  1. Trades you did not intend. No malice needed: someone managing fifty accounts sends an order to the wrong one.
  2. Leaks later. The password sits in an .ini, in a screenshot, in a Telegram thread from eight months ago. You control none of those places.
  3. You cannot rotate. Changing it stops every place running a bot for you, and you have to contact each one to reinstall. So nobody does.

Five questions for any service that wants your MT5 password

  1. Where is my password stored, and in what form? The right answer is "encrypted, and we do not hold the decryption key". The wrong answer is "in our system, it's very secure".
  2. Can your staff read it? If yes, every current and former employee is a risk.
  3. Can your server place orders on my account? If the system has an order API, a server bug or a leaked admin login is your money.
  4. How is the software on my VPS updated? If the server can push any file to your machine without a signature, whoever controls the server controls your machine.
  5. What happens when I change the password? The good answer: "you update it yourself in thirty seconds, no ticket".
Browser encrypts with the VPS public key, server stores ciphertext, VPS decrypts with its private key
The only place the plaintext exists is your browser tab. The only place it can be decrypted is your VPS.
Watch: who can read your MT5 password

Designing so the password is never needed

This is how AutoBotCenter does it, and it is a reasonable bar for any other service:

  1. Encrypt in the browser. When you enter a broker password, the browser encrypts it with the public key of your own VPS (X25519 + AES-256-GCM). The plaintext exists only in your browser tab, for milliseconds.
  2. The server holds ciphertext only. The database contains an encrypted string and no key to open it. An operator with database access sees noise.
  3. The private key lives on the VPS and never leaves. The agent generates its key pair at install time, keeps the private half local, and decrypts only at MT5 login. One key pair per VPS, so a compromised box does not expose the others.
  4. Signed updates. Every agent release is Ed25519-signed with an offline key; the agent refuses anything that does not verify. A compromised server still cannot push foreign code to your machine.
  5. No order API. The system can open, close and restart terminals, deploy EAs and read status. There is no route to place, modify or close a trade. It could not if it wanted to.

The cost of this design: when you add an account you must pick the VPS that will run it, because the password is encrypted for that specific machine. Move it to another VPS and you re-enter the password. A fair trade.

If you have already shared it widely

Tired of RDP-ing into every box?

AutoBotCenter puts every VPS, MT5 terminal and EA on one dashboard: a watchdog that revives dead terminals, remote EA deployment, Telegram alerts. The free tier covers one VPS, no card needed.

Start free

Related

MetaTrader's built-in VPS vs your own VPS: which one your EA actually needs

MetaQuotes' hosting is one click and low latency, but it runs one terminal, hides the machine and cannot be scripted. A straight comparison against renting your own Windows VPS, with the cases where each one is the right answer.

How to manage multiple MT5 accounts: one screen for every terminal, EA and VPS

MetaTrader 5 shows one account per terminal, so managing ten of them is an inventory problem, not a trading one. What breaks at 5, 20 and 100 accounts, the columns that belong on a single screen, how many terminals fit on one VPS, and the order in which to automate.

MT5 watchdog: how to restart a dead terminal automatically on a VPS

How a watchdog decides an MT5 terminal is dead using three tests (process from the right folder, broker connection, EA heartbeat), a 40-line PowerShell version on a 5-minute Task Scheduler trigger, the failures it cannot see, and when an agent replaces it.

MT5 VPS monitoring: what to watch, how to check it, and what to automate

A practical monitoring setup for MetaTrader 5 on a VPS: the five signals that predict a dead bot, how to read each from logs or a script, thresholds that matter, and the point where a watchdog and Telegram alerts replace RDP checks.