20% off every yearly plan this month See the plans →
New machines build in about 60 seconds See plans →
Two new nodes live: Ashburn and Riyadh All locations →
Pay in Bitcoin — no extra fee, 14-day money-back How it works →
Nearest Amsterdam 0.8 ms

How to find
MetaTrader's log files

MetaTrader 4 steps under a minute

There are two sets of logs and they answer different questions. The Journal is the terminal talking to your broker. The Experts log is your EA talking to itself. Sending the wrong one is the most common reason a support ticket takes an extra day.

1

Open the data folder

In MetaTrader, click File then Open Data Folder, or press Alt + F then D. A Windows folder opens. This is not where MetaTrader is installed — it is where it keeps your settings and logs, and the two are in different places.

Open the data folder
2

For connection problems, open logs

The logs folder in that window holds what you see in the terminal's Journal tab: logins, disconnections, order rejections from the broker. One file per day, named by date.

For connection problems, open logs
3

For EA problems, open MQL4 then Logs

Go into MQL4 and then Logs inside it. That is the Experts tab: what your EA printed, what it decided, and any error it hit. On MT5 the folder is MQL5.

4

Send us the right day

Log files are named by date, so pick the day the problem happened. Both files if you are not sure — they are small, and it saves us asking.

Reading them, and other questions

Which one do I need?

If the platform disconnected, could not log in, or an order was rejected, that is logs. If an EA did not open a trade you expected, that is MQL4/Logs. If you cannot tell, send both.

The folder is empty

You are looking at a fresh install, or logs were cleared. MetaTrader writes them as it runs, so reproduce the problem and look again.

The files will not open

They are plain text with a .log extension. Right-click, Open with, Notepad. On a busy terminal they can be large — Notepad copes, but Notepad++ is easier to read.

I cannot find the data folder at all

The menu path is the reliable way. Browsing to Program Files finds the installation rather than the data, and the logs are not there.

What should I look for myself?

Lines with failed, rejected, invalid or no connection. An EA that stopped trading usually printed a reason just before it stopped.

What people read next