Yes, a MetaTrader 5 trading journal can update itself. Journal Trading provides a free, read-only connector: an expert advisor (EA) that reads your terminal's history and sends every closed position to your journal. No MT5 password is required and no order can be placed. If you prefer not to install anything, CSV import is still available.
The short version
- ▸MetaTrader 5 is MetaQuotes' platform, used by hundreds of brokers for forex, CFDs, indices and commodities.
- ▸Journal Trading's MT5 connector is free, read-only and works with any broker that offers MT5.
- ▸The EA reads closed positions and sends them to the journal every 60 seconds while the terminal is open and the EA stays attached.
- ▸You generate an API key in the journal; it is shown once and can be revoked at any time.
- ▸Commissions, swap and net P&L are imported. Open positions and floating equity are not guaranteed.
- ▸CSV import is the fallback for archives, migrations, or periods before the connector was installed.
Why an MT5 journal is worth the effort
The History tab in MetaTrader 5 is a transaction record, not an analysis tool. It shows deals, commissions and balance, but it does not tell you which setup pays, which session costs the most, or what your performance looks like after a losing streak. A trader can win 55% of trades and still lose money when average losses are larger than average wins. Without aggregation, that imbalance stays hidden.
MT5 is especially common among prop firms and forex brokers. The journal then becomes a compliance tool as well as a progress tool: it lets you compare realised P&L with the daily limit, spot days when you overtraded, and check that risk per trade stayed inside your intended range. Our journal template lists the columns worth adding manually when you want more context than the import provides.
Automation does not remove the need for context. The connector cannot know that a trade was a news spike, a revenge entry, or a setup you had never tested. Add a screenshot, a setup tag and one line about plan adherence to the trades that matter. Over a month, those notes explain the outliers that statistics alone cannot.
How the read-only connector works
An expert advisor is a program that runs inside MetaTrader 5. Most automate strategies; ours is a utility. It reads transaction history and sends it to the journal over HTTPS without ever touching orders. It contains no function to open, modify or close a position.
Authentication uses an API key generated in your Journal Trading account, not your MT5 credentials. You can revoke the key at any time, after which the EA stops sending data. The terminal must stay open and the EA must remain attached to a chart for sync to continue. If you close MT5, nothing is lost on the broker side, but the import resumes at the next launch. For the platform differences, read our MT4 vs MT5 comparison.
What gets imported, and what does not
The import covers closed position history. Here is what you can use, plus the limits to know before calculating statistics.
| Data | Imported | Note |
|---|---|---|
| Account and broker | Yes | Account number and server shown in the journal |
| Ticket and position | Yes | Useful for matching partial closes |
| Symbol and direction | Yes | Broker suffixes can change the symbol name |
| Volume | Yes | In lots; convert before comparing accounts |
| Entry, exit and timestamps | Yes | Broker server time; verify before session analysis |
| Commission and swap | Yes | Essential for a net result |
| Gross and net P&L | Yes | What counts as net depends on reported fees |
| Stop and target | Not always | Add it for a reliable R-multiple |
| Open positions | Not guaranteed | The connector focuses on closed history |
| Floating equity | Not guaranteed | The journal is not a risk monitor |
Two MT5 details deserve attention. On a hedging account, every position has its own ticket; on a netting account, several entries can be merged into one position. The journal may therefore show one row per position or several executions for the same idea, depending on the account setup. Partial closes also produce multiple deals. Check that volumes add up before comparing two accounts.
The biggest limit is real-time coverage. The connector imports what is closed; it does not necessarily expose open positions or floating equity. For a prop firm daily loss limit, keep the terminal or the firm's dashboard as the source of truth. The journal helps you understand, not stop a trade in an emergency.
Installing the MT5 connector, step by step
Installation takes a few minutes and requires no programming. Download the file from the MT5 connector page; it is already compiled, so you do not need to open MetaEditor.
- ▸Download TradingJournalSync.ex5 from the MT5 connector page on Journal Trading.
- ▸In MT5, open File > Open Data Folder, then the MQL5 > Experts folder. Copy the .ex5 file there.
- ▸Restart MT5 or refresh the expert list so the connector appears.
- ▸In Tools > Options > Expert Advisors, tick Allow WebRequest for listed URL and add the URL shown on the connection page.
- ▸In the journal, open Settings > MetaTrader 5 Connector, click Generate API key and copy the key (it will not be shown again).
- ▸Drag TradingJournalSync onto a chart, open its settings with F7, paste the key into InpApiKey and confirm.
- ▸Enable the Algo Trading button in the MT5 toolbar; it must be green. The account status should then show Connected in the journal.
Keep the terminal open and the EA attached. If you use a MetaTrader VPS, the EA keeps running when your computer is off, but check the status after every restart. Never share your API key: it allows someone to import your history, even though it cannot place trades.
Test with a small demo trade: close it, wait a minute, then check that it appears in the journal with the right commission and net P&L. It is the fastest verification before relying on the import.
Checking the first sync
A Connected badge is not enough. Spend five minutes comparing the data with the terminal before analysing anything.
- ▸Account number, broker and currency match the intended MT5 account.
- ▸The last five closed positions have the same symbol, direction and volume.
- ▸Entry and exit prices match MT5 history.
- ▸Commission and swap match on at least one trade.
- ▸Total net P&L over a known period matches the broker statement.
- ▸The time zone is consistent: a shift can move a trade into another session.
- ▸Partial closes create neither duplicates nor missing volume.
If something is off, fix it before importing more trades. Write down your net convention too: commissions included, swap included, or both. Keep it stable so monthly comparisons mean something. A full reconciliation once a month is usually enough.
Run the same check on a demo account before connecting live. It gives you a safe place to confirm the time zone, the commission convention and partial-close behaviour without putting real history at risk.
Troubleshooting: why the EA sends nothing
Most problems come down to three settings: the WebRequest permission, the API key and the Algo Trading button. These are the usual suspects.
| Symptom | Likely cause | Fix |
|---|---|---|
| No data | Algo Trading off or EA removed from the chart | Re-enable the green button and reattach the EA |
| WebRequest error | URL not allowed in MT5 options | Add the exact URL shown on the connection page |
| Invalid API key | Key incomplete, revoked or copied with spaces | Generate a new key and paste it fully into InpApiKey |
| Wrong account | The EA runs on a different MT5 account than expected | Check the account number in MT5 and the mapping in the journal |
| Duplicate trades | CSV import after a sync, or two EAs on the same account | Keep one feed per account and delete duplicates |
| P&L mismatch | Commission, swap, currency conversion or netting aggregation | Compare the broker's detailed statement, not just the balance |
| Sync stops after restart | Algo Trading disabled or chart profile reloaded | Re-enable Algo Trading and check the EA is still attached |
MT5 must stay open: close the terminal and the EA can no longer read history or send data. That is a pause, not a loss. On reopening, the connector resumes and catches up on missed transactions. If the status stays stuck, remove and reattach the EA before generating a new key.
CSV as the fallback
The connector covers most needs, but CSV remains useful in three cases: recovering history from before installation, importing an account you cannot connect, or archiving trades in a spreadsheet. In MT5, open the History tab, select the period, right-click and choose Report. You get a detailed statement that can be exported to HTML or Excel.
Then use the journal's CSV template and map the columns: entry date, exit date, symbol, direction, volume, entry price, exit price, commission, swap and profit. Watch date formats and decimal separators: a misread decimal comma can distort your prices and P&L. Import once, check the row count and total P&L, then keep the source file.
Keep the original report next to the imported file. If a mapping error appears later, you can compare the two and re-import a clean period instead of rebuilding months of data by hand.
Do not import a CSV after enabling the EA on the same account: you would create duplicates. CSV is a complement for archives, not a second permanent feed.
The numbers to watch after the import
Start with a stable definition of net P&L: commissions and swap included, in the account currency. Then read four indicators together, never in isolation.
| Metric | Formula | Question to ask |
|---|---|---|
| Win rate | Winners / closed trades | Does it match my style? |
| Expectancy | (Win rate × average win) − (loss rate × average loss) | Does each trade pay on average? |
| Profit factor | Gross profit / gross loss | Does my edge survive fees? |
| R-multiple | Net P&L / initial risk | Are my gains proportional to risk? |
Example: 80 trades, 36 winners (45%) averaging 1.9R, 44 losers averaging 1R. Expectancy is (0.45 × 1.9) − (0.55 × 1) = 0.855 − 0.55 = +0.305R per trade. Profit factor is 0.855 / 0.55 = 1.55. A minority win rate does not condemn the strategy, but the edge is modest: a few off-plan trades can shrink it. Our guide to trading statistics explains how to read these numbers without fooling yourself.
Then segment by session, symbol and setup. A system can be profitable on EURUSD in London and lose money on gold in New York. Do not conclude from five trades: wait for around thirty per segment before cutting a strategy. To compare different position sizes, think in R rather than dollars, and use the position size calculator to keep risk constant. Do not optimise on the same sample that helped you discover the pattern. Split the history into two periods, check whether the edge survives, and only then change your rules. A result that only holds on yesterday's data is a coincidence, not a method.
Prop firms and funded accounts
MT5 is one of the platforms most used by prop firms. The journal helps you review the session: realised P&L, trade count, daily limit adherence, and how concentrated your profit is on one day. It also lets you compare the challenge and funded phases if you tag trades by period.
It does not replace the firm's dashboard. If open positions and floating equity are not continuously synced, the journal cannot know that you are at 90% of your limit while a trade is still open. Check that live in MT5, then use the journal to understand the sequence that got you there. Our prop firm journal guide covers the routine and drawdown rules.
Security and privacy
The MT5 connector is free and read-only. It contains no order function, does not ask for your MT5 password and cannot modify a position. The API key identifies your journal account; if you revoke it, the EA stops sending data.
- ▸The key is shown once: store it in a password manager.
- ▸Detaching the EA or closing the terminal stops sync without deleting history already imported.
- ▸Regenerate the key if you suspect a leak, then update InpApiKey.
- ▸Do not install unknown EAs on your terminal: an expert advisor can technically trade if it contains order functions.
- ▸Check the journal's privacy policy to see where data is stored and how to delete it.
If you change broker or account, remove the old mapping before creating a new one. It keeps your statistics readable and your access clean. For cTrader accounts the principle is the same: the cTrader connector is read-only too.
The key is tied to the journal account that generated it. If you stop using the journal, revoke the key and remove the EA: no connection to your terminal remains active.
FAQ
Is the MT5 connector really free? Yes. The connector and the web journal are free. You do not need a paid licence to import MetaTrader 5 trades.
Can the EA place trades? No. It is a sync utility: it reads history and sends it to the journal. It contains no function to open, modify or close a position.
Do I need to keep MT5 open? Yes, for sync to continue. Close the terminal and the import pauses until the next launch. A MetaTrader VPS can keep the EA running when your computer is off.
Which brokers work with the connector? Any broker that offers MetaTrader 5. The connector is broker-independent: it reads data from the terminal, not from a specific server.
Are demo accounts supported? Yes, demo and live accounts are supported. Keep them in separate journal accounts so your statistics do not mix.
Can I import several MT5 accounts? Yes. Each account can feed the same journal, but use one key and one mapping per account to avoid mixing.
Why are my open positions missing? The import focuses on closed positions. Open positions and floating equity are not guaranteed, depending on the connector setup. The journal is not a real-time risk monitor.
What if the import does not start? Check Algo Trading, the WebRequest permission, the API key and the account status in the journal. If it still fails, remove and reattach the EA before generating a new key.
Sources
MetaTrader 5 Help, algorithmic trading and Expert Advisors
MetaTrader 5, platform overview
Journal Trading, MT5 connector page
Journal Trading, cTrader connector page
Journal Trading, MT4 vs MT5 comparison
MetaTrader 5 features and broker conditions can change. Check the official documentation and the connection page before changing your installation.