How to install and run EA in MetaTrader
Step 1: Installation of the expert advisor (for example, HATrend).
In the MT4 terminal, click on the "File" tab found in the top navigation menu.
Then click "Open Data Folder" from the drop-down menu.
In your computer's data folder, double-click the "MQL4" folder and then the "Experts" folder.
Transfer the copied HATrend.ex4 file by pasting it into the open Experts folder. Place the files Heiken_Ashi_Smoothed.ex4 and vhf_v1.ex4 in the Indicators folder.
Step 2: Set the proper settings
From the "Tools" menu, click "Options".
In the pop-up box that appears, under "Expert Advisors", make sure the settings are checked as shown below before clicking "OK".
Step 3: Install the EA on the chart
To ensure that the robot is available for installation, update the "Navigator" panel or restart your MT4 trading platform.
Look for the EA under the "Navigator" panel on the left side of your trading platform. Click on the "More" sign and the robots available for use will be displayed.
Install the EA on the MT4 chart by dragging and dropping it into your preferred currency pair and time frame. For example, if the EA is suitable for trading the EURUSD within 4 hour, attach it to that particular chart.
Step 4: Start trading
If the installation is successful, you will see a smiling face in the upper right corner of the MT4 platform. This indicates that your robot is ready to operate.