TROUBLESHOOTING · METATRADER 5
AutoTrading is disabled in MT5
SYMPTOM
The Algo Trading button is red, or the Journal logs "Autotrading disabled by client".
Causes, most likely first
1. The global Algo Trading button is off
Look at the toolbar at the top of MetaTrader. The Algo Trading button must be green, not red. Click it once. This single toggle overrides every other setting — an EA can be loaded, initialised and generating signals while this is off, and it will place no orders at all. It is the answer far more often than anything else on this page.
2. The EA itself is not permitted to trade
Right-click the chart, choose Expert Advisors then Properties, open the Common tab and tick "Allow Algo Trading". This is a per-EA permission that is separate from the global button, and both must be enabled. Reattaching an EA sometimes resets it to the platform default.
3. A platform update reset the setting
Some MetaTrader builds turn algorithmic trading off after updating, as a safety default. If a previously working setup stopped overnight and nothing else changed, this is almost certainly why. Re-enable it and check the Journal tab for the update entry to confirm.
4. The broker has disabled automated trading on the account
Rare, but it happens on some demo contests and on accounts flagged for review. The Journal will show a server-side rejection rather than a client-side one — the wording is "Autotrading disabled by server" rather than "by client". Only the broker can lift it.
Why this happens
MetaTrader deliberately makes automated trading opt-in at two levels, because an EA can place orders without confirmation and the platform assumes you would rather it did nothing than something unexpected. That design is sensible and it produces this exact confusion constantly.
The distinction worth learning is between "by client" and "by server" in the log message. Client means the setting is on your machine and you can change it in one click. Server means the broker has blocked it and no amount of local configuration will help.
Once trading is enabled, the next thing to verify is that the EA is actually running — a smiling face in the top-right corner of the chart. If it is not there, see no smiley face. If it is there and still nothing happens, work through EA not taking trades.
Common questions
Why does AutoTrading keep turning itself off?
The usual cause is a MetaTrader update, which resets the toggle to its safe default. It can also be turned off by pressing the keyboard shortcut by accident. If it happens repeatedly on a VPS, check whether the terminal is being restarted by Windows Update overnight.
Does AutoTrading need to be on for the Strategy Tester?
No. The Strategy Tester runs independently of the live trading permission, which is why an EA can backtest perfectly while placing no live orders. This mismatch is a common reason people believe their EA is working when it is not.
Related problems
- EA is running but not taking any tradesThe EA is attached and enabled, the face is smiling, but no orders are ever placed.…
- No smiley face on the MT5 chartThe chart shows a sad face, an X, or no face at all in the top-right corner.…
- MT5 trade disabled on the accountOrders are rejected with "Trade disabled" or "Trade is prohibited on this account".…
Educational information only, not financial advice. Trading leveraged products carries substantial risk of loss. Last updated 2026-08-11.