Sign Up
MT5 TRADING JOURNAL

An MT5 Trading Journal With a Free Expert Advisor

Attach a free Expert Advisor to MetaTrader 5 and your trades are sent to the journal as they open and close, read-only, with analytics built from the closed ones. Updated 18 October 2026

Connections are on Elite (A$29/mo). The Free plan has no card requirement.

How the MT5 Connection Works

MT5 does not have a login-based connection, so The Trading Terminal uses a free Expert Advisor (EA), TheTerminal_AutoLogger, that you download from the Connections page. The EA sends your trades to your journal over HTTPS while it is attached to a chart and the platform is running.

  • Download. Get the .mq5 file from Connections and copy it into the MQL5/Experts folder (File → Open Data Folder), then restart the platform.
  • Allow web requests. In Tools → Options → Expert Advisors, tick Allow WebRequest for listed URL and add https://thetradingterminal.com.
  • Attach the EA. Drag it onto any chart, paste your API key from the Connections page and optionally set the Account Name to your broker name, or to the full account name exactly as shown under Accounts → Edit in the app (account cards can show it masked, so do not copy it from the card). If you leave the name blank, trades still arrive but unassigned and you pick the account yourself.
  • Deal-by-deal reporting. On MT5 the EA reacts to each deal the platform records and sends a close event for each closing deal, with the open price and open time looked up from the position history.
Connections page showing the MT4 and MT5 Auto Logger card with API key and setup steps for MT5
The Connections page in The Trading Terminal.
Sample data

What the EA Sends

By default the EA reports two events: when a trade opens and when it closes (both can be switched off in the EA inputs). It also sends a test ping when it starts so you can see whether the connection works.

EventWhat is sent
OpenTicket, symbol, buy or sell, lots, open price, stop loss, take profit, open time and the account name
CloseThe same fields plus close price, profit, commission, swap and close time

A trade that is still open shows in the journal as an open trade, and it counts in analytics only once it has closed, because win rate, expectancy, profit factor and the other metrics are calculated from closed trades. When auto-group is on, positions on the same symbol and direction opened within a window you choose (1, 2 or 5 minutes) merge into one trade.

Limits to Know About

  • It only works while the platform and EA are running. If MetaTrader is closed, trades are not sent. A VPS is one way people keep it running; it is not required by The Trading Terminal.
  • No history backfill. The EA reports trades as they happen after it is attached. Trades from before that can be added with a CSV import.
  • It sends data out only. The EA code contains no order functions: it does not place, modify or close trades.
  • Elite only. The Auto-Logger EA is part of the Elite plan.

If you also use cTrader, see the cTrader trading journal page, which needs no EA. For MT4 see the MT4 trading journal page.

What You Can Analyse Once Trades Are In

Trades from the EA feed the same views as manual entries: trading analytics, Trader DNA, the Edge Score and Mistake Cost Analysis, and Risk Desk, which tracks daily loss and drawdown from closed trades. See how we calculate for the definitions, and the forex trading journal page for what to log on each trade.

FAQ
Common questions
How does the MT5 trading journal connect?
Through a free Expert Advisor called TheTerminal_AutoLogger. You download the .mq5 file from the Connections page, put it in the MQL5/Experts folder, allow WebRequest for https://thetradingterminal.com, attach it to a chart and paste your API key.
Does the MT5 Expert Advisor place trades?
No. It only sends trade data to your journal. The EA code contains no order functions.
Does it import my old trades?
No full history import. The EA reports trades as they open and close after it is attached. Earlier trades can be added with a CSV import.
Do I need to keep MetaTrader running?
Yes. Trades are sent while the platform is running with the EA attached. If the platform is closed, nothing is sent.
Which plan includes the Expert Advisor?
The Auto-Logger EA is part of Elite (A$29/mo or A$249/yr). There is a one-time 7-day Elite trial that needs a card. CSV import is available on every plan.
EXPLORE
Related pages
MT4 trading journal → cTrader trading journal → Tradovate trading journal → All features → Trading analytics → Prop firm trading journal → Trading journal template →

Import your closed trades

Start Free
No card required for the Free plan

Screenshots on this page are from the app running on sample data, not real trading results.