How to Export an MT4 Statement
Use the desktop Account History tab to save an HTML statement. The date range you select determines which closed trades are included.
TradeCostKit editorial · Published 27 November 2026 · Educational examples
Export step by step
Open the desktop MetaTrader 4 terminal and open Terminal with Ctrl+T. Select Account History. Right-click inside the history list and choose All History, Last 3 Months, Last Month or Custom Period. Right-click again and choose Save as Report or Save as Detailed Report. Save the .htm file on your device.
Check before importing
Open the report yourself and confirm the account currency, selected period and closed-trade section. Keep the original private: it may contain your name, account identifier and trading history. Our initial parser supports the English 14-column closed-trade layout, including commission, taxes and swap. Other layouts return an error.
A partial close is not a new full position
A closed row can describe a partial close. The analyzer adds the volume of the closed rows, removes identical duplicate tickets and does not infer the original position count. Open positions and deposits do not belong in closed-trade volume.
If the file is rejected
Do not rename another format to .htm. Check the layout and language. You can normalize supported closed-trade data to the documented CSV schema, preserving signed monetary fields and the original currency. Never combine different currencies without explicit conversion.
Check the platform documentation
MetaTrader official documentation ↗. Platform menus and broker specifications can vary.
Review recorded statement costs · Our editorial approach
Related reading
How to Export an MT5 Trading Report