MetaTrader 5 Auto-Sync Setup
Install the TradeLog EA on MetaTrader 5 for automatic trade synchronization
The MetaTrader 5 setup process is nearly identical to MetaTrader 4. TradeLog provides a separate EA compiled for the MT5 platform (.ex5 file) that handles the differences in MT5's trade execution model, including netting and hedging modes.
Prerequisites
- A TradeLog account with an active subscription.
- MetaTrader 5 installed on your computer.
- An API key generated from TradeLog Settings.
Step 1: Generate an API Key
- 1In TradeLog, go to Connections.
- 2Click "Generate API Key" under the MetaTrader section.
- 3Copy the generated API key.
Step 2: Download and Install the EA
- 1Download the TradeLog EA (.ex5 file) from Connections.
- 2Open MetaTrader 5 and go to File > Open Data Folder.
- 3Navigate to MQL5 > Experts.
- 4Copy the downloaded .ex5 file into the Experts folder.
- 5Restart MetaTrader 5 or refresh the Navigator panel.
Step 3: Configure the EA
- 1In MT5, open the Navigator panel (Ctrl+N).
- 2Find "TradeLog" under Expert Advisors.
- 3Drag it onto any chart.
- 4Paste your API key in the EA settings dialog.
- 5Ensure "Allow Algo Trading" is enabled in Tools > Options > Expert Advisors.
- 6Add "tradelog.cot-reports.com" to the allowed URLs list.
- 7Click OK to activate.
Step 4: Verify the Connection
Open your TradeLog journal and verify that trades appear after closing a position in MT5. The EA syncs closed trades automatically and handles both netting and hedging account types.
MT5 vs MT4 Differences
- MT5 uses MQL5 > Experts folder (not MQL4 > Experts).
- MT5 has both netting and hedging modes; the EA handles both.
- The EA file extension is .ex5 (not .ex4).
- MT5's "Allow Algo Trading" replaces MT4's "Allow DLL imports" option.
If you trade on both MT4 and MT5, you can install the EA on both platforms. They can share the same API key, but make sure each MetaTrader account is linked to a different TradeLog account to avoid duplicate entries.
The EA must remain running for synchronization to work. If MetaTrader is closed, trades taken during that time will be synced retroactively when the EA reconnects.
Was this helpful?