Setup guide · about 10 minutes
Connect MetaTrader 5 to Journal
The JournalSync Expert Advisor runs inside MetaTrader 5 on your computer and sends every deal, your balance and open positions to Journal. It only reads your account — it never places or changes a trade. Follow the steps in order; every menu name is written exactly as it appears in MT5.
At a glance: what goes where
- JournalSync.mq5
- FileOpen Data FolderMQL5Experts
- Your Journal address
- ToolsOptionsExpert AdvisorsAllow WebRequest
- Your sync key
- JournalSync on a chartInputsSync key
On this page
Log in to your trading account~1 min
- Open MetaTrader 5 on your computer and go to FileLogin to Trade Account.
- Enter your Login (account number), Password (the trading password, not your Exness website password) and Server (for example
Exness-MT5Real8). Tick Save password and click OK. - Make sure you are really logged in:
- The bottom-right corner of MT5 shows a ping such as
45.2 ms, not a red icon orInvalid account. - The Toolbox panel at the bottom (Ctrl + T if hidden) has Trade and History tabs.
- The bottom-right corner of MT5 shows a ping such as
No History tab means MT5 isn't logged in, and the EA will have nothing to send. You can find the server name and reset the trading password in Exness Personal Area under My accounts⋮Account information.
Get your sync key and the EA file~1 min
- In Journal, open AccountsConnect auto-syncMT5 EA.
- Click Generate key and copy the key (it starts with
jrn_). Keep it somewhere safe, such as Notepad — it is shown only once. - Click Download JournalSync.mq5. The file is saved in your
Downloadsfolder with your Journal address already filled in.
One key works for all of your MT5 accounts. Don't share it — anything sent with it lands in your journal.
Put the file in the Experts folder~1 min
- In MT5, go to FileOpen Data Folder. A folder opens in Windows Explorer.
- Open MQL5Experts.
- Copy
JournalSync.mq5fromDownloadsand paste it here. Replace the old file if there is one.
Compile the EA~1 min
- In MT5, click IDE in the toolbar (or press F4). MetaEditor opens.
- In MetaEditor's Navigator, double-click MQL5ExpertsJournalSync.mq5.
- Click Compile (or press F7). The Errors tab at the bottom should say
0 errors. Close MetaEditor.
Don't press Start / F5 in MetaEditor — that starts a separate "JournalSync (debugging)" copy. If it is running, stop it with Shift + F5.
Allow MT5 to reach Journal~1 min
- In MT5, go to ToolsOptions and open the Expert Advisors tab.
- Tick Allow WebRequest for listed URL.
- Double-click add new URL and type your Journal address:
https://mahbub.me/journal
Includehttps://, no/at the end — exactly the address you use in the browser. - Click OK.
Attach the EA and paste your key~2 min
- Open any chart, for example FileNew ChartEURUSD. The symbol doesn't matter.
- Open the Navigator (ViewNavigator or Ctrl + N) and find Expert AdvisorsJournalSync. If it isn't listed, right-click Expert Advisors and choose Refresh.
- Drag JournalSync onto the chart (or right-click it and choose Attach to a chart).
- In the window that opens, go to the Inputs tab:
- Journal URL — already filled in. Leave it.
- Sync key — double-click the Value cell, paste your key, press Enter.
- History sent on first run (days) — how far back to send on the first run (default 90). Use 365 or more for older trades.
- Click OK.
The EA never trades, so it works whether the Algo Trading button is on or off.
Check that it syncs~1 min
- Within 10–20 seconds the top-left corner of the chart shows:
Journal sync: synced 13:05 · 42 deals sent since start (42 new) · history from 2026.08.17 - In Journal, refresh Accounts: the account shows Connected, its balance and Synced just now.
- Your trades appear in Trades and Calendar. If not, check that the account filter at the top is set to All accounts or to this account.
Done. While MT5 is open, new trades reach Journal within seconds. If your computer was off, MT5 sends everything it missed as soon as it starts again.
Accounts the EA adds by itself get a name like
Real ··5770. Click Name it on the account card to rename it.Sync another account
- Log in to the other account with FileLogin to Trade Account. The same EA and key send its trades, and Journal adds the account automatically.
- MT5 is logged in to one account at a time. To sync two accounts live at once, install MT5 a second time into another folder (choose it under Settings in the installer, e.g.
C:\MT5-Account2) and repeat steps 1 and 3–6 there with the same key.
Send older history again
The EA remembers how far it has synced. To send everything again:
- In MT5, open ToolsGlobal Variables (F3), select
JournalSync_<account number>and click Delete. - Right-click the chart → Expert AdvisorsProperties (or click the chart and press F7) → Inputs → set History sent on first run (days) to
365→ OK.
Trades are never saved twice, so re-sending is always safe.
Troubleshooting
Read the text in the top-left corner of the chart, and the JournalSync lines in ToolboxExperts.
| Message on the chart | What to do |
|---|---|
| set your Journal URL and sync key | Step 6: paste the key into Inputs → Sync key. |
| add https://… in Tools > Options > Expert Advisors | Step 5: add the address to the WebRequest list exactly as shown. |
| can't reach … (code 1001) | Turn off your antivirus' HTTPS / web scanning and any VPN, then try again. If that fixes it, exclude MT5 (terminal64.exe) in the antivirus. Check the address starts with https://. |
| MT5 is not logged in to account … | Step 1: log in again with the trading password until the History tab appears. |
| server replied 401 | The key is wrong or revoked. Generate a new one (step 2) and paste it in Inputs. |
| server replied 400 … | Download the latest JournalSync.mq5 and repeat steps 3, 4 and 6. |
| synced … but no trades in Journal | Check the History tab has trades. For older trades see “Send older history again”. Set the account filter to All accounts. |
| No text on the chart | The EA isn't attached. Repeat step 6 — its icon shows in the chart's top-right corner when it runs. |