MT5 commission on entry and exit deals: how to total it

Understand per-side and exit-only commission patterns, how they appear in your history and how to calculate the true net result.

A common surprise in a MetaTrader 5 trade history is a commission figure that does not sit where you expected. On some accounts the commission appears on the opening deal, on others on the closing deal, and on others it is split between the two. If you total your trades from the Deals view you can double count, miss a charge or attribute a cost to the wrong day. This page explains how commission is recorded, how to read it, and how to total it safely when you build your own statistics.

Commission is a field on each deal

In the platform every deal row has its own profit, commission and swap fields. The commission field on a deal holds whatever the broker charged at that execution. Brokers define their own schedules: a charge per lot per side, a charge only on exit, a percentage of the trade value, or no commission with the cost built into the spread. The mechanics are described generally on MT5 commission explained; this page concentrates on where the numbers land in the history.

Because a position has at least two deals, one that enters and one that exits (see entry types in, out and in/out), the commission for one round trip may be split across two rows. If the broker charges per side, each deal carries half of the round-turn cost. If the broker charges at the close only, the opening deal shows zero commission and the closing deal shows the whole charge. Both are normal.

Three patterns you will meet

PatternOpening dealClosing dealWatch out for
Charged per sideCommission shownCommission shownPositions still open carry only half the cost so far
Charged on exit onlyZeroFull commissionA trade closed on another day moves the cost to that day
No commission, cost in spreadZeroZeroCosts are hidden in the price, not in a column

Which pattern you have is set by the account type and the symbol group, so it can even differ between instruments on the same account. Check the broker’s conditions page and compare with a few real deals rather than assuming.

Totalling safely

A worked example (hypothetical)

A trader buys and sells 0.50 lots of a symbol. The broker charges per side, so the opening deal shows a commission of −1.75 and the closing deal another −1.75, a total of −3.50. The gross profit on the closing deal is +42.00 and the swap is −0.80. The net result is 42.00 − 3.50 − 0.80 = 37.70. If the trader had added only the closing deal’s own numbers (42.00 − 1.75 − 0.80), the figure would read 39.45, overstating the result by 1.75. Across 200 trades that small error becomes a large one. The figures are invented to show the arithmetic and are not typical of any broker.

Why this matters for a journal

Your performance statistics, such as average win, profit factor and expectancy, depend on net results. If a journal shows gross numbers the metrics look better than your account balance does. AI Trading Journal is a Windows app for MetaTrader 5 only and read-only: it never places or changes a trade. It keeps one entry per closed position, with partial closes combined and dated by the last exit on the broker’s server clock, and the result is profit plus commission plus swap, so commission from both sides is already inside the figure. It reads what the terminal reports; if your broker applies an adjustment later, the terminal’s figure is the one to trust. The journal is a file on your PC, and Notion is an optional extra copy.

Limits and cautions

Questions to ask before you trust a commission total

When a commission figure looks wrong, work through a short list before assuming a mistake. First, is the position still open? Then only the entry side has been charged on a per-side schedule, and the rest will arrive at the close. Second, does the symbol belong to a different group from the one you last traded? Metals, indices and currency pairs can carry different schedules even on one account. Third, was the trade closed in several pieces? Each exit deal can carry its own charge, and a rounding rule may apply to every one of them, so a position closed in three parts can cost slightly more than one closed at once.

A few minutes spent on this check once a quarter is enough to catch most surprises, and it keeps the cost side of your statistics as trustworthy as the profit side. For the wider picture of spreads and fees, see spread and slippage in your history.

Frequently asked questions

Why is commission zero on my opening deal?
Your broker may charge only at the close. Check the closing deal for the full amount.
Is commission already in the profit column?
No. Profit, commission and swap are separate fields; the net result is their sum.
Can commission differ between symbols?
Yes. Symbol groups can have different schedules on the same account.
How do I avoid double counting?
Total by position, or sum every deal of a position once, rather than mixing entry and exit rows.
Does the journal show net or gross?
Net: profit plus commission plus swap, as the terminal reports.

Related guides

See net results automatically: journal 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