Knowledge base

Visit our Website

Email our helpdesk
[email protected]

Call us
United Kingdom | +44 (0)20 3519 1224

Knowledge base: FAQ
Why is my Expert Advisor not placing Trades?
Posted by on 29 January 2014 04:15 PM

If your Expert Advisor is not placing trades, please check the following:

  1. Check that the Expert Advisor button on the standard tool bar in your MT4 is switched on. You also should see a “smiley face” on the chart that has your EA attached.

  2. Make sure the following options are checked in the MetaTrader 4 Tools → Options → Expert Advisors menu:

    • Enable Expert Advisors (except for Custom Indicators and Scripts) – this option enables Expert Advisors automating your trades;
    • Allow live trading – experts can open and close trades automatically, without the trader's participation. This option enables live trading and using our Expert Advisors;
    • Allow DLL imports – experts can use libraries (DLL files stored in the folder MetaTrader — FXOpen/experts/libraries on your computer) to enlarge their functionalities. If this option is enabled, the libraries can be used without any limitations;
    • Allow external experts imports – this option enables export functions from other experts or MQL4 libraries during the expert functioning.

    The other options may be enabled or disabled depending on your preferences:

    • Disable experts when the account has been changed – this option is a safety tool that disables the experts when the account has been changed. It can be useful, for example, when one switches from a demo account to a real one;
    • Disable experts when the profile has been changed – this option can disable the experts when the profile has been changed;

      * A Profile is a specific group of charts with its own settings, templates and layout on the MT4 screen. Profiles can be created and managed via the File → Profile menu in the MT4. When you open a profile, each chart with its settings will be placed exactly in the same location where you placed it before.

    • Ask manual confirmation – if this option is enabled, the EA will request the trader's confirmation each time it's trying to open, close or modify a trade;
    • Confirm DLL function calls – if the option is enabled, the EA will request the trader's confirmation each time it's trying to use an external DLL library. If it is disabled, imports from external libraries will be automatic.
  3. Make sure the settings of your EA do not contradict our trading terms:

    • The FXOpen minimum lot size is 0.1 lot. If your EA is trying to trade a smaller lot, you will see the error “Invalid Volume” in the Terminal window, Experts tab;
    • Please ensure your Expert Advisor is programmed to work with 5th decimal pricing. If it is programmed to work with 4th decimal pricing you may have to make changes to the code of the expert. You may do it yourself or contact the person who provided the Expert Advisor to you;
    • On ECN accounts the Expert Advisor must open a market order WITHOUT a STOP LOSS or a TAKE PROFIT. Stop Loss and Take Profit can be added to an open order using the order modification function seconds after the order has been executed. Or use pending (Stop and Limit) orders with an order opening price that is close to the market.


  4. Check the logs of all operations performed by your EA. They are available in the MetaTrader, Terminal window, Experts and Journal tabs. For example, the “Invalid Volume” error message means that your EA tries to open a trade with volume less than the minimum transaction size allowable on FXOpen accounts (0.1 lot). If the error is unknown to you, please e-mail a print-screen (screen shot) of the Experts tab to us.

  5. Please remember that an Expert Advisor is a client terminal side feature. Due to this the EA will only trade while your MetaTrader 4 is connected to the FXOpen server and you are logged into your account. If you log off and shut down the MetaTrader 4, the EA will stop functioning. If you want your EA to be trading 24/5, consider using a VPS service.

(1 vote(s))
This article was helpful
This article was not helpful

Comments (0)