Summary: Export MT4 account history to CSV in minutes. This guide covers history export, data formatting, and equity curve generation for performance tracking.




Step 1: Open MT4 Terminal Window
Launch MT4 and press Ctrl+T to open the Terminal window if not visible. Click the "Account History" tab. Screenshot: Terminal window with Account History tab highlighted.
Step 2: Select Time Range
Right-click inside the Account History area. Choose "All History" for complete data, or select a custom period. Screenshot: Right-click menu showing time range options.
Step 3: Export to Report
Right-click again and select "Save as Report". Choose a location on your computer and save the HTML file. Note: MT4 does not directly export CSV. Screenshot: Save as Report option.
Step 4: Convert HTML to CSV
Open the saved HTML file in Excel or Google Sheets. Select all data (Ctrl+A), copy it, and paste into a new blank sheet. Use "Save As" and choose CSV UTF-8 format. Screenshot: Excel Save as CSV menu.
Step 5: Generate Equity Curve
Open the CSV in Excel. Add a column for cumulative profit. Create a line chart with trade number or date on X-axis and cumulative profit on Y-axis. This is your equity curve. Screenshot: Sample equity curve chart.
Reference: MetaTrader 4 Help - Account History Export.