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

How to install an EA in MT5 and allow WebRequest

Step by step per the MetaTrader 5 help: where to put the .ex5 file, how to run an EA on a chart, when automated trading is needed, how to allow WebRequest and where to find errors.

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

文章

全部文章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. The EA file (.ex5) goes into the MQL5\Experts folder of the terminal's data folder, the EA is dragged onto a chart, and its inputs are set in the properties window. If the EA talks to the internet, its address must be added to «Allow WebRequest for listed URL»; if it trades, automated trading must be on. The EA works only while the terminal is open. Steps follow the MetaTrader 5 help as of October 11, 2026.

Step 1. Put the file into the Experts folder

  1. In the terminal: «File» → «Open Data Folder».
  2. Open MQL5 → Experts and copy the .ex5 file there.
  3. The EA appears in the «Navigator» window under «Expert Advisors». If it is not there, restart the terminal.

A .mq5 file is source code: it will not show up in the Navigator until it is compiled in MetaEditor. For MetaTrader 4 the steps are the same, but the folder is MQL4\Experts.

Step 2. Run the EA on a chart

  1. Drag the EA from the Navigator onto any chart or double-click it.
  2. In the properties window, on the «Inputs» tab, set its parameters — a key, for example.
  3. If the EA trades, tick «Allow Auto Trading» on the «Common» tab and turn on the «AutoTrading» button on the toolbar (newer builds label it «Algo Trading»). With the button off only trading operations are blocked — an EA that only reads data keeps working.
  4. Click «OK». The sign of a running EA is its name and icon in the top right corner of the chart. One chart runs one EA.

Step 3. Allow WebRequest

An EA that sends data to a server can only reach addresses on the terminal's allow list. «Tools» → «Options» → «Expert Advisors» tab → tick «Allow WebRequest for listed URL» and add the address, for example https://app.davinchu.com. The list is empty by default. The same list applies to network sockets: without the address the EA will not connect, and an error appears in the log.

Step 4. Check that it works

  • «Toolbox» → «Experts» tab — EA messages: connection, errors, warnings. The «Journal» tab shows the terminal's own events.
  • The EA runs only while the terminal is open: close the terminal or let the computer sleep, and it stops. For round-the-clock operation the terminal runs on a VPS, including MetaQuotes virtual hosting: it is rented right from the terminal, and the WebRequest list must be set up before migration.

Connecting Davinchu Trade Monitor

  1. In the dashboard: «Accounts» → «+ Connect account» → «MT4/MT5» tab → «Get key». The key is shown once — copy it right away.
  2. Click «↓ Download advisor» there and put the file into MQL5\Experts (step 1).
  3. Drag the EA onto any chart and paste the key into the «Ключ из кабинета Davinchu» (InpDvKey) input on the «Inputs» tab.
  4. Add the address from the connect window — https://app.davinchu.com — to «Allow WebRequest for listed URL».
  5. The account appears in the dashboard after the first sync: the connect window waits up to a minute and a half and, if no data arrives, shows what to check.

The monitor opens no trades, so it does not need automated trading: it sends trades, balance, equity and the account history. The server sends it no trading commands. The T-Manager risk manager is a separate EA with its own key, and it works only with automated trading on.

A MetaTrader 4 account connects the same way: choose «MetaTrader 4» in the connect window and put the Davinchu Trade Monitor EA for MT4 into MQL4\Experts. The monitor works with any forex and CFD broker on MetaTrader 4 and 5, prop firms included. The MT4 version of the T-Manager risk manager is in development.

On the MT5 EA panelMeaning and what to do
● КАБИНЕТ (connected)connected, data is flowing
● НЕТ СВЯЗИ (no connection)no connection: check the address in the WebRequest list and the internet
● КЛЮЧ? (key?)the dashboard rejected the key: paste it in full, without spaces, or issue a new one
● НЕТ КЛЮЧА (no key)the key is not set in the inputs

In the dashboard the account shows «Online». Close the terminal or remove the EA from the chart and the status changes to «EA not connected», while the EA itself sends «Monitor deactivated» with the reason. If the terminal freezes or the internet drops, «Account connection lost» arrives after 10 minutes — in Telegram, by email or in Discord. The Free plan connects two accounts at no cost.

More on the «Account monitoring» page and in «MT5 investor password». If robots trade on the account, what Davinchu does for them is on the «Davinchu for algo traders» page.

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

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

免费开始
DDavinchu TradeOS

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

产品

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

公司

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

支持

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

法律信息

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