Back to Learn
Platform Setup

How to Install an EA on MT4 and MT5: Step-by-Step Checklist

Learn how to install or import an EA on MT4 and MT5, attach it to a chart, enable Algo Trading, and troubleshoot common setup errors.

Updated 2026-07-228 min read

Key points

  • Import an EA through MetaTrader's Data Folder, then refresh the Navigator so the Expert Advisor appears.
  • Attach the EA to the correct chart and confirm both platform-level and EA-level Algo Trading permissions.
  • Check the Experts and Journal tabs on a demo account before relying on the setup for live trading.

Prepare the EA files, account, and platform

Before importing an EA, confirm whether it was built for MT4 or MT5. MT4 files normally use .ex4 or .mq4, while MT5 files use .ex5 or .mq5. A file built for one platform will not run on the other without being converted by its developer.

Confirm that the broker account, server, and MetaTrader desktop build are supported. Some brokers use symbol suffixes such as XAUUSDm or GOLD, so the chart symbol must also match the EA requirements.

Only install files from a source you trust. Keep the original EA file and setup notes in a separate backup location, and confirm the trading account number before requesting activation if the EA uses account authorization.

  • Install the supported MetaTrader version.
  • Log in to the correct live or demo account.
  • Confirm that the EA file matches MT4 or MT5.
  • Confirm spread, contract size, and account leverage.

Import the EA into MT4 or MT5

In MetaTrader, choose File, then Open Data Folder. Open MQL4 and then Experts for MT4, or MQL5 and then Experts for MT5. Copy the EA file into that Experts folder. If the developer supplied indicators or library files, place them only in the matching folders named in the official setup guide.

Return to MetaTrader and find the Navigator panel. Right-click Expert Advisors and choose Refresh. If the EA still does not appear, restart MetaTrader and confirm that the file was copied into the Data Folder opened by that exact platform installation.

  • Open File > Open Data Folder inside MetaTrader.
  • Copy .ex4 or .mq4 files to MQL4/Experts, or .ex5 or .mq5 files to MQL5/Experts.
  • Refresh Expert Advisors in the Navigator panel or restart MetaTrader.
  • Confirm the EA appears under Expert Advisors before continuing.

Attach the EA and enable Algo Trading

Open the symbol and timeframe required by the EA's setup guide, then drag the EA from Navigator onto the chart. Review the Inputs tab before selecting OK; do not assume that a default preset is appropriate for every account size, leverage level, or broker.

MetaTrader requires automated trading permission at both the platform level and the EA level. Enable AutoTrading in MT4 or Algo Trading in MT5, and allow algorithmic trading in the EA properties. The platform indicator should show that automated trading is active rather than disabled.

If the EA uses external services, only allow the documented WebRequest URLs. Do not add unknown URLs or third-party files that are unrelated to the official setup guide.

  • Open the required symbol and timeframe.
  • Attach the EA from Navigator and review every input setting.
  • Enable AutoTrading or Algo Trading at the platform level.
  • Allow algorithmic trading in the EA properties.

Verify the installation and troubleshoot errors

Check the Experts and Journal tabs immediately after attaching the EA. Messages such as invalid account, trade disabled, missing indicator, failed WebRequest, or unsupported symbol identify setup problems that should be resolved before live use. A visible EA name or status icon alone does not prove that every permission and dependency is working.

If the EA is missing from Navigator, recheck the platform-specific file extension and the Data Folder path. If it appears but cannot start, confirm the account authorization, chart symbol, timeframe, Algo Trading permissions, and any documented dependencies. Test the complete workflow on a demo account before enabling live trading.

  • Review the Experts and Journal tabs for errors.
  • Confirm the account, symbol, timeframe, and authorization match the setup guide.
  • Verify that every required indicator or library is installed in the documented folder.
  • Run a demo test before moving the setup to a live account.

Check VPS and maintenance workflow

If the EA needs to run around the clock, use a VPS close to the broker server when possible. Reboot policies, platform updates, and remote access credentials should be documented before live operation.

After installation, record the active EA version, the account number, and the risk preset used. This makes later support or rollback work much easier.

GoGoAI content is for product education only. It is not investment advice, does not promise profit, and trading performance varies by market conditions. Users remain responsible for their own risk settings.

FAQ

How do I import an EA I created into MT5?

In MT5, open File > Open Data Folder, place the .ex5 or .mq5 file in MQL5/Experts, then refresh Expert Advisors in Navigator or restart MT5. Attach the EA to the required chart and enable Algo Trading only after reviewing its inputs and testing it on demo.

Why is my EA not showing in MT4 or MT5 Navigator?

Confirm that you used the Data Folder opened by the same MetaTrader installation, placed the file in the correct MQL4/Experts or MQL5/Experts folder, and used a file built for that platform. Refresh Navigator or restart MetaTrader after copying the file.

Can I install an EA without a VPS?

Yes, but the platform must stay online while the EA is expected to trade. A VPS can improve uptime and reduce local computer dependency.

Should I test on demo before live trading?

Demo testing is recommended so you can confirm installation, permissions, and basic behavior before live execution.