MetaTrader 5
Export your trade history from MetaTrader 5 as an HTML report and import it into Tradeways.
MetaTrader 5
Import closed positions from MetaTrader 5 via the built-in HTML account report.
Export from MetaTrader 5
- Open MetaTrader 5 and switch to the Toolbox panel at the bottom of the window.
- Click the History tab.
- Right-click anywhere inside the history list and choose Custom Period to select the date range you want to export.
- Right-click the history list again and select Report (or Bericht in the German version), then choose HTML.
- Save the file to a location on your computer.
The report contains a Positions table with all closed (and open) positions, including entry/exit prices, timestamps, volume, commission, swap, and profit.
Upload to Tradeways


- In the Trade Log, click Add Trades -> File Upload.
- Select MetaTrader 5 as the broker.
- Drag and drop the HTML file onto the upload zone, or click to browse.
- Select the timezone of the MetaTrader 5 server. Timestamps in the report use the server's timezone, so correct selection ensures accurate UTC conversion.
- Review the preview -- check the execution count and grouped trades.
- Click Import to confirm.
Re-importing the same file will not create duplicates -- already-imported executions are skipped.
Supported Data
| Field | Imported |
|---|---|
| Symbol | Yes |
| Direction | Yes |
| Volume (lots) | Yes |
| Entry price | Yes |
| Exit price | Yes |
| Open time | Yes |
| Close time | Yes |
| Commission | Yes |
| Swap | Yes |
| Profit (P&L) | Yes |
| Position ID | Yes |
| Account currency | Yes (auto-detected from report header) |
Symbol Normalization
MT5 brokers often append or prepend suffixes to symbol names. Tradeways automatically normalizes symbols during import:
| Broker Convention | Example | Normalized |
|---|---|---|
Leading # (stock CFDs) | #AAPL | AAPL |
Leading . (CFD prefix) | .EURUSD | EURUSD |
Trailing Cash | XAUCash | XAU |
| Trailing broker code | EURUSD.ecn | EURUSD |
Trailing m/M (micro) | EURUSDm | EURUSD |
Limitations
- HTML format only -- Tradeways parses the Positions table from the MT5 HTML report. CSV exports from MT5 are not supported.
- Open positions -- Open positions (those without a close price or close time) are imported as a single entry execution. They will appear as open trades until a matching exit is imported.
- Server timezone -- MT5 timestamps reflect the broker server's timezone. If you are unsure which timezone your broker uses, check your broker's documentation or the server time displayed in the terminal.
- Report language -- The parser supports reports in English and German. Column headers like
Symbol,Time/Zeit,Type/Typ,Volume/Volumen,Price/Preis,Commission/Kommission,Swap, andProfit/Gewinnare recognized in both languages. - Encoding -- The parser handles UTF-8 and UTF-16 (LE/BE) encoded files automatically.
See Also
- Import overview -- general import workflow and duplicate handling
- Trade Log -- view imported trades