Installation Guide
Follow these simple steps to install Expert Advisors, indicators, and source code on MetaTrader 4 or MetaTrader 5.
What's inside your ZIP file?
Extract the downloaded ZIP file before installing. The package may contain these folders and files:
Important — package contents depend on the product you purchased: Source Code is supplied only when the product listing explicitly includes it. Presets / .set files are supplied only when the product description says presets or set files are available. WebRequest setup is needed only when that specific EA requires it. These items are not included or required automatically with every purchase.
Install on MetaTrader 4 (MT4)
Use this method for MT4 files only: .ex4, .mq4, and MT4 indicators.
Open the MT4 Data Folder
Open MetaTrader 4, click File → Open Data Folder.
Copy the files to the correct folder
For an EA, open MQL4 → Experts. For an indicator, open MQL4 → Indicators. Copy the matching files into the correct folder.
Refresh the Navigator
Return to MT4. In the Navigator, right-click Expert Advisors or Indicators and select Refresh. Restart MT4 if the file is not listed.
Attach the EA to your chart
Drag the EA from Navigator onto the desired chart. Review its settings, enable Allow live trading if needed, then click OK. Turn on the AutoTrading button in MT4.
Install on MetaTrader 5 (MT5)
Use this method for MT5 files only: .ex5, .mq5, and MT5 indicators.
Open the MT5 Data Folder
Open MetaTrader 5 and select File → Open Data Folder.
Copy the files
For an EA, open MQL5 → Experts. For an indicator, open MQL5 → Indicators. Copy the relevant files into the matching folder.
Refresh the Navigator
In MT5, press Ctrl + N if Navigator is hidden. Right-click Expert Advisors or Indicators and choose Refresh.
Attach and enable Algo Trading
Drag the EA onto a chart, review its Inputs and Common tabs, enable Allow Algo Trading if required, then click OK. Turn on Algo Trading in the MT5 toolbar.
Install a Custom Indicator
The installation is similar to an EA, but the destination folder is different.
MT4 Indicator
MQL4 / IndicatorsCopy the .ex4 indicator file into this folder. If you receive an .mq4 source file, compile it first.
MT5 Indicator
MQL5 / IndicatorsCopy the .ex5 indicator file into this folder. If you receive an .mq5 source file, compile it first.
After copying, refresh the Navigator, then drag the indicator onto your chart. Indicators do not execute trades by themselves.
WebRequest Setup (Only If Required)
Skip this section unless the product page or product-specific instructions explicitly tell you to enable WebRequest.
- Open MetaTrader and go to Tools → Options (or press Ctrl + O).
- Open the Expert Advisors tab.
- Tick Allow WebRequest for listed URL.
- Copy each URL from the product's WebRequest folder or instructions and add it to the list.
- Click OK, then restart the EA if needed.
Load a Preset (.set) File
Presets are optional saved input configurations. Use this only when a .set file is included.
- 1Attach the EA
Drag the EA from Navigator onto your chart. The Expert properties window opens.
Expert - PropertiesAboutCommonInputsExpert settingsMT4 • EA Properties - 2Open the Inputs tab
Click Inputs in the Expert properties window.
Expert - PropertiesAboutCommonInputsClick InputsLots0.01StopLoss100TakeProfit200 - 3Click Load and select the .set file
In MT4, the Load button is at the bottom of the Inputs tab. Browse to the supplied .set file and open it.
InputsSelect LOADLots0.01Risk1.0LoadSaveReset - 4Review settings and click OK
Check the loaded values, then click OK to attach the EA with those settings.
ConfirmApply loaded inputsSettingsLoadedCancelOK ✓
- 1Attach the EA
Drag the EA from Navigator onto your chart to open the Expert properties window.
Expert - PropertiesCommonInputsExpert settingsMT5 • EA Properties - 2Select the Inputs tab
Click Inputs to display the EA parameters.
Expert - PropertiesCommonInputsClick InputsVolume0.01Stop Loss100Take Profit200 - 3Click Load and choose the .set file
In MT5, use Load at the bottom of the Inputs tab, browse to the supplied .set file, then open it.
InputsSelect LOADVolume0.01Risk1.0LoadSaveReset - 4Check values and click OK
Confirm the parameters are correct, then click OK to apply the preset to the EA.
ConfirmApply loaded inputsInputsLoadedCancelOK ✓
MT4 vs MT5: The overall process is similar, but the properties window layout and parameter labels may differ by platform and EA. Always load an MT4 .set file into the MT4 version of the EA, and an MT5 .set file into the MT5 version. Do not use a preset made for a different EA or platform. You can save your own configuration with Save. Test settings on a demo account or in Strategy Tester before live trading.
Use and Compile Source Code
Source code lets you inspect or modify the program. It must be compiled to create a file that MetaTrader can run.
Open MetaEditor
Open MT4 or MT5 and press F4. You can also click the MetaEditor button in the toolbar.
Open the main source file
Open the main .mq4 or .mq5 file from the correct Experts or Indicators folder. Keep any supplied .mqh include files and supporting folders in their required locations.
Set CPU to X64 Regular (MT5 project, when available)
For an MT5 project, open Project → Properties and set CPU: X64 Regular. This is the standard compatibility target. Avoid AVX/AVX2/AVX512 unless you specifically need them and know the target computer supports them.
Compile the source
Press F7 or click Compile. Check the Errors/Toolbox panel. A successful build creates an .ex4 file (MT4) or .ex5 file (MT5). Aim for 0 errors; review warnings too.
Return to MetaTrader
Refresh the Navigator. Attach the newly compiled EA or indicator to the chart.
Common Errors & Solutions
Check the Experts and Journal tabs at the bottom of MetaTrader for the exact message.
“Trading Disabled by Broker”
This message indicates that the broker or trading account has disabled or restricted trading. It is not an EA installation error and cannot be fixed by changing the EA settings.
If MetaTrader displays “Trading disabled by broker” or a similar message, contact your broker's customer support team. Ask them to check the trading permissions for your account and the affected symbol.
Check the correct Data Folder and destination folder, confirm MT4/MT5 file compatibility, then right-click Navigator → Refresh or restart the terminal.
MT4 cannot run .ex5 files, and MT5 cannot run .ex4 files. Use the correct platform version. If you have source code, compile it in the matching MetaEditor.
Enable AutoTrading (MT4) or Algo Trading (MT5), check Tools → Options → Expert Advisors, and allow trading in the EA's Common settings when required.
Only if this EA requires WebRequest: confirm it is enabled and every product-specific URL is added exactly as supplied. Check your internet connection, firewall, and whether the service is online. Otherwise, this step does not apply.
Keep the ZIP folder structure intact. Make sure all supplied .mqh, library, and resource files are in their required locations before compiling.
Check trading hours, free margin, lot size, symbol specifications, minimum stop distance, and broker trading conditions. These are trading conditions, not necessarily installation faults.
Check the EA status icon, Auto/Algo Trading, symbol and timeframe, input filters, account permissions, market hours, and the Experts/Journal messages. Some strategies wait for a valid signal.
Compile the main source file in the matching MetaEditor. Read the Errors panel, open the reported line, and check missing dependencies or code changes. A warning is not the same as an error.
Video Tutorials & Helpful Resources
Watch these step-by-step guides if you prefer visual instructions. Video links open on YouTube or the MQL5 website.
Tip: Video demonstrations may use a different EA or broker. Follow the installation folder and product-specific instructions supplied with your MyMQLMarket purchase.
Run Multiple MT4 / MT5 Terminals on One PC or VPS
Install separate terminal instances when you need to operate multiple trading accounts at the same time.
This method works on a Windows desktop, laptop, or Windows VPS. Each installation should have its own destination folder and its own terminal shortcut. The number of terminals you can run depends on available CPU, RAM, storage, network quality, and broker requirements.
C:\\Trading\\MT5-Broker-AInstall the first MT4 or MT5 instance in its own folder.C:\\Trading\\MT5-Broker-BRun the installer again and select a different destination folder.C:\\Trading\\MT5-Account-03Repeat the process for every additional terminal you need.Download the correct installer
Download MT4 or MT5 from your broker or the official MetaTrader source. Use the correct platform for the trading account.
Open installer settings
Before installation, select Settings (if shown). Change the installation directory to a new folder with a clear name, such as MT4-Broker-A or MT5-Live-02.
Install the next instance separately
Run the installer again for each additional terminal. Always choose a different folder. Do not install multiple copies into the same directory.
Rename each shortcut
Use clear names such as MT4 — Live Account, MT5 — Demo, or MT5 — Broker B. This reduces the risk of trading on the wrong account.
Launch and sign in to each terminal
Open each installation from its own folder or shortcut. Sign in using the matching account number, password, and broker server.
Install the EA or indicator in each terminal
In each terminal, use File → Open Data Folder. Install the EA and indicators into that terminal's own MQL4 or MQL5 folders. Repeat for every instance that needs the product.
Do not assume that installing an EA into one MT4/MT5 instance automatically installs it in the others. Open File → Open Data Folder from each terminal and install the files separately.
Optional: Portable Mode (Advanced Users)
MetaTrader 5 supports Portable Mode. It stores terminal data in the installation directory rather than the standard Windows user data directory. This is an advanced setup and requires write permission to the installation folder. MetaQuotes documents launching the terminal with the /portable parameter. For most users, separate standard installations are simpler and recommended.
"C:\\Trading\\MT5-Broker-A\\terminal64.exe" /portableFor MT4, the executable is usually terminal.exe; for MT5, it is usually terminal64.exe. Portable Mode should be configured carefully. If the terminal was previously used in standard mode, its existing data is not automatically moved into the installation folder.
VPS resource guidance: Running many terminals and charts with multiple EAs increases CPU and RAM usage. Monitor Windows Task Manager, avoid opening unnecessary charts, and choose a VPS specification suitable for the number of terminals and strategies. There is no universal safe maximum number of terminals.
License Issues & Replacement Claims
Contact us promptly if your purchased product has a license or activation problem.
If you encounter a product license, activation or authorization issue, contact MyMQLMarket support as soon as possible.
Replacement claims must be submitted within a maximum of 14 days from the order date. Eligible customers may claim a replacement product. Contact our support team so we can review the order and assist with the claim.
- Your order number and order date.
- The product name and MetaTrader version (MT4 or MT5).
- A screenshot or exact text of the license / activation error.
- Your purchase email address.
Please contact support within the stated 14-day period. Replacement eligibility and the appropriate replacement product will be reviewed by our support team based on the order and reported issue.
Before you start trading
Confirm the correct platform, symbol, timeframe, lot size, and EA settings. Test on a demo account first. Trading involves risk; past performance does not guarantee future results.
Still need help installing your product?
Contact our support team and include your product name, MetaTrader version, and a screenshot of the error message or Experts log.