Archive

Posts Tagged ‘Mq4’

MetaTrader Tips – Expert Advisor Installation

November 16th, 2009 No comments

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.