How to export your MT5 trading history (HTML report)

Step by step: save your full MetaTrader 5 trade history as an HTML report — for Deriv MT5 or any broker — and analyse it in PnL Studio.

If you trade on Deriv MT5 (or any MetaTrader 5 broker), your trades aren’t in Deriv’s options statement — they live in your MT5 account. MetaTrader 5 can save your whole history as a report file in a few clicks.

On a computer (MT5 desktop)

  1. Open MetaTrader 5 and log in to the account.
  2. Open the Toolbox (View → Toolbox) and choose the History tab.
  3. Right-click anywhere in the list and pick All history (or the period you want), so everything is shown.
  4. Right-click again → Report → HTML, and save the file.

The report lists every closed position with its open and close times, symbol, volume, prices, commission, swap and profit.

On a phone

The MT5 mobile app shows history but can’t save the report file. Use MT5 on a computer (or the web terminal on a computer if your broker offers it) to export.

A note on times

Report times are in your broker’s server time, which may not be your local time. When you upload a report to PnL Studio you pick the report’s time zone once, so hour and session figures line up with your day.

What you get from it

Upload the report in PnL Studio (Settings → Trading accounts, or straight from the empty screen after connecting) and every page works the same as for Deriv options: results by symbol, session and day, your biggest leak, risk rules, the calendar and the simulator. Upload a newer report later and only the new trades are added.

Quick answers

Can I export MT5 history on my phone?
The MT5 mobile app can show history but cannot save the HTML report. Export it from MT5 on a computer.

Are Deriv MT5 trades in my Deriv statement?
No. Deriv’s options statement and connection cover options (DTrader, Deriv Bot, SmartTrader). MT5 trades are in your MT5 account history.

See this in your own trades

Connect your Deriv account (free, read-only — PnL Studio never sees your password or places trades) and every number opens the trades behind it.

Connect Deriv for free   How it works

More guides