Install the EA
MyTradr uses a single unified Expert Advisor — Mytradr.mq5 — for all MT5 operations. The EA’s behavior is controlled by a Role input parameter.
Download
Download the compiled EA file (Mytradr.ex5) from your MyTradr dashboard after logging in.
Install
Copy Mytradr.ex5 to your MT5 data folder:
[MT5 Data Folder]\MQL5\Experts\Mytradr\Mytradr.ex5
To find your MT5 data folder: open MetaTrader 5 → File → Open Data Folder.
If you’re running multiple MT5 terminals (e.g., one for master, one for slave), install the EA in each terminal’s data folder.
Enable WebRequests
The EA communicates with the MyTradr server over HTTP. You must allow this in MT5:
- Open MetaTrader 5
- Go to Tools → Options → Expert Advisors
- Check Allow WebRequest for listed URL
- Add the MyTradr server URL
- Click OK
Without WebRequests enabled, the EA cannot send or receive signals. This is the most common setup issue.
Attach to Chart
- In MT5, open the Navigator panel (Ctrl+N)
- Expand Expert Advisors → Mytradr
- Drag
Mytradronto any chart - In the Inputs tab, set the Role:
MASTER— Monitors and broadcasts position eventsSLAVE— Polls and executes signals from masterMASTER_EXPORT— Exports deal history to the trade journal
- Configure the server URL and API key inputs
- Click OK
The EA only needs one chart per terminal — it monitors all symbols regardless of which chart it’s attached to.
Verify
Check the Experts tab at the bottom of MT5. You should see initialization messages confirming:
- Successful config fetch from the server
- Role assignment
- Connection established
Then check the Monitor tab on the MyTradr dashboard — your account should show as connected with a green status indicator.
Roles Reference
| Role | Purpose | Typical Setup |
|---|---|---|
MASTER | Broadcasts signals | Main trading terminal |
SLAVE | Executes signals | Each slave account’s terminal |
MASTER_EXPORT | Exports deal history | Same terminal as MASTER (or separate) |