Summary: Learn how to manually install custom indicators and scripts in MT4 and MT5. This guide covers locating the correct folder, copying .ex4/.mq4 files, refreshing Navigator, and applying to charts.
Step 1: Download Your Indicator or Script File
Obtain the indicator or script file. It usually comes as .ex4 (compiled) or .mq4/.mq5 (source code). Save it to your computer’s Downloads folder. Screenshot: downloaded indicator file in a folder.
Step 2: Open MT4/MT5 Data Folder
Open your MT4 or MT5 platform. Click “File” → “Open Data Folder” (or “Show Data Folder” in MT5). A new window will pop up showing the platform’s root directory. Screenshot: File menu with Open Data Folder highlighted.
Step 3: Navigate to the Correct Subfolder
For MT4: go to “MQL4” → “Indicators” (for indicators) or “Scripts” (for scripts). For MT5: go to “MQL5” → “Indicators” or “Scripts”. Do NOT put files in the main “MQL4” or “MQL5” folder directly. Screenshot: MQL4 folder tree with Indicators folder highlighted.
Step 4: Copy Your Files
Copy your .ex4/.mq4 (or .ex5/.mq5) files from your Downloads folder. Paste them into the “Indicators” or “Scripts” folder you just opened. Screenshot: paste operation inside the Indicators folder.
Step 5: Restart MT4/MT5 or Refresh Navigator
Close and reopen the platform. Alternatively, right-click inside the Navigator window (Ctrl+N) and select “Refresh”. Your new indicator or script should now appear under “Indicators” or “Scripts” in Navigator. Screenshot: Navigator window showing the newly added indicator.
Step 6: Apply to Chart
Drag the indicator from Navigator onto any chart. A settings window will appear. Adjust parameters as needed and click OK. For scripts, drag and drop once – they run immediately without a settings window. Screenshot: dragging an indicator from Navigator to a chart.
Reference: MetaQuotes Help Desk - Installing Custom Indicators and Expert Advisors.