Skip to content

Help Centre

153 guides on importing trades, connecting brokers and everything else in RizeTrade.

Import trades from MetaTrader 4

Export your MetaTrader 4 Account History as an HTML report, then upload it in Rize Trade under Add Trades > File upload with broker set to MetaTrader 4.

MT4 imports are HTML only (.htm or .html, up to 50 MB). For the shared upload flow across brokers, see How to import your trades.

Before you export

Set these up in MetaTrader 4 so Rize Trade can read the report.

  • English is the safest language. Rize Trade also recognises the Closed Transactions section in Spanish, German, French, Italian, Portuguese, Polish, Russian, Turkish and Chinese reports. If a report in another language does not import, go to View > Languages > English in the top bar and export again.
  • Use your broker's MT4 build. Download MetaTrader 4 from your broker (for example forex.com), not a generic MetaQuotes install, when your broker ships its own build.
  • Can't find the Terminal window? Click the Terminal icon in the header to open it.

Export Account History from MetaTrader 4

Save a closed-trade HTML report from the desktop Terminal's Account History tab.

  1. Open the MetaTrader 4 desktop application.
  2. In the Terminal window, select the Account History tab.
  3. Right-click in the account history and choose a time period: All History, Last 3 Months, Last Month, or Custom Period.
  4. Right-click again and select Save as Report.
  5. Save the file as HTML (.htm or .html).
  6. Upload that HTML file in Rize Trade using the steps below.

Tip: Rize Trade reads the Closed Transactions section only. It stops at Open Trades or Working Orders, so open positions in the same report are not imported.

Upload in Rize Trade

After you have the HTML file, import it from Add Trades with MetaTrader 4 selected. For the general upload flow, see How to import your trades. MT4-specific settings:

  • Set broker to MetaTrader 4.
  • Set Time zone to match the timestamps in your report. Required. There is no Date Format selector for MetaTrader 4.
  • Set File Currency to the currency of the account in the file (required). The control shows Select currency until you pick a code.
  • Accepted type: HTML only (.htm or .html). Max 50 MB. If your file is larger, export a shorter period and upload multiple files. See "File too large": how to break up your import file.

After upload, open Settings > Import History to confirm status, trade count and duplicates. Full walkthrough: View Import History Logs.

Tip: If times look shifted after a successful import, fix Time zone and re-upload. See Why are my entries and exits on the wrong dates?. If status stays queued or fails after upload, see Import queued or something went wrong.

What Rize Trade reads from the report

Each closed trade in Closed Transactions becomes an entry and an exit. Side, size, prices and commission come from the report row.

  • If Type is buy, the entry is BUY and the exit is SELL. If Type is sell, the entry is SELL and the exit is BUY. Rows with any other type are skipped.
  • Commission on the row is split evenly across entry and exit (half on each leg). If the row has no close time or close price, the whole commission stays on the entry.
  • Trades are stored as forex when the symbol classifies as forex. Symbols classified as stock, future or index are stored as CFD.

Closed Transactions row fields

Rize Trade expects closed-trade rows with these 14 cells in order:

| Field | What it is | | --- | --- | | Ticket | Trade ticket id | | Open Time | Entry date and time | | Type | Direction (buy or sell) | | Size | Trade size | | Item | Symbol | | Price | Open (entry) price | | S/L | Stop loss | | T/P | Take profit | | Close Time | Exit date and time | | Close Price | Exit price | | Commission | Total commission (split half/half on import) | | Taxes | Taxes on the row | | Swap | Swap on the row | | Profit | Profit on the row |

Rows that are skipped

These rows are not turned into trades:

  • Rows whose type is not a plain buy or sell: cancelled rows, balance and credit rows, limit or stop order rows, and rows with an empty type
  • Rows with a size of 0 (the empty side of a Close By operation)
  • Rows missing symbol, open time, size or open price

Why your import might be rejected

When something is off, Rize Trade shows a clear message. MT4-specific rejections are below. For generic errors (file too large, wrong file type, empty file, missing account or time zone), see Fix any import problem.

Wrong File Type (not HTML)

Message: Wrong File Type: MetaTrader 4 imports need the HTML statement. Export the statement as HTML from your platform and upload that file.

Cause: The file is not .htm or .html. MT4 file upload accepts HTML only.

Fix: In MetaTrader 4, use Save as Report and save as HTML, then upload that file.

No valid trades found in file

Message: No valid trades found in file.

Cause: The file was readable, but no closed-trade rows passed the checks. Common reasons: the report is in a language Rize Trade does not recognise, there is no Closed Transactions section with filled trades, or every row is cancelled, balance, limit/stop, empty type, or missing symbol, open time, size or open price.

Fix: Switch MT4 to English, export Account History again for a period with closed trades, use your broker's MT4 build, and upload the fresh HTML report.

Failed to parse MT4 file

Message: starts with Failed to parse MT4 file: followed by more detail.

Cause: The file structure could not be read as an MT4 Account History HTML report.

Fix: Export again with Save as Report and HTML from Account History. Keep the file in English and avoid heavily edited copies of the report.

Was this helpful?