My MetaTrader account is disconnected (at night, at the weekend, expired demo account)

Understand why a MetaTrader account looks disconnected, "Connection failed" or "EA offline", and what to do for each cause.

3 min read

An account can look disconnected for three reasons: the terminal lost its connection to your broker, the broker refuses the login, or the terminal is not running. Here is how to tell them apart, in ProTradingTerminal as in a MetaTrader you run yourself.

The terminal lost its connection to your broker

In ProTradingTerminal, the account button, at the right end of the chart toolbar, shows « Déconnecté · reconnexion » (disconnected, reconnecting). On the site's Trading Terminal page, the account card turns to an orange dot. In MetaTrader, the ProTradingData panel says MetaTrader is not connected to the broker.

Common causes:

  • the machine's internet connection is down;
  • the broker's server is under maintenance. Some brokers restart their servers at night or at the weekend. ProTradingTerminal says so: « Le serveur du courtier est momentanément indisponible » (the broker's server is temporarily unavailable).

Usually there is nothing to do: the terminal reconnects by itself and ProTradingData resumes. Trades made during the outage then reach your journal.

The broker refuses the login

On the Trading Terminal page, the account card shows Cannot connect with the reason next to it. ProTradingTerminal does not retry refused credentials by itself. Depending on the message:

  • « Numéro de compte ou mot de passe incorrect pour ce serveur » (wrong account number or password for this server): the password changed, or the chosen server is not the account's. In ProTradingTerminal, on the « Connexion au compte » screen (account login), enter the right password, check the server, then click « Se connecter » (sign in).
  • « Ce compte est désactivé par le courtier. » (this account is disabled by the broker): this happens with an expired demo account, a closed account or a finished challenge. Ask your broker to reactivate it, then connect it again. Otherwise, open a new account and add it with Add an account.
  • « Ce compte demande une vérification supplémentaire » (this account needs an extra verification): the account requires a one-time code or a certificate, which ProTradingTerminal does not support yet.

With a MetaTrader you installed yourself, the broker's answer appears in MetaTrader's Journal tab, on an "authorization on … failed" line: Invalid password (the password changed), Invalid account (unknown account on this server) or Account disabled (disabled account, expired demo included). Connect the account again in MetaTrader with the right credentials.

"EA offline" in the journal

If your journal header shows EA offline, ProTradingData is not running: the machine is off or asleep, the account is stopped, ProTradingTerminal or MetaTrader is closed, or the EA was removed. On the Trading Terminal page, a card with a grey dot shows Offline: turn the machine on or start ProTradingTerminal again, and syncing resumes. A VPS stays on around the clock. If everything is running, see "EA offline" although everything is set up.

To keep your journal up to date without leaving a machine on, click the sync button at the top of the journal and choose MetaTrader 5 Cloud: our servers sync the account about every 20 minutes. These connections are read-only: they do not run any strategy.

Cloud sync: "Login refused"

If the sync button at the top of the journal shows Login refused, the broker refused the credentials (same reasons as above, expired demo account included). Fix the cause, click that button, then save the credentials again with Change credentials, even if they did not change: that is what triggers a new attempt.

During an outage, ProTradingEA can neither open nor manage positions (code 10031, see MetaTrader error codes explained). Since version 1.6.3, a close, break-even or stop refused during the outage is sent again within a minute of the connection coming back; an opening is not. Your positions stay open at the broker with their Stop Loss and Take Profit. With Ghost SL, the stop is not at the broker: only the safety stop, if enabled, then protects the position.

Did this article help?
Can't find the answer?Email support, or sign in to ask the help assistant.