How to Install an Expert Advisor on MT4

To install an expert advisor on MT4 you copy one file into the terminal's data folder, restart the terminal, switch automated trading on and drag the robot onto a chart. The steps work for any MetaTrader 4 robot; the Kestrel specifics are marked.

See pricing and licence levels

A file being placed into a glowing folder on a dark desktop

Where the file goes

An expert advisor is a single compiled .ex4 file. In MetaTrader 4, open File → Open Data Folder, then MQL4, then Experts, and drop the file there.

Use that menu rather than browsing by hand: MetaTrader 4 often keeps its data somewhere other than the folder you installed into, and a file copied to the wrong place never appears. Restart the terminal and the robot shows under Expert Advisors in the Navigator.

Enable automated trading

Two switches have to be on, and they are independent of each other.

  • The AutoTrading button in the toolbar has to be green. Grey means the terminal accepts the robot on a chart and then ignores every order it sends.
  • In Tools → Options → Expert Advisors, Allow automated trading has to be ticked. Allow DLL imports is a separate permission, only relevant for robots that call an external library.

Attach it to each chart

Open a chart for each strategy you chose — up to four per licence, a strategy being one pair in one style (Patient and Active can be combined, also on the same pair) — and drag the expert advisor onto it from the Navigator. Each chart loads its own set file.

The Inputs tab of the dialog that opens is where the set file loads. Which preset belongs to which portfolio and level is in Kestrel Forex EA Settings and Set Files by Level.

Confirm it is running

A smiling face in the top right corner of the chart means the robot is loaded and automated trading is allowed. A sad face means it is loaded but disabled; no face means it never attached.

Then wait. The robot holds for its own signal, so a quiet chart on the first day is normal. The Experts tab shows the robot’s decisions and the Journal tab shows connection problems.

If you replaced the .ex4 file, remove the robot from the chart and drag it on again: reopening the properties re-reads the settings but not the file. And if the chart stays silent after patient checking, work through Expert Advisor Not Working? A Checklist to Fix It before changing a setting.

Account requirements

Before you install, check that your account meets the technical requirements of the account: MetaTrader 4, hedging, server time and currency.

Getting the Kestrel file

The licence includes the EA file, the set files of the strategies you choose (up to four) at the licensed level, free updates while the licence is active and support on Telegram at @kestrelmyfx, the only support channel. You buy by writing to us on Telegram.

The licence is an annual subscription that renews automatically. If it expires, Kestrel stops opening new trades, and this can increase your losses: make sure your licence is renewed before its expiry date (How your licence works).

Kestrel also needs its licence key and one extra MT4 permission — Allow WebRequest for listed URL with the licence server’s address. Both are in Kestrel Licence Key: Activation, Errors and Renewal.

Frequently asked questions

Where is the MT4 data folder?

In MetaTrader 4, open File and then Open Data Folder. The terminal opens the folder it is really reading from, which is often not the one inside Program Files. Expert advisors live in the MQL4 and then Experts subfolder.

Does installing an expert advisor change my account?

No. It adds a program to your own terminal. The broker, the account and the funds stay where they were, and removing the robot from the chart stops it.

See pricing and licence levels

Last updated: