Home / Help / MetaTrader 5 / AutoTrading disabled, EA or indicator not trading

AutoTrading disabled, EA or indicator not trading in MetaTrader 5

An Expert Advisor or indicator is loaded but not placing trades, and there is a sad face on the chart.

MetaTrader 5AutoTrading disabled, EA or indicator not tradingexpert-advisorsautomation
WHERE TO LOOK
ToolsOptionsExpert Advisors
THE SETTING
Allow Algo Tradingmust be ticked
AutoTrading button in the toolbarmust be enabled too

What is causing it

The AutoTrading button is off, or automated trading is blocked in options.

Why this happens

MetaTrader deliberately gates automated trading behind more than one switch, because code that can place orders on a live account is the most dangerous thing the platform can run. There is a terminal-wide permission in the options, a toolbar toggle that acts as a master switch you can hit instantly, and a per-program permission on each Expert Advisor. Any one of them being off is enough to stop trading, and the platform shows the same sad face on the chart in every case rather than telling you which switch is responsible.

The face itself is worth reading properly. A frowning face means the EA is loaded and running but is not permitted to trade, so its logic is executing and its calculations are happening while its orders are being blocked. That is different from an EA that is not attached at all, and it is why an EA can appear to be doing nothing for hours and then trade normally the moment you enable the toggle.

The fix, step by step

  1. Click the AutoTrading button in the top toolbar so it turns green.
  2. Open Tools, Options, Expert Advisors and tick "Allow Algo Trading".
  3. On the EA, open its properties (F7) and confirm "Allow Algo Trading" is ticked.
  4. Make sure the smiley face on the chart is smiling, not frowning.

How to confirm it is fixed

The face in the top right corner of the chart should be smiling. Confirm the AutoTrading button in the toolbar is showing as enabled, then open the Experts tab in the Toolbox: a permitted EA logs its initialisation there and will log its trade activity, whereas a blocked one logs an entry about trading not being allowed. The definitive proof is the EA opening or modifying a position when its conditions are next met.

Stopping it happening again

Treat the toolbar AutoTrading button as a switch you check every time you start the terminal, because it does not always survive a restart or a crash in the state you left it. If you run an EA on a VPS, check the face after any reboot. Leaving the terminal-wide permission enabled and using the toolbar toggle as your day-to-day control is the practical arrangement, since the toolbar button is the one you can reach instantly.

Trade with clarity once MetaTrader is running

Market Structure Pro gives one clear TRADE or NO-TRADE verdict on any MT5 chart, with confidence, grade and a plain-English reason. Free 7-day trial, no card.

Start free trial

Other MetaTrader 5 problems

No connectionInvalid account or authorization failedOff quotes errorTrade context is busyMarket closedNot enough money
Still stuck? Some issues are specific to your broker or your app version, and their support desk can confirm server names, account status and outages. See all MetaTrader 5 problems or the full help hub.