MetaTrader 5
MT5 trading journal — import your MetaTrader 5 history
Export your MetaTrader 5 history as a CSV statement and import it with column mapping, a dry-run preview and de-duplication. File import only — no broker credentials, ever.
How MetaTrader 5 import works
File-based import. MetaTrader 5 statements are read as CSV or JSON.
There is no automatic sync. MetaTradee does not connect to MetaTrader 5, does not use the investor password, and never asks for broker credentials or an API key. You export a statement; you upload it. That is the whole integration, and it is deliberately the boring kind — nothing to revoke, nothing to leak.
What the importer accepts
- File types
- .csv, .json, .txt
- Maximum file size
- 20 MB
- Rows per file
- 50,000 — split larger exports
- Spreadsheets
- XLSX is refused; export or re-save as CSV
Archives are not unpacked, so upload the statement itself rather than a ZIP of one. Anything the importer cannot read is refused at the upload step with the reason, before any of it reaches your journal.
Exporting from MetaTrader 5
- 1Open MetaTrader 5 and go to the Toolbox panel (Ctrl+T), then the History tab.
- 2Right-click inside the history grid and choose the period you want — Last Month, Last 3 Months or a custom range.
- 3Right-click again and choose Report. MetaTrader 5 writes reports as HTML or as a spreadsheet (Open XML / OpenDocument) — it has no direct CSV option.
- 4Open the saved spreadsheet and re-save it as CSV. That converted file is the one MetaTradee reads.
The conversion step is not optional. MetaTrader’s own report formats are HTML and spreadsheet formats; none of them is CSV, and an HTML statement will not parse. If your file opens as a web page in a browser, or ends in .xlsx, open it in a spreadsheet application and save it as CSV first.
Importing into MetaTradee
- 1Open Journal → Import and choose your file.
- 2Pick MetaTrader 5 as the source so its column names are recognised automatically.
- 3Check the mapping. Anything auto-detected can be overridden by hand.
- 4Review the preview — this is a dry run and writes nothing.
- 5Confirm. The server re-validates every row before it is written.
Which fields are imported
The MetaTrader 5 mapping recognises these trade fields. Anything the file does not contain is simply left empty rather than guessed:
- symbol
- direction
- entry price
- exit price
- quantity
- stop loss
- take profit
- commission
- swap
- fees
- opened at
- closed at
- notes
Four derived figures — gross P&L, net P&L after commission, swap and fees, the planned reward-to-risk ratio, and duration — are not taken from the file. They are computed at write time by the same code that handles a manually logged trade, so imported and manual trades reconcile exactly.
Reward-to-risk is not a realised R-multiple. It is the ratio of your target distance to your stop distance — a property of the plan, computed before the outcome is known. A realised R-multiple divides what the trade actually returned by the risk accepted at entry, and MetaTradee does not currently compute that figure. If you track it, bring it in as your own column.
MetaTrader 5 specifics
- MT5 labels the opening timestamp simply "Time"; the MT5 mapping recognises it alongside the more explicit "Open Time".
- MT5 statements often use a bare "Price" column for the entry; that is recognised too.
- Volume is reported in lots, and is mapped to quantity.
- MT5 is hedging- or netting-mode depending on the account; either exports fine, but a netting account reports position-level rows rather than one row per ticket.
Limitations, stated plainly
- No automatic or scheduled sync — every import is a file you upload
- Only CSV and JSON statements parse; HTML and PDF exports do not
- Import is a paid feature, starting on Trader at $19 per month
- Open positions are not tracked live; the journal records trades, not a live account
- Backtesting is not available on any plan — trade replay of recorded sessions is
Troubleshooting
The file will not upload. Check the extension: an HTML statement is the usual culprit. Re-export as CSV.
Columns landed in the wrong fields. The mapping step is editable — reassign any column by hand before previewing. Auto-detection is a starting point, not a decision.
Some rows were rejected. Rejected rows are listed with their row number and the reason. They are never silently dropped, so a partial import tells you precisely what did not make it.
I imported the same period twice. Duplicates are detected by content hash against both existing trades and other rows in the same file, and are flagged in the preview before anything is written.
Dates or numbers look wrong. The parser handles MetaTrader’s YYYY.MM.DD HH:MM:SS format and locale-formatted numbers such as 1.234,56. If a value still looks off, the preview will show it before it is committed — that is what the dry run is for.
Frequently asked questions
- Does MetaTradee connect to my MT5 account automatically?
- No. There is no automatic sync and no API connection. You export a statement from MetaTrader 5 and upload the file. MetaTradee never asks for your login, investor password or broker API key.
- Which file format should I export?
- CSV. MetaTrader offers an HTML report by default, and HTML will not parse. If your saved file opens as a web page, re-export it as CSV.
- What happens if I import overlapping periods?
- Duplicates are detected by content hash — against both your existing trades and other rows inside the same file — and are flagged in the preview before anything is written.
- Are my MT5 P&L figures used directly?
- No. Gross P&L, net P&L and the planned reward-to-risk ratio are recomputed on the server from entry, exit, quantity and fees, using the same engine as a manually logged trade, so every figure reconciles across the app. Reward-to-risk describes the plan, not the outcome — a realised R-multiple is a different figure and MetaTradee does not currently compute it.
- Do I need a paid plan to import from MT5?
- Yes. Statement import is a paid feature. The free plan covers manual journalling so you can try the routine before paying.
- Can I backtest my MT5 strategy here?
- No. Backtesting is not available on any plan. What ships is trade replay, which steps through real recorded sessions bar by bar.
Keep reading
- MetaTrader 4 importThe same pipeline, with that platform’s own column names.
- Trading journalWhat happens to the trades once they are in.
- All supported platformsEvery platform with a ready-made mapping, and what is not supported.
- Position size calculatorSize the next trade before you take it.
- Free trading journalStart manually at no cost — import is a paid feature.
- Plans and limitsImport starts on Trader.
Free plan, no credit card, no expiry. Paid plans never auto-renew.
Create a free MetaTradee account