MetaTrader 5
Trading Journal Integration
Import your MetaTrader 5 trade history into PipJournal. Supports both netting and hedging modes with full trade lifecycle tracking.
Start Free TrialNo credit card required
Key Features
Full MT5 trade history import
Import your complete MT5 trade history including deals, positions, and orders. PipJournal processes the MT5 export format with support for both netting and hedging account modes.
Netting and hedging mode support
MT5 supports two position management modes — netting (single position per pair) and hedging (multiple positions per pair). PipJournal correctly handles both modes, reconstructing trade lifecycles from individual deals.
Multi-asset pair detection
MT5 supports forex, indices, commodities, and crypto. PipJournal auto-detects the instrument type and applies the correct pip definition and lot size conversion. Your forex analytics remain clean even if you trade other instruments.
Commission and swap tracking
MT5's detailed export includes per-deal commission charges and swap costs. PipJournal imports these figures and tracks your true net P&L after all execution costs.
How to Connect
Open MT5 History
In MetaTrader 5, open the Toolbox panel (Ctrl+T) and click the 'History' tab. Right-click in the history area and select the date range — choose 'All History' for a complete export, or set a custom date range.
Export deals as CSV
Right-click in the History tab and select 'Deals'. Then right-click again and choose 'Export' or 'Report'. Save the file as CSV or HTML. The deals export contains the granular data PipJournal needs to reconstruct full trade lifecycles.
Upload to PipJournal
In PipJournal, navigate to Import and upload your MT5 export file. PipJournal auto-detects the MT5 format and shows a preview of your trades. The system reconstructs positions from individual deals automatically.
Verify position reconstruction
PipJournal reconstructs complete trades from MT5's deal-level data. Review the preview to confirm that entries, exits, partial closes, and scale-ins are grouped correctly under their parent positions.
Import and analyze
Click Import to process your trades. All metrics are calculated immediately — pip-based P&L, session tags, win rate, drawdown, and execution costs. Your data is ready for analysis and the AI co-pilot starts detecting patterns.
How to Import Your MT5 Trades into PipJournal
MetaTrader 5 is the next generation of the MetaTrader platform, offering expanded instrument coverage, improved execution, and a deal-based trade architecture. More brokers and prop firms are migrating to MT5, making it increasingly important for trading journals to support its unique data format.
PipJournal fully supports MT5 imports — including the deal-based architecture, netting mode position reconstruction, and multi-asset instrument detection. Whether you run MT5 in hedging mode (like MT4) or netting mode (single position per pair), PipJournal handles both correctly.
Step-by-Step Setup Guide
Step 1: Open your MT5 trade history
Launch MetaTrader 5 and open the Toolbox panel by pressing Ctrl+T. Click the History tab to view your trade history.
By default, MT5 may show only recent history. Right-click in the history area and select All History or set a Custom Period to control the date range. For your first PipJournal import, select All History to capture your complete trading record.
Step 2: Export deals as CSV
The key difference from MT4: export your Deals, not your Orders or Positions.
Right-click in the History tab and make sure you are viewing Deals (not Orders or Positions). Deals contain the granular execution data PipJournal needs — individual entry fills, partial closes, and final exits.
Right-click again and select Export or Report. Save the file to your computer in CSV format. If only HTML is available, PipJournal can process that format as well.
Step 3: Upload to PipJournal
Log in to PipJournal and go to Import > Upload CSV. Upload your MT5 export file. PipJournal auto-detects the MT5 format and distinguishes it from MT4 exports.
The system reconstructs complete trade positions from individual deals. You will see a preview showing reconstructed trades — with entries, partial exits, and full closes grouped under parent positions.
Step 4: Verify position reconstruction
This step is unique to MT5 imports. Because MT5 records trades as individual deals, PipJournal must reconstruct the full trade lifecycle.
Review the preview to confirm:
- Entry deals are correctly matched to their exit deals
- Partial closes are grouped with their parent position
- In netting mode, position size changes are tracked accurately
- Deal timestamps and prices look correct
If anything looks off, you can adjust the import settings or contact support.
Step 5: Import and start analyzing
Click Import to finalize. PipJournal processes all deals, calculates pip-based metrics, assigns session tags, and builds your performance dashboard. The AI co-pilot begins pattern analysis immediately.
What Data Gets Imported
MT5’s deal export includes:
- Deal ID — unique identifier, used for duplicate detection
- Position ID — links multiple deals to a single trade position
- Open time — deal execution timestamp
- Symbol — currency pair or instrument
- Type — buy or sell, entry or exit
- Volume — lot size per deal
- Price — execution price per deal
- Commission — per-deal broker commission
- Swap — overnight financing charges (on close deals)
- Profit — realized P&L per deal
PipJournal reconstructs from this data:
- Complete trade positions — entry to exit, including partials and scale-ins
- P&L in pips — normalized for all pair types
- Session tags — Asian, London, New York based on entry timestamp
- Trade duration — from first entry deal to last exit deal
- Total execution costs — commissions + swap per position
- Net P&L — after all costs
Features for MT5 Traders
Understanding netting vs. hedging mode
Hedging mode works like MT4 — each trade is an independent position. If you buy 1 lot EUR/USD and then buy another 1 lot EUR/USD, you have two separate 1-lot positions. PipJournal tracks each one independently.
Netting mode maintains a single aggregate position per pair. That same two-buy scenario results in one 2-lot position. When you close 1 lot, the position reduces to 1 lot. PipJournal reconstructs the individual entry and exit events from the deal history, so your analytics still show per-trade metrics even in netting mode.
If you are not sure which mode your account uses, check MT5’s account properties. Most retail broker accounts default to hedging mode, while some institutional and prop firm accounts use netting.
Multi-asset handling
MT5 supports forex, indices (US30, NAS100, DAX), commodities (XAUUSD, XAGUSD, XBRUSD), and even crypto on some brokers. PipJournal auto-detects the instrument type and applies the correct calculations:
- Standard forex pairs: pip = 0.0001, standard lot = 100,000 units
- JPY crosses: pip = 0.01
- Gold (XAUUSD): pip = 0.10, standard lot = 100 oz
- Silver (XAGUSD): pip = 0.001, standard lot = 5,000 oz
- Indices: point-based P&L calculation
Your forex-specific analytics (session performance, pair breakdowns) only include forex trades, keeping your analysis clean.
Deal-level execution analysis
Because MT5 records individual deals rather than aggregate positions, PipJournal can provide granular execution analytics. You can see the exact fill price of each entry and exit, compare partial exit prices against each other, and track execution quality at the deal level.
This is especially valuable for traders who scale in and out of positions, as each scaling event is recorded as a separate deal with its own price and timestamp.
MT5-Specific Tips
Export Deals, not Positions. MT5’s History tab can display Orders, Deals, or Positions. Always export Deals for PipJournal import. The Deals view contains the granular execution data needed for accurate trade reconstruction.
Check your account mode. Know whether your MT5 account runs in netting or hedging mode. PipJournal handles both, but understanding your mode helps you verify that imported trades are reconstructed correctly.
Server time matters. Like MT4, MT5 servers run on broker-specific timezones. PipJournal normalizes timestamps, but verify your session tags align with your actual trading times. If your MT5 server uses UTC+2, trades placed at 3 PM server time may be 1 PM UTC — which affects session classification.
Use Position IDs for verification. Each deal in MT5 includes a Position ID that links it to its parent position. If trade reconstruction looks incorrect, check that deals with the same Position ID are grouped together in PipJournal.
MetaTrader 5 gives you advanced execution. PipJournal gives you advanced analysis. Import your MT5 deals, get accurate trade lifecycle reconstruction, and let the AI co-pilot find patterns across your full history — whether you trade in netting or hedging mode. Start importing your MT5 trades today.
Frequently Asked Questions
What is the difference between MT4 and MT5 imports?
MT5 uses a deal-based architecture instead of MT4's order-based architecture. In MT5, a single trade might consist of multiple deals (entry deal, partial close deal, final close deal). PipJournal reconstructs complete trade lifecycles from these individual deals automatically.
Does PipJournal support MT5 netting mode?
Yes. In netting mode, MT5 maintains a single position per pair that changes size as you add or reduce. PipJournal reconstructs the entry and exit events from the deal history to provide accurate per-trade analytics even in netting mode.
Can I import trades from both MT4 and MT5 into the same PipJournal account?
Yes. PipJournal supports imports from multiple platforms and brokers. Your MT4 and MT5 trades are combined in your analytics while maintaining their source platform tags. This is useful if you trade different accounts or are transitioning between platforms.
Does PipJournal handle MT5's multi-asset instruments?
PipJournal is built for forex, but it correctly imports and categorizes other MT5 instruments like indices and commodities. Your forex analytics are not affected by non-forex trades in your import. Gold (XAUUSD) and silver (XAGUSD) are fully supported with correct pip calculations.
How does duplicate detection work for MT5?
PipJournal uses MT5 deal IDs for duplicate detection. If you import overlapping date ranges, deals already in your account are automatically skipped. Only new deals are processed and added to your trade history.
Journal Your MetaTrader 5 Trades With PipJournal
Import your MetaTrader 5 trade history, get pip-based analytics, and let the AI co-pilot spot patterns in your trading behavior.
Start Free TrialNo credit card required