Take profit, stop loss or manual close: reading how an MT5 trade ended

Use the comment tags, distrust price matching, and add an exit code of your own.

When you read a closed trade in MetaTrader 5 it is not always obvious how it ended. Did the price reach your take profit, did the stop loss trigger, did you click the close button, or did the broker close the position because the account ran out of margin? The answer matters for a journal, because a take-profit exit and a panic exit teach different lessons. This page shows the clues the terminal leaves, how far they can be trusted, and how to record the exit reason yourself so it stops being a guess.

Clues in the History tab

Many brokers append a short tag to the comment of the closing deal when the server closes it because a level was hit. You may see text in square brackets such as sl or tp, and a stop-out is usually tagged too. A position closed by your own click normally carries no such tag, or keeps the comment you gave it. These tags are written by the broker's server, so the exact wording and whether they appear at all depends on the broker and the platform build. Open the History tab in your own terminal, make the Comment column visible, and look at a few trades whose outcome you remember before relying on it.

ClueLikely meaningHow certain
Closing comment contains an sl tagA stop loss was hitFairly reliable on many brokers; check yours
Closing comment contains a tp tagA take profit was hitSame caveat
Comment mentions stop outThe broker closed it for lack of marginReliable where present; see below
No tag, close price equals a round level you setProbably a manual close or a level you typedWeak
Close price equals the stop or target price you rememberProbably a level exitMedium; fills can differ by the spread

Why price comparison alone is unreliable

It is tempting to compare the closing price with the take profit you remember. Two things get in the way. First, a buy position closes at the bid and a sell position at the ask, so a level on a chart line can differ from the filled price by the spread. Second, if you modified the stop or target during the trade, the history keeps only the final values; see modifying stop loss and take profit. Slippage in fast markets adds a third source of difference, described in spread and slippage in history.

Stop-outs and forced closes

A stop-out is different in kind from the others. It happens when the margin level falls to the broker's stop-out level and the server begins closing positions to protect the account. It is not an exit you chose, and a journal should label it separately, because the lesson it carries is about size and margin, not about where you placed a target. The rules, including the level and the order of closing, are set by the broker. Read them on the broker's own page rather than assuming.

A simple exit-reason code

Since the data is not perfectly clear, add a field of your own. Use a small fixed list so that totals are meaningful:

Record the code at the moment you close, or at the end of the day while you still remember. Once a month, group the results by code.

A worked example (hypothetical)

Exit codeTradesNet resultAverage
TP18+210.00+11.67
SL22-165.00-7.50
MAN-WIN9+40.00+4.44
MAN-LOSS11-95.00-8.64
FORCED1-60.00-60.00

These numbers are invented. What they illustrate is the kind of question the table raises. Manual losses average a bit worse than planned stop losses, which could mean that trades you close by hand are sometimes held past the point where your stop would have acted. The single forced close outweighs several take profits together. Neither observation is a verdict; each is a note to investigate with the trade screenshots and your plan.

How the journal app helps

AI Trading Journal is a Windows app for MetaTrader 5 only. It reads closed trades from the terminal on your PC, adds new ones every 5 minutes, and keeps the journal in a file in your Documents folder. On the Journal page you can attach a setup, an emotion, a plan-followed flag, a rating from 1 to 5, tags and notes to each entry, so a tag such as the exit codes above is one click. You can also add screenshots yourself; the app does not capture charts automatically. See screenshots for your journal for a routine. The app is read-only: it never places, modifies or closes a trade, and it gives no trading advice. The 7-day trial needs no card, and the full version is $19.99 once, with no subscription.

Limits

Frequently asked questions

Can MT5 tell me whether a trade hit take profit?
Often the closing comment shows a tag, but this depends on the broker. Check a trade you remember in your own terminal.
What is a stop-out?
A forced close by the broker when the margin level falls to its stop-out level. The level is set by the broker.
Why is the close price slightly different from my take profit?
Spread, slippage and the bid or ask side used for closing can all create a small difference.
Does the app record the exit reason?
Not automatically. You can add it as a tag or a note on the Journal page.
Is a manual close worse than a take profit?
Not by definition. Compare your own results by exit type before deciding.

Related guides

Tag every exit reason in one click: free for 7 days

Free for 7 days, no card required. After that, a one-time $19.99 purchase. No subscription. Also on the Microsoft Store.

One-time $19.99, no monthly fee · your MT5 login never leaves your PC · trades go into your own journal on your PC, not through our servers.

Start free 7-day trial