Setup
How to import MetaTrader 5 trades
Create a profile first, then choose either method below. You can upload an HTML report without installing the Expert Advisor or creating a profile key.
Create an MT5 import profile
Use one MT5 profile for either import method.
- In Trade Imports, choose New, then select MetaTrader 5.
- Select the destination trade account and set the Broker server time zone to match the clock in MT5.
Method 1
Automatic sync with the MT5 EA
Install the Trading Vault Expert Advisor when you want MT5 to send trading activity while the terminal is running.
Download the EA and create a key
Get the MT5 EA and the key that connects it to this profile.
- On the profile, select Configure EA, then Download EA to save TradingVaultSync.ex5.
- Select Create profile key and copy the key when it appears. Trading Vault shows it only once.
Install and attach the EA
Finish these actions in the MT5 terminal.
- Select File → Open Data Folder. Copy TradingVaultSync.ex5 into MQL5/Experts/Advisors, creating the Advisors folder if needed, then restart MT5.
- Open Tools → Options → Expert Advisors. Enable Allow WebRequest for listed URL and add the API address shown in Configure EA.
- Open a separate chart and select Insert → Experts → TradingVaultSync.
- In the EA settings, open Inputs, paste the Profile connection key, and select OK.
Turn on automatic sync
In the profile’s Edit settings menu, turn on Automatic sync. Keep MT5 connected and the EA chart open so new activity can be sent to Trading Vault.
- MT5 automatic sync currently supports hedging accounts. Check the selected account type before setting up the EA.
- The EA reads trading activity; it does not place trades. Keep the profile key private.
Method 2
Upload an MT5 HTML report
Use a saved trading report for a one-time or occasional import. This method does not require the EA, a profile key, or an open terminal after export.
Export a trading report
Save the account history you want to import from MT5.
- Open the History tab in MT5 and select the period you want to import.
- Right-click in History, choose Report, and save the HTML version (.html or .htm).
Upload and review the report
Check how Trading Vault will use the report before adding trades.
- Open the MT5 profile in Trading Vault and use Upload trades to add the saved HTML file.
- Review dates, prices, costs, unmatched rows, and invalid rows in the preview.
Confirm the import
Confirm the preview to add the accepted activity to your journal. Upload later reports to the same profile so import history can help identify repeats.
- HTML reports are uploaded manually. Files are limited to 4 MB.
What to know before importing
- Trade imports require an eligible membership. Automatic sync also requires sync access.
If something needs attention
- If new trades do not arrive, check that MT5 is connected, the EA chart is open, WebRequest is allowed, and Automatic sync is on.
- If a report does not parse, export HTML from MT5 and check that the selected profile is MetaTrader 5.
- If imported dates look wrong, check the profile’s Broker server time zone.
File uploads show a preview before confirmation. After importing, import history can help you review unmatched or invalid rows.
