Guides / How to import your MetaTrader 5 history into EdgeForge

How to import your MetaTrader 5 history into EdgeForge (and MetaTrader 4)

Last updated 1 November 2026. A trading education guide, not financial advice.

MetaTrader 5 can produce a clean report of your closed trades, and EdgeForge reads it directly. You do not need to convert anything: the report goes in as it is, and EdgeForge works out net P&L, sessions and durations for you.

What you need: the MetaTrader 5 desktop program (Windows or Mac). The phone app can only make a PDF report, which EdgeForge cannot read. MetaTrader 5 has no built-in CSV export; its two choices are HTML and Excel (XML), and EdgeForge reads both.

Step 1. Export the report from MetaTrader 5

  1. In MetaTrader 5, open the Toolbox with View, then Toolbox (or press Ctrl+T) and click the History tab.
  2. Right-click in the History list and choose Positions, so that your closed trades are listed one per row. (The wording of this menu varies slightly between versions and brokers.)
  3. Right-click again and choose the period: All history, Last 3 months, Last month or Custom period. Check that the list on screen shows the trades you want.
  4. Right-click once more, choose Report, then HTML or Open XML (MS Office Excel 2007).
  5. Choose a folder and a file name, and save.

The report mirrors what the History tab is showing, so make sure the period and the Positions view are set before you create it.

Step 2. Import it into EdgeForge

  1. Open the Trade Log and press Import CSV/XLSX.
  2. Choose MetaTrader 4 / MT5.
  3. Pick the file you saved.
  4. Look at the preview, then press Import.
The EdgeForge Import Preview after choosing a MetaTrader 5 report: it found 6 new trades, says it recognised a MetaTrader report with P&L including commission and swap, and lists each trade with its date and result
The preview tells you what it recognised and what it found, before anything is added.

What EdgeForge reads from the report

Check the times

MetaTrader report times come from your broker's server clock. EdgeForge's default setting, UTC+2 winter / UTC+3 summer, suits FTMO and most MetaTrader 4 and 5 brokers, so most people change nothing. If your broker uses a different clock, open Accounts, find Broker Server Timezone, choose the right one, and press Recalculate sessions on my existing trades.

The Broker Server Timezone card in EdgeForge, showing the timezone selector and how each trading session maps onto your broker clock
Accounts, then Broker Server Timezone. Sessions are always worked out in New York time; this setting says which clock your times come from.

Good to know

If it does not work

MetaTrader 4

MetaTrader 4 works the same way, through its own report. In MetaTrader 4, open the Account History tab in the Terminal, right-click and choose the period (All History or Custom Period), then right-click again and choose Save as Detailed Report. That saves an HTML statement. Import it with MetaTrader 4 / MT5 exactly as above. EdgeForge reads the Closed Transactions table and skips the balance (deposit) rows and the Open Trades section. Its columns are understood by name, including Item for the symbol and Size for the volume.

These steps follow the platform's own menus and its published documentation. Menu wording can differ between versions and brokers; if yours does, look for the same Report option in the History tab.

See what the reports will tell you. Open the sample journal to see the session breakdown and patterns your imported trades will produce.

View sample journal