Tradewaysdocs

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

  1. Open MetaTrader 5 and switch to the Toolbox panel at the bottom of the window.
  2. Click the History tab.
  3. Right-click anywhere inside the history list and choose Custom Period to select the date range you want to export.
  4. Right-click the history list again and select Report (or Bericht in the German version), then choose HTML.
  5. 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

Import dialog with MetaTrader 5 selected
Import dialog with MetaTrader 5 selected
  1. In the Trade Log, click Add Trades → File Upload.
  2. Select MetaTrader 5 as the broker.
  3. Drag and drop the HTML file onto the upload zone, or click to browse.
  4. Select the timezone of the MetaTrader 5 server. Timestamps in the report use the server's timezone, so correct selection ensures accurate UTC conversion.
  5. Review the preview and check the execution count and grouped trades.
  6. Click Import to confirm.

Supported Data

Every field from the Positions table is imported: symbol, direction, volume (lots), entry and exit prices, open and close timestamps, commission, swap, profit, and position ID. The account currency is auto-detected from the report header.

Symbol Normalization

MT5 brokers often append or prepend suffixes to symbol names. Tradeways automatically normalizes symbols during import:

Broker ConventionExampleNormalized
Leading # (stock CFDs)#AAPLAAPL
Leading . (CFD prefix).EURUSDEURUSD
Trailing CashXAUCashXAU
Trailing broker codeEURUSD.ecnEURUSD
Trailing m/M (micro)EURUSDmEURUSD

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, and Profit/Gewinn are recognized in both languages.
  • Encoding -- The parser handles UTF-8 and UTF-16 (LE/BE) encoded files automatically.

On this page