How to install Expert Advisor and indicators to the MetaTrader terminals

Testing and optimization of EA in Strategy Tester
MetaTrader Market: How to buy an advisor on mql5.com? How to rent? How to update? How to install it?
Testing and optimization of EA in Strategy Tester
MetaTrader Market: How to buy an advisor on mql5.com? How to rent? How to update? How to install it?

Video Thumbnail

Description

How to install a Trading Advisor in MetaTrader and configure it to work in the terminal.
In this article, we will guide you on how to install a Trading Advisor in MetaTrader and configure it to work on the terminal chart.
You will learn what steps need to be taken to ensure that your indicator or utility works seamlessly on the terminal chart.

  • How to Download Expert Advisor?
  • How to install an Expert Advisor in MetaTrader 4?
  • How to install an Expert Advisor in MetaTrader 5?
  • How to Download Indicators?
  • How to install the Indicator in MetaTrader 4?
  • How to install the Indicator in MetaTrader 5?
  • How to Save the “Set” file?
  • How to Load the “Set” file?

Attention! If you have purchased our software through the market MQL5.com, then you can read the article How to install a trading robot from Market MQL5.

How to Install Expert, Robot, EA, and Expert Advisor?

Video Thumbnail

1. In your terminal, open the common folder: Menu > File > Open Data Folder:

Open Data Folder in MetaTrader

2. Copy the advisor file .ex4 (.ex5) to the specific folder:

All Installation Folders

Or copy it to the folder where you installed MetaTrader, ensuring that MetaTrader is closed.

MetaTrader Installation Folder

and run your MetaTrader 4 (MetaTrader 5).

3. Open the window “Navigator” and set the Expert Advisor to the chart (Chart).

Open by clicking the “+” tab “Expert Advisors” (Expert Adviser) and find your Expert Advisor (EA) in the list of advisors.

Open the chart (you can open multiple windows with charts of selected currency pairs and set Experts on each chart separately!).

Navigator Window in MetaTrader

4. Allow Live Trading and AutoTrading Button:

In the advisor settings window, enable the checkbox “Allow Live Trading” and click OK.

Allow Live Trading Button

5. Press the top button “Autotrading” (AutoTrading / Algotrading).

The button should be green.

The SMILE advisor in the right corner of the currency pair’s window should be smiling.

EA Smiling Indicator
EA Not Smiling Indicator

8. Allow Live Trading (Double-click on this smile or press F7)

Allow Live Trading Button

6. Check that the Trading Expert Advisor is Active

Active Expert Advisor Indicator

EAPADPRO and Advisers from EXPFOREX Green and Red Smile

Suppose you installed the EA from Expforex, after installing the program on a chart.

In that case, our program will create an information panel EAPADPRO.

The EA status has 2 modes and here are 8 reasons why the advisor can stop:

EA Works – The Advisor works fine. Wait for the signal, or wait until the advisor accompanies the deals. A common error is not detected!

EA Working

EA Doesn’t Work – The Expert Advisor does not work. The following lines describe the reasons for stopping the operation:

Reasons for EA Stopping

Reasons Why Expert Advisor Does Not Work:

  1. “Stop TRADING” – You press the button “Stop Trading” and the Expert Advisor stops! It will not execute the algorithm. Open, close, modify the position, the order, etc. The Advisor will stop completely until you press the button “START TRADING” again.
  2. “ONLY MODIFY” – You pressed the button “MODIFY ONLY“. Now, the Expert Advisor is entitled only to modify the already opened trades and orders without opening new signals!
    • Accompanying this position: Stop-loss, take profit, closing of total gains and losses, trailing stop, averaging, additional trend openings, and other features participating in the strategy.
    • When the “MODIFY ONLY” button is pressed, the Expert Advisor will not process any new signals from the strategies and indicators.
  3. “AutoTrading Check” – Check the button “AutoTrading / Algotrading” on your terminal:
    1. AutoTrading Enabled Automatic trading is allowed, and trading functions in running programs are approved for use.
    2. AutoTrading Disabled – Automated trading is prohibited while running programs will work, although trading functions cannot be performed.
  4. “Allow Live Trading Check” – You are not allowed to enable the Expert Advisor to trade on your account:

In the Expert Advisor settings, click “Allow Live Trading“.

Allow Live Trading Settings
  1. “INVEST” – You are trading on an Investment Account with an Invest password. On this account, you are prohibited from trading activities using your password.
  2. “NoSymbol” – Trading is prohibited for this symbol! The broker has banned trading on this symbol. Right-click in Market Watch > Display All Symbols and find a symbol with a suffix (for example, _i, .m, s) and drag it to the chart!
  3. “NOEATRADE” – Trading is prohibited for Expert Advisors on the current account! The broker has banned trading with Expert Advisors on this account. Notify the broker. (“AutoTrading / Algotrading” disabled by the server):
    • There is no connection with the trading server.
    • The trading account has been transferred to read-only mode (archived).
    • The trading account is forbidden on the trade server.
    • Connection to the trading account is made in investor mode.

Additional Features

An advisor can be tested in Strategy Tester. To do this, press Ctrl + R to run the tester, select the advisor, and press Start.

If you want to visually see the EA working before this setup, check the box for “Visualization“.

Article: How to Test EA in Strategy Tester?

Example of Using Exp – TesterPad

Example of Using Exp - TesterPad

Example of Using Exp – Averager

Example of Using Exp - Averager

How to Install the Indicator?

Video Thumbnail

You can set the indicator in the same way as the Expert Advisor.
To do this, copy the indicator to the Indicators folder.

  1. Copy the indicator file .ex4 (.ex5) to the folder C:\Program Files\MetaTrader\MQL4(MQL5)\indicators\ (or the folder where you installed MetaTrader) with MetaTrader closed;
  2. Run MetaTrader;
  3. Open the window “Navigator“;
  4. Click the “+” tab “Custom Indicators” (Indicators) and find the indicator in the list of indicators;
  5. Set the indicator to the chart of the required currency pair;
Installing the Indicator

How to Install the Script?

  1. Copy the script file .ex4 (.ex5) to the folder C:\Program Files\MetaTrader\MQL4(MQL5)\scripts\ (or the folder where you installed MetaTrader) with MetaTrader closed.
  2. Run MetaTrader.
  3. Open the window “Navigator“.
  4. Click the “+” tab “Scripts” and find it in the list of installed scripts.
  5. Set it to the chart of the required currency pair.

The script is installed.

How to Install the Library File?

  1. Copy the library file .ex4 (.ex5) to the folder C:\Program Files\MetaTrader\MQL4(MQL5)\libraries\ (or the folder where you installed MetaTrader) with MetaTrader closed;
  2. Run MetaTrader 4;
  3. The library is installed.

Example of Using Our Library

Our dashboard has a unique code that cannot be added to the experts you buy in open source! You can add our panel as a library.

How to Load the Setup (.SET) File to the Expert Advisor?

Video Thumbnail

  1. Run MetaTrader.
  2. Open the window “Navigator“.
  3. Click the “+” tab “Advisors” (Expert Advisor) and find it in the list of advisors.
  4. Set an Expert Advisor to the chart of the required currency pair.
  5. In the chart, right-click and select “Expert Advisors” > “Properties“, or press F7.
  6. Expert Advisor Properties
  7. In the opened window, select the “Inputs” tab and click “Load“.
  8. Load Settings File
  9. Select the settings file .set and click “Open“.
  10. EA settings loaded.

Additional Articles

Questions?

If you have any questions, please ask them. We don’t sell you a pig in a poke.

Each of our products can be tested before purchase.

We appreciate your feedback and wishes for our products and strive to maintain high-quality standards.

Thank you for being with us!

Do you have a question?

Leave a Reply

Your email address will not be published. Required fields are marked *

2 responses to “How to install Expert Advisor and indicators to the MetaTrader terminals”

  1. синяя ручка Avatar
    синяя ручка

    Почему на главном меню (где есть файл, вид, графики….) нет вставки? Я на мт5 совсем недавно, может быть еще не разобрался до конца. Мне очень необходимы графические фигуры, линии для графического анализа))). Можно ли настроить так, чтобы вставка появилась

    1. Expforex Vladislav Avatar

      В мт5 есть меню Вставка!

This post is also available in: English Українська Portuguese Español Deutsch Chinese Русский Français Italiano Türkçe 日本語 한국어

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


     

    Risk Warning:


    Past trading performance does not guarantee future results.

    Trading foreign exchange on margin carries a high degree of risk and may not be suitable for all investors.

    Be aware that using trading robots involves substantial risk, and you could lose more than your initial investment.

    Please proceed with caution, assess your financial situation carefully, and consider seeking advice from a qualified professional.

    Disclaimer

    This website uses cookies to improve your experience. By using this website you agree to our Data Protection Policy and Disclaimer.
    Read More