MetaTrader keeps your whole trading history inside the terminal, and both versions can save it to a file with no script or add-on: MetaTrader 5 exports it as an Excel file and MetaTrader 4 as an HTML statement. SniperJournal reads either one and turns it into a journal in about two minutes. It’s a free trading journal, with no API key and no subscription.
This guide covers which file to save in each version, where the menus are, how to import the file and what to check before anything is saved. If you’d rather not export at all, the last section shows the free MetaTrader agent, which syncs your trades on its own.
Which file to export
SniperJournal recognizes both reports by itself. You pick the file; the format is detected for you.
- MetaTrader 5: the Open XML report — the Excel version of the History tab, saved as ReportHistory plus your account number (.xlsx). One row per closed position, with the commission, swap and profit MetaTrader recorded.
- MetaTrader 4: the Detailed Report — the HTML statement of the Account History tab (DetailedStatement.htm). The plain report (Statement.htm) works too: SniperJournal reads the closed trades from either.
MetaTrader 5 also offers an HTML report in the same menu. Use the Open XML file instead: it’s the one SniperJournal imports from MetaTrader 5. And skip Report → Overview: it opens a statistics page with your balance, ratios and charts, not your list of trades.
Step 1 · Export your history from MetaTrader 5
- Open the Toolbox with View → Toolbox (Ctrl+T) and click the History tab.
- Right-click the list and check that Positions is ticked, so each row is a closed position.
- Right-click again and choose All History. To export only some dates, choose Custom Period instead.
- Right-click the list once more and choose Report → Open XML (MS Office Excel 2007).
- Save the file in a folder you’ll find, such as Documents. MetaTrader names it ReportHistory plus your account number.
After saving, MetaTrader tries to open the file. Without Excel, Windows asks which app to use: close that window. The file is already saved, and you don’t need to open it.
Using MetaTrader 4? Save the Detailed Report
- Open the Terminal window with View → Terminal (Ctrl+T) and click the Account History tab.
- Right-click the list and choose All History. The tab only lists the period you load, and the report saves exactly what it shows.
- Right-click again, choose Save as Detailed Report and save the HTML file. Save as Report gives a shorter statement that works too.
Step 2 · Import the file into SniperJournal
In SniperJournal, select the account (portfolio) the trades belong to, click the + button in the top bar and choose Import CSV File. Despite its name, it takes the Excel and HTML files from MetaTrader too.
Leave File’s timezone on Automatic and drop the file in, or click Select CSV File and pick it.
Step 3 · Check the times and import
SniperJournal names the format it found and shows how many trades it will import, with the first ones and their times. For a MetaTrader 5 report it says MetaTrader Positions CSV, the name of its position list, even though the file is Excel. Nothing is saved yet.
MetaTrader writes every time in the clock of your broker’s server, not yours, and the file doesn’t say which clock that is. Most brokers run their servers on GMT+2 (GMT+3 in summer), so SniperJournal assumes that clock and tells you at the top. The preview shows the times converted to your own timezone: if they look a few hours off compared with when you actually traded, pick your broker’s server timezone in that box, and the preview updates before anything is saved.
Then click Import. The button shows how many trades go in.
What you get
- One trade per closed position: symbol, direction, lots, entry and exit prices with their times, and the profit MetaTrader recorded.
- Commission and swap as fees. Both come from the file, so your net result matches MetaTrader’s. A swap you were paid lowers your costs instead of adding to them.
- Only closed trades. Deposits, withdrawals and positions that are still open stay out.
- Safe re-imports. Trades you already have are skipped, so you can export All History every week and import the whole file again.
- The account currency, on MetaTrader 5. The report states it: an empty portfolio takes it on the first import, and a portfolio with trades in another currency stops the import instead of mixing them.
Common problems
- Only part of your history came through. MetaTrader only exports the period loaded in the tab. Choose All History, or a custom period that covers everything, right before you save the report.
- A prop firm account is missing. Each evaluation or funded account has its own login, and the history tab only shows the account you’re logged into. Log in to each one, export its history and import it into its own portfolio. If a challenge ends or the account is reset, export it while you can still log in.
- The times are a few hours off. MetaTrader uses the broker’s server clock. Pick your broker’s server timezone in the preview before importing. If you already imported, delete those trades first: with new times they count as different trades.
- The file was opened in Excel and saved again. Saving the report as CSV can change numbers and dates. Upload the original file MetaTrader saved.
- MetaTrader 5 saved an HTML file. Export it again with Report → Open XML: that’s the format SniperJournal imports from MetaTrader 5.
- The file has statistics, not trades. That’s Report → Overview. Go back to the History tab and use Open XML.
Prefer automatic sync? The free MetaTrader agent
Exporting takes a minute, but you can skip it altogether. SniperJournal’s MetaTrader agent is free and sends your closed trades to your journal on its own: on MetaTrader 5 it runs inside the terminal and syncs every trade as you close it; on MetaTrader 4 a script sends your history each time you run it. Right after an import, the same window offers it.
The setup has its own step-by-step guides: How to Connect MetaTrader 5 and Sync Your Trades Automatically, How to Connect MetaTrader 4 and Import Your Trades and, if the agent doesn’t connect, MetaTrader 5 Not Connecting? How to Fix It Step by Step. Everything SniperJournal does with MetaTrader is on its MetaTrader integration page.
Save the report, drop it in, check the times. Once a week is enough to keep your journal complete without typing a single trade.