How to install an Expert Advisor on MT4 or MT5: step by step — Illustrative trading workspace, not a product or performance screenshot

AIMarkt · knowledge & practice

How to install an Expert Advisor on MT4 or MT5: step by step

An Expert Advisor (EA) is a robot that places orders inside MetaTrader. Installation takes minutes, but the settings afterwards decide whether it behaves as expected. Always start on a demo account.

Illustrative trading workspace, not a product or performance screenshot

Put the file in the right folder

In MetaTrader choose File → Open Data Folder. Place the .ex4 file in MQL4/Experts or the .ex5 file in MQL5/Experts. Restart the platform or refresh the Navigator; the EA appears under Expert Advisors.

Activation and permissions

Drag the EA onto the chart of the correct symbol and timeframe. Allow automated trading and only allow DLL imports if the vendor explains why. Then enable AutoTrading (MT4) or Algo Trading (MT5); a green icon confirms it is running.

Running without interruption

An EA only works while the platform stays open and connected, which is why it often runs on a VPS near the broker’s server. Check the Experts and Journal tabs for errors and test on demo or minimum lot size first.

Checks before proceeding

  1. Correct folder: MQL4/Experts or MQL5/Experts.
  2. Check lot size and stop-loss before going live.
  3. Review the Experts log after the first trade.

Worked example

An EA trading 0.10 lot on EUR/USD risks roughly €9 per 10 pips. With a 50-pip stop, a hit stop costs about €45 plus spread, excluding slippage.

Main pages

Sources and limitations

These articles use AIMarkt package terms and general execution explanations. Examples are illustrative, not customer results. No independent performance report or proof of every platform feature is published here. Consult official platform documentation and the FCA for UK rules. Translation does not establish permission to provide services in the UK.

Continue reading