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?
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?
1. In your terminal, open the common folder: Menu > File > Open Data Folder:
2. Copy the advisor file .ex4 (.ex5) to the specific folder:
Or copy it to the folder where you installed MetaTrader, ensuring that MetaTrader is closed.
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!).
4. Allow Live Trading and AutoTrading Button:
In the advisor settings window, enable the checkbox “Allow Live Trading” and click OK.
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.
8. Allow Live Trading (Double-click on this smile or press F7)
6. Check that the Trading Expert Advisor is Active
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 Doesn’t Work – The Expert Advisor does not work. The following lines describe the reasons for stopping the operation:
Reasons Why Expert Advisor Does Not Work:
- “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.
- “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.
- “AutoTrading Check” – Check the button “AutoTrading / Algotrading” on your terminal:
- Automatic trading is allowed, and trading functions in running programs are approved for use.
- – Automated trading is prohibited while running programs will work, although trading functions cannot be performed.
- “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“.
- “INVEST” – You are trading on an Investment Account with an Invest password. On this account, you are prohibited from trading activities using your password.
- “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!
- “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 – Averager
How to Install the Indicator?
You can set the indicator in the same way as the Expert Advisor.
To do this, copy the indicator to the Indicators folder.
- 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;
- Run MetaTrader;
- Open the window “Navigator“;
- Click the “+” tab “Custom Indicators” (Indicators) and find the indicator in the list of indicators;
- Set the indicator to the chart of the required currency pair;
How to Install the Script?
- 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.
- Run MetaTrader.
- Open the window “Navigator“.
- Click the “+” tab “Scripts” and find it in the list of installed scripts.
- Set it to the chart of the required currency pair.
The script is installed.
How to Install the Library File?
- 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;
- Run MetaTrader 4;
- 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?
- Run MetaTrader.
- Open the window “Navigator“.
- Click the “+” tab “Advisors” (Expert Advisor) and find it in the list of advisors.
- Set an Expert Advisor to the chart of the required currency pair.
- In the chart, right-click and select “Expert Advisors” > “Properties“, or press F7.
- In the opened window, select the “Inputs” tab and click “Load“.
- Select the settings file .set and click “Open“.
- 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?
2 responses to “How to install Expert Advisor and indicators to the MetaTrader terminals”
-
Почему на главном меню (где есть файл, вид, графики….) нет вставки? Я на мт5 совсем недавно, может быть еще не разобрался до конца. Мне очень необходимы графические фигуры, линии для графического анализа))). Можно ли настроить так, чтобы вставка появилась
-
В мт5 есть меню Вставка!
-
This post is also available in: English Українська Portuguese Español Deutsch Chinese Русский Français Italiano Türkçe 日本語 한국어
Leave a Reply