Skip to content

MT5 error 10027: Autotrading disabled by client terminal

View as Markdown

MT5 reports trade return code 10027, “Autotrading disabled by client terminal”. Your MetaTrader 5 terminal refused the order because automated trading is switched off.

The command shows Failed in Command History, and hovering it shows “Autotrading disabled by client terminal”. The EA still runs and reports the failure, so the on-chart panel can read Connected at the same time.

  1. The Algo Trading (AutoTrading) button on the MT5 toolbar is off.
  2. The terminal option that allows automated trading is off (Tools → Options → Expert Advisors; MetaQuotes’ help calls it “Allow Auto Trading”).
  3. The option “Allow Auto Trading” is not ticked in the Common tab of the EA’s properties window.
  1. Switch the Algo Trading button on in the MT5 toolbar.
  2. Open Tools → Options → Expert Advisors and make sure automated trading is allowed.
  3. Remove the EA from the chart and attach it again. In the Common tab of the properties window, tick “Allow Auto Trading”, then click OK.

On a demo account, send the long example again. The Experts log shows “Trade placed successfully” and the Command History row is not marked Failed.

With these items we can find the failing step quickly. Collect them before you write.

  • The number of the first checkpoint that failed and the time of the alert, with your time zone.
  • The row from TradingView's alert log, including the Webhook status column.
  • The row from Command History (License Details page): status, time, and the reason shown when you hover Failed.
  • The last lines of the MT5 Experts log around that time.
  • Your alert message as TradingView sends it.

Always remove: your license key (write YOUR_LICENSE_KEY), passwords, and any screenshot where the EA panel shows the key.

Write to support with this checklist filled in(contact@zb-connector.com).

Verified for EA v1.9 · dashboard 2026-10-05 · reviewed by Claude Code (owner review pending)

Report a problem with this page

Trading involves substantial risk of loss. ZB Connector is software only; it does not provide investment advice, signals or brokerage services.