Updated: 2026-03-05
MetaTrader 4 Trade History Export and Analysis: Complete Guide
MetaTrader 4 is still the most widely used forex trading platform in the world, and its built-in reporting is functional but limited. MT4 can show you your closed trade history, but it cannot tell you which setups have positive expectancy over 200 trades, which session times consistently underperform, or whether your losing trades cluster around specific market conditions. Getting that analysis requires exporting your trade history and working with it in a proper journal. This guide covers exactly how to do that.
How to Export Trade History from MetaTrader 4
MT4 offers two practical export methods:
**Account History Report (HTML).** This is the built-in export. In MT4, open the Terminal window (Ctrl+T), click the Account History tab, right-click anywhere in the history list, and select 'Save as Report.' MT4 saves an HTML file that includes all closed positions with entry/exit prices, lot sizes, profit, swap, and commission.
**CSV via Expert Advisor or script.** For automated or recurring exports, you can use a simple MT4 script that writes trade history to a CSV file. If you are comfortable with MQL4, this gives you a cleaner format than the HTML report.
For most traders, the HTML Account History Report is sufficient. Many trading journals can parse the MT4 HTML report format directly.
- •Terminal → Account History → right-click → Save as Report → HTML
- •Include all history, not just the visible date range — scroll to the top first
- •CSV export via MQL4 script gives cleaner format for journals that need it
- •HTML report includes: symbol, open/close time, lot size, open/close price, profit, swap, commission
What the MT4 Trade History Report Contains
Understanding what fields the MT4 report exports is important for knowing what analysis is possible downstream:
**Symbol** — the instrument traded (e.g., EURUSD, GBPJPY, XAUUSD) **Open/Close Time** — timestamp with date and time for both entry and exit **Type** — Buy or Sell (direction) **Lot Size** — position size in standard lots **Open Price / Close Price** — entry and exit prices **S/L and T/P** — stop loss and take profit levels (if set) **Profit** — PnL in account currency **Swap** — overnight interest cost or credit **Commission** — if your broker charges per-lot commissions (ECN accounts)
Notably absent: the reason for the trade (your setup), behavioral state, any pre-trade plan. These must be added by your journal system after import.
- •Symbol, direction, lot size, entry/exit prices and times are always present
- •Swap and commission are included — check if your journal applies them to net PnL
- •S/L and T/P levels are included only if they were set in MT4
- •Setup reason and behavioral state must be added in the journal after import
How to Analyze Your MT4 Trade History
The MT4 built-in summary shows aggregate stats — total profit, total trades, win rate, average win/loss, largest win/loss, and consecutive win/loss streaks. These are a starting point, but they are too aggregated to drive improvement.
The four analyses that change forex trading behavior:
**By session.** London session, New York session, and Asian session produce very different price behavior. Segment your trades by session time and compare win rate and average R. Most traders have a clear best session and a clear worst session.
**By pair.** Do you perform better on major pairs or minors? Do your losses cluster on a specific pair — often one where you are less practiced in reading price structure?
**By day of week.** Monday and Friday often show lower-quality setups as institutional flow is positioning or unwinding. If your data shows negative expectancy on Mondays, that is a tradeable insight.
**By setup type.** If your strategy has multiple setups (e.g., trend continuation vs. reversal), segment PnL by setup. One will likely dominate your edge; the other may be costing you.
- •Session analysis: London vs. New York vs. Asian — your edge is probably session-specific
- •Pair analysis: find which symbols generate your edge and which destroy it
- •Day-of-week: check if Monday or Friday systematically underperforms
- •Setup type: segment by pattern — continuation vs. reversal likely have very different expectancy
Importing MT4 Trades into a Trading Journal
The workflow:
1. Export your Account History from MT4 as HTML 2. In your trading journal, navigate to the import section and select MetaTrader 4 / MT4 as the platform 3. Upload the HTML file 4. Preview the import — verify that symbols are recognized, lot sizes are correct, and PnL is denominated in the right currency 5. Confirm the import
For Tiltless: navigate to Connections → Import → MetaTrader 4. Upload the HTML report. Tiltless will parse the fills, convert lot-based sizing to pip-value PnL, and allow you to add behavioral tags and setup names post-import.
A common issue: if you trade a non-standard account (cent account, or an account denominated in a currency other than USD), verify that the PnL currency is handled correctly. MT4 reports PnL in account currency; your journal may need to know the account currency to convert correctly.
- •Export HTML Account History from MT4 Terminal → Account History tab
- •Import via Connections → Import → MetaTrader 4 in Tiltless
- •Verify: symbol recognition, lot size, PnL currency
- •Non-USD accounts: check that account currency conversion is applied correctly
Going Beyond What MT4 Can Show You
MT4's built-in analysis stops at aggregates. The analysis that drives improvement requires:
**Behavioral context.** Was each trade reactive or planned? What was your emotional state before entry? MT4 cannot tell you this — you have to add it. Even a simple planned/reactive tag on your imported trades will reveal patterns within 30 days.
**Setup-level expectancy.** Not 'my overall win rate is 52%' — but 'my trend continuation setup has 58% win rate and positive R-expectancy, while my reversal setup has 44% win rate and is net negative.' This requires a setup tag on every trade.
**Session-specific behavioral leaks.** Does your FOMO rate spike in the New York open? Do you revenge trade more after losing London session trades? This level of analysis requires behavioral tags combined with session segmentation — and it is not available in MT4 at all.
Related Resources
FAQ
?How do I export my trade history from MetaTrader 4?
Open the Terminal window (Ctrl+T), click the Account History tab, right-click the history list, and select 'Save as Report.' Save as HTML. Make sure you scroll to the top of the history first to include all trades, not just the visible window.
?Can I import MT4 trade history into a trading journal?
Yes. Most trading journals accept the MT4 HTML Account History report. Tiltless supports MT4 import directly — upload the HTML file via Connections → Import → MetaTrader 4.
?Does MT4 track which currency pair I performed best on?
MT4 shows aggregate profit by symbol in the built-in summary. For a proper breakdown with expectancy, win rate, and average R per pair, you need to import into a trading journal and run the segmented analysis there.
?Can I use MetaTrader 4 trade history for forex journaling?
Yes — it is the standard starting point for MT4 forex traders. Export the history, import into a journal, and then add setup tags and behavioral state tags manually or from your session notes. The combination of MT4 fills plus journal context is what produces actionable analysis.
?What is the difference between MT4 and MT5 trade history export?
MT5 offers a similar Account History export process and also produces an HTML report. The field structure is slightly different, and MT5 supports hedging differently from MT4. If you use MT5, verify that your journal supports MT5 import format specifically, as MT4 and MT5 parsers are different.
Import your MT4 history and find your edge
Tiltless parses your MetaTrader 4 trade history and adds the behavioral analysis layer — session breakdown, setup expectancy, and leak detection.
Ask me anything about your trading patterns, performance, or how to improve.