Installing an Expert Advisor in MetaTrader 5

Copy files into MQL5/Experts and attach the EA to a chart.

Open MetaTrader 5. Choose File → Open Data Folder.

Open MQL5 → Experts.

Copy both the .mq5 source file and the .ex5 compiled file into that folder.

Refresh Expert Advisors in Navigator, or restart the terminal.

Attach the EA to a chart, review inputs, then enable Algo Trading only after demo testing.