How to install EA?

How to install EA?

How to install EA

 

1. Save the EA in the "MQL4/MQL5" ("File"-"Open data folder"-"MQL4/MQL5"-"Experts") folder

2. Restart MT4/MT5 or right-click on 'Refresh' on 'Expert Advisors' in the 'Navigator' window, select the corresponding EA from the navigator on MT4/MT5, and "Add to Chart"

 

Detailed steps to install MT4 or MT5 EA in Windows:

 

Select “Open Data Folder” under “File” in the MT4 or MT5 menu.

 

Copy and paste the EA file into the "Experts" folder within the "MQL4" folder for MetaTrader 4 (MT4) or the "MQL5" folder for MetaTrader 5 (MT5) as shown in the Explorer.

Restart MetaTrader 4 (MT4) or MetaTrader 5 (MT5).

 

Launching the EA

 

Once the restart is complete, the added EA will be displayed in the Expert Advisor of the Navigator.

 

The EA operates on the chart you want to trade.

Set the symbol and time frame to be traded, select the chart, and double-click the EA name in the navigator or drag and drop it onto the chart.

In the settings window that appears, check "Allow Algo Trading" on the "Common" tab.

 

Right-click and select properties in the EA navigation tab

On the "Input" tab, set the number of lots etc. as necessary, then click "OK" to start the EA.

 

Finally, click on the "Auto Trading" button for MT4 or "Algorithmic Trading" for MT5 on the toolbar and turn it on (indicated by a green play mark) to start automatic trading.

You can check whether the EA is working by looking at the hat mark at the top left of the chart. When the hat mark is blue, the EA is running, and when it is white, the EA is stopped.

 

EA suspension

If you want to stop after each chart

To stop the EA, right-click on the chart on which the EA is running and select "Expert List" from the menu that appears.

 

Select the EA you want to stop and click the "Delete" button to stop it.

Also, if you close the chart on which the EA is running, the EA will stop.

*Open positions and pending orders will remain, so if you do not need them, you will need to settle them manually.



When stopping an EA running within MT5


Finally, click on the "Auto Trading" button for MT4 or the "Algorithmic Trading" section of the toolbar for MT5, and switch off automatic trading (indicated by a red stop mark) to temporarily halt all EAs running within MT4 or MT5; you can resume trading by toggling automatic trading back on (indicated by a green play mark).

 

*Open positions and pending orders will remain, so if you do not need them, you will need to settle them manually.

 



Precautions when running the EA

・While the EA is running, it is necessary to open not only MT4 or MT5 but also the chart on which the EA is running. If you close it, the EA will stop working at that point.

・It is necessary to maintain a stable communication environment while the EA is in operation. If communication is interrupted, the EA may not operate properly and unintended transactions may occur.

- Even if you stop the EA, your open positions and pending orders will remain, so if you do not need them, you will need to manually settle or cancel orders.