Created
: 2022.09.23
On MetaTrader4 (MT4) / MetaTrader5 (MT5), you can use an automated trading program called Expert Advisor (EA).
Here we will look at how to use an Expert Advisor (EA) on MT4/MT5.
Please note that when using an Expert Advisor (EA) from an external source, you must first install it on MT4/MT5.
Related article: Install Expert Advisor (EA)
Switch between MT4/MT5 tabs to check the steps for each.
In the Navigator, click "+" next to "Expert Advisors". Double-click the Expert Advisor (EA) you want to run, or right-click and select "Attach to a chart".
Or, choose the Expert Advisor (EA) you want to run and drag it to a chart.
The setting window for the Expert Advisor (EA) will open. Click the "Common" tab.
Check "Allow live trading", configure the "Safety" settings and click "OK".
Number |
Item name |
Descriptions |
---|---|---|
1 |
Allow DLL imports |
Check this box if you want to allow the use of DLLs. |
2 |
Allow import of external experts |
Check this box if you want to allow the use of external experts. It's checked by default. |
3 |
Allow modification of Signals settings |
Check this box if you want to allow to change the settings of signals. |
If using an Expert Advisor (EA) that requires web authentication, make sure to check the "Allow DLL imports" checkbox. Expert Advisor (EA) with web authentication limits the Expert Advisor (EA) usage to a specified account number. Refer to the instructions of the Expert Advisor (EA) and allow the use of DLL as necessary.
Click the "AutoTrading" button in the toolbar. Once the Expert Advisor is enabled, the icon will change from red to green.
Make sure that the Expert Advisor (EA) icon in the top-right corner of the chart has a smiley face.
To configure the Expert Advisor (EA), click "Tools" in the menu and select "Options".
In the "Expert Advisors" tab, edit the settings and click "OK".
Number |
Item name |
Descriptions |
---|---|---|
1 |
Allow automated trading |
Allow the use of Expert Advisors (EA). |
2 |
Disable automated trading when the account has been changed |
Switching the logged-in account will disable trading by the running Expert Advisor (EA). |
3 |
Disable automated trading when the profile has been changed |
Changing the chart profile will disable trading by the running Expert Advisor (EA). |
4 |
Disable automated trading when the chart symbol or period has been changed |
Changing the symbol or timeframe of a chart will disable trading by the running Expert Advisor (EA). |
5 |
Allow DLL imports |
Allow the Expert Advisor (EA) to use a dynamic link library (DLL). |
6 |
Allow WebRequest for listed URL |
Allow access to external websites. Enter the URL of the website to which you wish to allow access. |
The DLL option for each Expert Advisor (EA) has a higher precedence than the one on the "Expert Advisors" tab. This DLL option is for setting whether the DLL option should be allowed or not by default.
Click "Insert" in the menu and hover the pointer over "Experts". Choose the Expert Advisor (EA) you want to run.
In the Navigator, click "Expert Advisors". Double-click the Expert Advisor (EA) you want to run, or right-click and select "Attach to Chart".
Or, choose the Expert Advisor (EA) you want to run and drag it to a chart.
The setting window for the Expert Advisor (EA) will open. Check the "Allow Algo Trading" box and click "OK".
Click the "Algo Trading" button in the toolbar.
Make sure that the Expert Advisor (EA) icon in the top-right corner of the chart is now blue.
To configure the Expert Advisor (EA), click "Tools" in the menu and select "Options". (Shortcut keys: "Ctrl"+"O")
In the "Expert Advisors" tab, edit the settings and click "OK".
Number |
Item name |
Descriptions |
---|---|---|
1 |
Allow algorithmic trading |
Allow the use of Expert Advisors (EA). |
2 |
Disable algorithmic trading |
Switching the logged-in account will disable trading by the running Expert Advisor (EA). |
3 |
Disable algorithmic trading |
Changing the chart profile will disable trading by the running Expert Advisor (EA). |
4 |
Disable algorithmic trading when the charts symbol or period has been changed |
Changing the symbol or timeframe of a chart will disable trading by the running Expert Advisor (EA). |
5 |
Disable algorithmic trading |
Disable trading using Python scripts. |
6 |
Allow DLL imports |
Allow the Expert Advisor (EA) to use a dynamic link library (DLL). |
7 |
Allow WebRequest for listed URL |
Allow access to external websites. |
If using an Expert Advisor (EA) that requires web authentication, make sure to check the "Allow DLL imports" checkbox. Expert Advisor (EA) with web authentication limits the Expert Advisor (EA) usage to a specified account number.
Created
: 2022.09.23
Last updated
: 2024.08.28
Nakamaru is a manual production consultant at FINTECS, a company that specializes in creating manuals for their clients.
With a wide range of experience from fintech to entertainment, he presents what user-friendly manuals should be like.
He works with numerous large corporations as an external manual production project manager.
【Business information】
http://www.fintecs.co.jp/profile/
Akira Takagi
Systems engineer, MetaTrader administrator
After graduating from Computer Science at the Uninove, Brazil, in 2014, he has worked on various systems development projects.
He participated as a developer in the launch of forex services in 2019. Since then, he has also been involved in the development of MetaTrader plugins and APIs. He is certified by MetaQuotes as a MetaTrader5 Administrator and active in consulting and advisory as well.
We hope you find this article useful. Any comments or suggestions will be greatly appreciated.
We are also looking for writers with extensive experience in forex and crypto to join us.
please contact us at [email protected].
Disclaimer:
All information and content provided on this website is provided for informational purposes only and is not intended to solicit any investment. Although all efforts are made in order to ensure that the information is correct, no guarantee is provided for the accuracy of any content on this website. Any decision made shall be the responsibility of the investor and Myforex does not take any responsibility whatsoever regarding the use of any information provided herein.
The content provided on this website belongs to Myforex and, where stated, the relevant licensors. All rights are reserved by Myforex and the relevant licensors, and no content of this website, whether in full or in part, shall be copied or displayed elsewhere without the explicit written permission of the relevant copyright holder. If you wish to use any part of the content provided on this website, please ensure that you contact Myforex.
Myforex uses cookies to improve the convenience and functionality of this website. This website may include cookies not only by us but also by third parties (advertisers, log analysts, etc.) for the purpose of tracking the activities of users. Cookie policy