# How to Connect Forex.com MT4 to Trader Journal

> Connect your Forex.com MT4 account to Trader Journal. Step-by-step setup guide with server names for automatic trade tracking.

**URL:** https://traderjournal.app/broker-setup/how-to-connect-forex-com-mt4-to-trader-journal

---


# How to Connect Forex.com MT4 to Trader Journal

Connecting your Forex.com account to Trader Journal enables automatic trade sync — every closed trade appears in your journal within seconds, no manual entry needed.

## What You Need

- Forex.com MT4 or MT5 terminal installed and logged in
- Trader Journal app installed on iOS or Android
- Your API key from the app: **Settings → Expert Advisor**

## Step 1: Download the EA

In Trader Journal app go to **Settings → Expert Advisor** and download:
- `TraderJournal.ex4` for MT4
- `TraderJournal.ex5` for MT5

## Step 2: Install the EA File

**MT4:**
1. In MetaTrader 4: File → Open Data Folder
2. Navigate to `MQL4 → Experts`
3. Paste `TraderJournal.ex4` there
4. Restart MT4 or right-click Navigator → Refresh

**MT5:**
1. In MetaTrader 5: File → Open Data Folder
2. Navigate to `MQL5 → Experts`
3. Paste `TraderJournal.ex5` there and refresh

## Step 3: Allow WebRequests

Go to **Tools → Options → Expert Advisors**. Check **Allow WebRequests for listed URLs** and add:

```
https://api.traderjournal.app
```

This is required. Without it the EA cannot send data to Trader Journal.

## Step 4: Attach to a Chart

Drag TraderJournal EA from the Navigator panel onto any open chart. When prompted, enter your API key and click OK. Press **Ctrl+E** or click the AutoTrading button to enable it.

The smiley face icon in the chart corner turns green when the connection is live. Your account appears in Trader Journal within 60 seconds.

## Forex.com Server Names

Common Forex.com MT4 servers:
- `FOREX.com-Demo` — demo accounts
- `FOREX.com-1` — US live accounts
- `FOREX.com-UK-1` — UK live accounts
- `FOREX.com-Global-1` — global entity accounts

Forex.com operates under GAIN Capital and its subsidiaries. Your server depends on your registered country. Check the bottom-right of MT4.

## Forex.com-Specific Notes

**US clients:** Forex.com is one of the few US-regulated forex brokers. US NFA rules prohibit hedging (FIFO rule). Trader Journal records all trades in the sequence they close.

**Direct Market Access (DMA):** Forex.com DMA accounts show commission separately. Trader Journal captures both commission and swap in the trade cost breakdown.

**Commodities and indices:** Forex.com offers CFDs on gold, oil, and indices via MT4. These all sync to Trader Journal alongside your forex trades.

## Troubleshooting

**EA shows red face (error):** WebRequests URL is missing or AutoTrading is disabled. Check both.

**Account not appearing in app:** Confirm the API key matches the one in your Trader Journal account under Settings.

**Missing old trades:** The EA only syncs trades from when it was first attached. For historical trades, export your MT4 report as HTML and import it via Settings → Import in the app.

## Summary

Forex.com MT4 and MT5 work seamlessly with Trader Journal. Once the EA is running, your entire trade history builds automatically so you can focus on reviewing your edge.
