MetaTrader Tips – Expert Advisor Installation

Nov 13th, 2009 | Filed under MetaTrader 4 Tips

MetaTrader Expert Advisors file should have the file extension of .ex4 (compiled code) or .mq4 (sourse code). First it is necessary to copy this file to the folder Experts of the MetaTrader working directory (usually C:\Program Files\MetaTrader Broker Name or MetaTrader).

experts

The second step is to restart MetaTrader. After the restart the expert should be added to the list of experts in the Navigator window. It necessary to stress that the colored icon corresponds to mq4  file. If you have an ex4 file only, an icon in the window Navigator will be grey. The same grey color may mean that the errors in a source code appeared.

 expert_errors

 navigator1

 

In order to check errors in the EA, you can press F4, the editor of language MQL4 , and then it is necessary to load the source code of expert into the editor. Press F5 in order to compile the expert advisor. In case of success, the sentence ’0 errors’ will appear in conclusion window. Warnings are not errors and their presence does not hinder the successful compiling.

 

Related posts:

  1. MetaTrader Tips – Expert Advisor Optimization
  2. MetaTrader Tips – Expert Advisor Back Testing
  3. MetaTrader Tips – Favorites Group
  4. MetaTrader Tips – Attaching indicators, experts or scripts to charts using hotkeys
  5. MetaTrader Tips – Full-Screen Mode

Comments are closed.