Posted by susanalo | Sunday, April 19, 2009 |

How to run an EA (Expert Advisor)?


For functioning the expert is required that on computer was installed and uncared-for MetaTrader 4, expert was attached to Chart and were enclosed all necessary options, allowing actions of the expert. In operation expert computer must have a constant connection to trade server.


The File by default, where kept experts, which MetaTrader 4 must find at start: C:\Program Files\MetaTrader 4\experts

Experts in editable form (source code) have an extension mq4.

Example: wss_clone.mq4

Experts in compiled form (source code of expert translated in computer code) - such as OUR files, have an extension ex4.

Example: wss_clone.ex4

After you put EA (for example - wss_clone.ex4) in folder \experts, it will be necessary to re-run MetaTrader 4, therefor that MT has found a new expert. If all of this are done, and it is correct, that expert will come up for list like:


Navigator
dialogue window
Expert Advisor enable button
Expert Advisor work perfect
1. Attach the expert to the chart and in dialogue window to include the necessary options.
2. Check the option like picture above
3. The last necessary is to allow trade by pressing on button at MT panel (top) until its turn into green
4. If all are done correctly, at top-right corner of your chart will appear the symbol of the smile like this :)
The EA is running on your account now.
How if you cann't see the smily face but sad face or X? Please read guide below.
Expert Advisor disable
Expert advisor button off
Expert advisor button on
1. X at up-right corner meant that your Expert Advisor is disable
2. Click the Expert Advisor button until green
Expert Advisor not allow
global setting for Expert Advisor
1. Sad Face or :( meant that your Expert Advisor disallow to live trade
2. Press [Ctrl]+[o] then go to [Expert Advisor] TAB, and then check the option like picture above. Press [Ok].