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.
| Clue | Likely meaning | How certain |
|---|---|---|
| Closing comment contains an sl tag | A stop loss was hit | Fairly reliable on many brokers; check yours |
| Closing comment contains a tp tag | A take profit was hit | Same caveat |
| Comment mentions stop out | The broker closed it for lack of margin | Reliable where present; see below |
| No tag, close price equals a round level you set | Probably a manual close or a level you typed | Weak |
| Close price equals the stop or target price you remember | Probably a level exit | Medium; 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:
- TP: the take profit was hit.
- SL: the stop loss was hit.
- MAN-WIN or MAN-LOSS: you closed it by hand in profit or in loss.
- TRAIL: a trailing stop closed it.
- FORCED: stop-out or another broker-side close.
- TIME: you closed it because of a time rule, such as before a news release or the end of the session.
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 code | Trades | Net result | Average |
|---|---|---|---|
| TP | 18 | +210.00 | +11.67 |
| SL | 22 | -165.00 | -7.50 |
| MAN-WIN | 9 | +40.00 | +4.44 |
| MAN-LOSS | 11 | -95.00 | -8.64 |
| FORCED | 1 | -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
- Comment tags depend on the broker; some write nothing at all.
- The app does not detect exit reasons for you; the tag is whatever you enter.
- Example numbers are hypothetical, and this is not trading advice.
Frequently asked questions
Can MT5 tell me whether a trade hit take profit?
What is a stop-out?
Why is the close price slightly different from my take profit?
Does the app record the exit reason?
Is a manual close worse than a take profit?
Related guides
- A local trading journal for MT5
- P&L calendar for MT5
- Trade notes, ratings and screenshots
- Trading progress and goals
- Back up your journal and move it to a new PC
- An offline trading journal for Windows
- How to set monthly trading goals
- Import your whole MT5 history
- How to tag trades
- Trade screenshots for your journal
- All trading journal comparisons
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