How to export your MT4 and MT5 trade history
Your trade history is the most honest coach you have: it shows what you really do, not what you think you do. Here is how to export it from MetaTrader 4 and MetaTrader 5, in a few clicks, and what to check before you use it.
MetaTrader 5 (desktop)
- Open the Toolbox window (Ctrl+T, or View → Toolbox).
- Click the History tab.
- Right-click in the list and choose the period: All History if you want everything.
- Right-click again → Report → HTML (or Open XML for Excel).
- Save the file. It contains every closed position with open and close times, symbol, size, prices, commission, swap and profit.
In the History tab, you can show Positions, Orders or Deals (right-click). For an analysis of your trades, Positions is the clearest view: one line per trade.
MetaTrader 4 (desktop)
- Open the Terminal window (Ctrl+T).
- Click the Account History tab.
- Right-click → All History. By default MT4 often shows only the last month: without this step, your report is incomplete.
- Right-click again → Save as Detailed Report.
- Save the
.htmfile. Open it in a browser to check it.
On mobile
The MetaTrader apps for iPhone and Android show your history but do not export a full report. Two options:
- Log in to the same account on a computer (MT4/MT5 desktop, or the MT5 web terminal) and export from there.
- Ask your broker: most can send a statement by e-mail, and many send a daily statement automatically.
What to check before you analyse it
- The period. At least 50 to 100 trades, ideally several months. Below that, any "habit" may just be chance.
- All accounts. If you trade several accounts (or a prop firm account and a personal one), export each.
- The time zone. Times are in your broker's server time, often UTC+2 or UTC+3, not your local time. It matters when you look at sessions and news.
- Costs. Check that commission and swap columns are there: a strategy that wins before costs can lose after them.
- Deposits and withdrawals. They appear in the report as balance lines; they are not trades.
What to look for in your history
Once exported, the useful questions are simple:
- What did you lose on trades opened within a few minutes of a loss?
- How did you do on news days, compared to quiet days?
- Were your biggest losses on positions bigger than usual?
- Which sessions and which markets actually work for you?
The guide on habits that cost traders money goes through these one by one.
CandleGPT does this for you, in MetaTrader
With CandleGPT, you export once or drop the CandleGPT Sync robot on a chart: your closed trades then arrive on their own, and the report shows the habits that cost you money, in dollars.
See plansTrading involves a high risk of losing money. This guide is educational: it is not investment advice and does not tell you what to buy or sell. Past results do not predict future results.