跳到内容
DDavinchu TradeOS
功能产品工作台适用人群价格合作伙伴常见问题博客
EnglishEspañolРусскийУкраїнська中文PolskiDeutsch
登录注册
功能产品工作台适用人群价格合作伙伴常见问题博客登录注册
Davinchu 博客

Why an EA is not trading in MT5: causes and error codes

The AutoTrading button, the EA's properties, the Experts tab and MetaTrader 5 server codes (10027, 10026, 10017, 10018, 10019, 10014, 10016, 10030) — and how to learn about a silent EA right away.

发布日期2026年10月12日更新日期2026年10月13日作者Davinchu 团队阅读时间7 分钟

文章

全部文章Davinchu TradeOS overviewHow to use MT5Compound interestForex trading sessionsFunding rateCopy trading: picking a traderGrid and martingale riskMT5 tester vs live accountYour first 30 days in tradingStop loss and take profit in MT5Margin, margin call, stop outMT4 vs MT5Edgewonk vs DavinchuTradezella, TradesViz, DavinchuFX Blue vs DavinchuIntelinvest, Snowball, DavinchuLiquidation price: Bybit, BinanceInvestment tracking: Excel or appChecking an EA before buyingSelling EAs and signalsMT5 alerts in TelegramWhy an EA isn't tradingVPS for an EAPassing a prop challengeEvaluating a strategyTrading plan and checklistTilt and overtradingMT5 investor passwordInstalling an EA in MT5Showing results to investorsReturn: TWR and XIRRBybit trade historyCrypto portfolio trackingReviewing students' journalsTrading teamProfit factorTrading expectancyRisk/reward ratioThe 1% ruleSharpe, Z-score, AHPR, GHPRTrailing vs static drawdownLimiting losses in MT5Crypto trading journalRead-only API keyLot size calculationTrading journal templateMT5 account monitoringMyfxbook alternativesTrading journal for MT5Prop firm risk managementCalculating drawdownStocks from IBKR and T-BankJournals and monitoring compared
本文尚未翻译成您的语言——以下为该语言版本:英语。

In short. Most often an EA does not trade because the «AutoTrading» button is off (newer builds label it «Algo Trading») or «Allow Auto Trading» is not ticked in its properties. The answer is almost always in the «Experts» tab of the Toolbox: the EA writes why it refused, and the server returns a code — for example, 10027 «Autotrading disabled by client terminal». Below: a two-minute check, a table of codes and the reasons that produce no error at all. Codes and names follow the MetaTrader 5 and MQL5 help as of 12 October 2026.

A two-minute check

  1. The «AutoTrading» button on the toolbar is on. It is the master switch: with it off, no EA in the terminal trades.
  2. «Allow Auto Trading» is ticked in the EA's properties: F7 on the chart or right-click → «Expert Advisors» → «Properties», «Common» tab.
  3. The icon in the top right corner of the chart. Hover over it: it says whether trading is allowed. If it is not, go back to steps 1–2. No icon and no EA name — the EA is not running on this chart.
  4. Connection to the server. The bottom right corner of the terminal does not say «No connection», and quotes in «Market Watch» are moving.
  5. Not the investor password. With it the terminal only shows the account; neither you nor an EA can trade — more in «MT5 investor password».
  6. The market is open. Right-click the symbol in «Market Watch» → «Specification» — trading sessions; on weekends and holidays the EA waits.

A trap: «Tools» → «Options» → «Expert Advisors» has options that disable automated trading when you switch accounts, profiles, or a chart's symbol or period. Switch from demo to live or change the timeframe — and the EA that traded yesterday is silent today.

Where to look for the answer

  • Toolbox → «Experts» tab — EA messages: refusals, error codes, their own explanations («spread above limit», «outside trading hours»).
  • The «Journal» tab — terminal events: connection to the server, trade requests and server replies.
  • Older entries are in files: «File» → «Open Data Folder» → MQL5\Logs (EAs) and Logs (terminal), one file per day.

Trade server return codes

CodeMeaningWhat to do
10027autotrading disabled by client terminalturn on the «AutoTrading» button and the option in the EA's properties
10026autotrading disabled by serverthe broker or prop firm blocked it for the account — ask the broker's support
10017trade is disabledtrading is closed for the account or symbol: check how you logged in and the symbol specification
10018market is closedwait for the session; check the symbol's trading hours
10019not enough moneylower the lot or the risk; check free margin
10014invalid volumethe lot is below the minimum, above the maximum or not a multiple of the step — compare with «Specification»
10016invalid stopsstop loss or take profit is closer than the broker's stops level — move it further
10030invalid order filling typethe EA sends a filling type (FOK, IOC or Return) the symbol does not support — it needs a filling setting in the EA
10031no connection with the trade servercheck the internet and the server in the login window
10021no quotes to process the requestthe symbol has no prices: the market has not opened yet or the quote feed dropped
10040the limit of open positions on the account is reachedthe limit is set by the broker — close what is not needed or ask for the limit

No errors, and no trades either

Then the EA is running but finds no reason to enter. Common causes:

  • Its own filters: trading hours, maximum spread, news, a limit on positions or daily loss, a pause after a losing streak. Check the inputs and the EA's description.
  • The wrong symbol. The EA expects EURUSD while the broker calls it EURUSD.m or EURUSDx; or the inputs name one symbol and the EA sits on another chart.
  • The wrong timeframe, or waiting for a bar. Many strategies check the signal only when a candle closes: on H4 the first trade can take hours.
  • Account type. Grid and hedging EAs are written for hedging accounts; on a netting account an opposite trade reduces or closes the position instead of opening a new one.
  • The lot is computed from risk and comes out below the minimum — on a small deposit the EA silently skips the signal. The lot size calculator helps check the math.
  • The terminal is not running. The computer went to sleep, Windows restarted after an update, the VPS shut down. On start the terminal puts EAs back on the charts of the saved profile, but until then they do not trade — more in «VPS for an EA».

How Davinchu tells you about a silent EA

The worst thing about a silent EA is that you cannot see it: no drawdown, no alerts, everything is green. Davinchu Trade Monitor on the same terminal and the Davinchu server cover this with three messages in Telegram, email or Discord:

MessageWhen it arrives
«The EA is silent»connected, but no new trades on the account for longer than the threshold you set in hours (up to 720); one warning per quiet period. Weekends are not excluded from the count: with a threshold under two days the warning also arrives over an ordinary weekend
«Account connection lost»the terminal has not checked in for 10 minutes: the VPS shut down, the terminal froze, the internet dropped. Critical — it arrives during quiet hours too; then «Account connection restored» with the outage length
«Monitor deactivated»the EA was removed from the chart or the terminal was closed — with the reason

The «EA is silent» threshold is set in the account settings, «Notifications» tab; it is off by default. The monitor is read-only and does not need AutoTrading: a disabled «AutoTrading» button stops your robots, not the monitor. The Free plan connects two accounts at no cost. How to connect it — in «MT5 notifications in Telegram»; what else Davinchu does for robots — on «Davinchu for algo traders».

日志、风控与分析,一个面板全搞定

Free 永久免费:2 个账户、日志和 AI 分析。接入只需 5–10 分钟。

免费开始
DDavinchu TradeOS

面向交易者与团队的分析平台。

产品

交易日志账户分析账户监控MT5 风险管理器AI 分析交易计算器与工具全部功能Davinchu 适合谁

公司

关于我们价格安全合作伙伴博客交易术语表文档帮助中心联系方式

支持

文档帮助中心Telegram 客服Telegram 频道[email protected]

法律信息

隐私政策用户协议退款政策反洗钱政策
© 2026 Davinchu. 保留所有权利。高级交易分析平台
Davinchu 工作台演示打开实时工作台 →