MetaTrader 4
The same automatic sync for MT4 accounts, using an Expert Advisor (EA) in your terminal.
The MT4 Expert Advisor is still in testing. It has not yet been run in a live MetaTrader 4 terminal.
Steps
- 1In MetaTrader 4, set Account History to All History.
- 2Open Connections in the sidebar, click Add connection and pick MetaTrader 4.
- 3Choose the journal account the trades should go to, or choose "Create new account…" and fill it in. Click Create connection.
- 4Copy the connection token. It is shown only once, so store it before you continue.
- 5Download TradingJournal.mq4 from the wizard. In MetaTrader 4, open File → Open Data Folder → MQL4 → Experts and put the file there.
- 6Open the file in MetaEditor and press F7 to compile it.
- 7In MetaTrader 4, go to Tools → Options → Expert Advisors, tick Allow WebRequest, and add the URL shown in the setup wizard.
- 8Drag TradingJournal onto any chart. Algo Trading must be switched on.
- 9Paste your token into the EA inputs and press OK.
- 10Back in the wizard, click "I have done this". The page checks every 5 seconds until the first sync arrives.
Good to know
- The MT4 EA checks the account history every 5 seconds and sends new closed trades.
- No MetaTrader password leaves your terminal. The connection only holds the token.
- If a sync fails, the reason is shown under the connection on the Connections page.
- A trade that is sent twice is counted once.
- Trades go to the journal account you chose in the wizard. The EA does not create journal accounts by itself.
- To disconnect, use Revoke on the connection in the Connections list.