Direct Installation:
Download the EA from the MQL Community, the official MetaTrader source.
Open MT4 or MT5 (depending on your trading platform).
Click File > Open Data Folder, then navigate to:
MQL4/Experts (for MT4)
MQL5/Experts (for MT5)
Copy the downloaded EA files into the respective folder.
If the EA includes additional files such as libraries (.dll) or settings (.set), copy them into:
MQL4/5 > Libraries (for .dll files)
MQL4/5 > Settings (for .set files)
Restart MT4/MT5.
Open Tools > Options > Expert Advisors, then tick:
Allow algorithmic trading
Allow DLL imports (if required)
Allow WebRequest for listed URLs (if applicable)
In the Navigator window, expand Expert Advisors and locate your EA.
Drag the EA onto a chart window and configure its settings. Click OK to activate it.
Alternative EA Installation (Direct from MetaTrader):
Open MT4 or MT5.
Go to the Code Base tab, right-click and select Expert Advisors.
Choose an EA, right-click and select Download.
A pop-up window will ask if you want to apply the EA to an active chart:
Click Yes to apply it immediately.
Click No to add it to the Navigator window for later use.
If stored in Navigator, drag and drop the EA onto a chart to activate it.