Start free
Documentation

Install the robot on MT4

Install the MT4 expert advisor, fill `ACCOUNT_CODE` and `ROUTING_TOKEN`, then validate the account from the client workspace.

MT4

Install the robot on MT4

Install the MT4 expert advisor, fill `ACCOUNT_CODE` and `ROUTING_TOKEN`, then validate the account from the client workspace.

Updated 11 Apr 2026 00:21
Step 1 Create account
Step 2 Connect broker
Step 3 Paste webhook
Delivery status Received → Routing → ACK → Delivered

Goal

Install TheConnector on MetaTrader 4 and bring the account to a healthy live state.

1. Download the MT4 package

Open Downloads.

  • Download the MT4 package
  • Keep the account details page open while installing
Downloads screenshot
Downloads contains the MT4, MT5 and cTrader packages.

2. Copy the files into MT4

  • Open File > Open Data Folder
  • Copy the expert advisor into MQL4/Experts
  • Copy the required include files into MQL4/Include
  • Restart MT4 or refresh the Navigator
What to check in your interface

MT4 data folder

Check MQL4/Experts and MQL4/Include.

3. Allow TheConnector network URL

MT4 uses WebRequest for the robot connection. In Tools > Options > Expert Advisors, add:

  • https://ws.theconnector.fr

4. Retrieve the account credentials

From Accounts, copy:

  • ACCOUNT_CODE
  • ROUTING_TOKEN
Account details for MT4 screenshot
Account details provide the account code and access key used by the MT4 EA.

5. Attach the EA to a chart

  • Drag TheConnector onto one chart
  • Enable algo trading
  • Allow the required Expert Advisor permissions
What to check in your interface

MT4 EA properties

Check the Common tab and the important permissions.

6. Fill the connection inputs

Fill only the inputs exposed by the current MT4 robot:

  • ACCOUNT_CODE
  • ROUTING_TOKEN

The TheConnector endpoint is built into the package. Do not add broker-specific host or port values unless support explicitly provides a custom build.

7. Read the panel on the chart

The panel should show the TheConnector account, trading account number, broker and live connection state.

What to check in your interface

MT4 panel

Check the panel on the chart with broker and live state.

8. Final validation

  • The account becomes Live in Accounts
  • Transactions receives a test alert if the current plan includes it
  • Orders or the robot panel confirms the first execution result