How to Reconcile an MT5 Report: Net P/L and Closing Balance
To reconcile an MT5 report, explain the movement from an opening balance to a closing balance using booked transactions. A larger balance can come from deposits, while an attractive profit total may still exclude costs. This worked example separates those effects and checks every entry once.
Already have your statement? Start with its account currency, period and transaction detail. If you need the file first, use our MT5 trade history and report export guide. The exercise below concerns account reconciliation, not exporting chart prices or calculating a tax liability.
Check the report view before interpreting “profit”
MetaQuotes documents different report formats. In the graphical report, Gross Profit and Gross Loss exclude swaps and commissions. The traditional HTML statement’s Details section describes cost-inclusive deal results. Do not combine a headline from one view with costs from another without checking what is already included.
For this exercise, use signed booked amounts: a charge is negative, a credit positive. Add them algebraically. If another display presents charges as positive expense amounts, convert the convention once; subtracting an already negative commission would incorrectly increase profit.
A complete hypothetical account ledger
Assume a USD account begins with $2,500.00. Positions A and B both open and fully close within the period; neither boundary has an open position. There is no credit, blocked amount, dividend, currency conversion, rebate or other adjustment. All figures are invented booked amounts, not DecodeFX fees, instrument specifications or expected returns.
Position A is 0.60 lots, closed in two equal 0.30-lot parts. B is 0.20 lots. A’s commissions are booked with each execution. B’s entire $4 commission is booked separately and appears nowhere else in the ledger. This deliberately illustrates two charging treatments, not the terms of a particular account. The price P/L amounts below are assumed statement values, not calculations from quoted prices.
| Entry | Price P/L | Other signed amounts | Balance change | Running balance |
|---|---|---|---|---|
| Opening balance | — | — | — | 2,500.00 |
| Deposit | — | Cash +600.00 | +600.00 | 3,100.00 |
| A: open 0.60 lots | 0.00 | Commission −3.00 | −3.00 | 3,097.00 |
| A: close first 0.30 | +72.00 | Commission −1.50; swap −1.20 | +69.30 | 3,166.30 |
| A: close remaining 0.30 | −30.00 | Commission −1.50; swap −0.80 | −32.30 | 3,134.00 |
| B: open 0.20 lots | 0.00 | No charge booked on this row | 0.00 | 3,134.00 |
| B: close 0.20 | +18.00 | Swap +0.60; fee −0.40 | +18.20 | 3,152.20 |
| B: separate commission | — | Commission −4.00 | −4.00 | 3,148.20 |
| Withdrawal | — | Cash −150.00 | −150.00 | 2,998.20 |
Calculate the trading result and the balance movement separately
- Price P/L: 72 − 30 + 18 = 60.00.
- Commission: −3 − 1.50 − 1.50 − 4 = −10.00.
- Swap: −1.20 − 0.80 + 0.60 = −1.40; other fee: −0.40.
- Net booked trading result: 60 − 10 − 1.40 − 0.40 = 48.20.
Closing balance = 2,500 + 600 − 150 + 48.20 = $2,998.20. The balance rose by $498.20, of which $450 was net cash funding. A contributed $34.00 and B $14.20 after their stated costs. The $0.60 positive swap is a credit in this example, not another deduction. For the cost components, see our spread, commission and swap guide.
Use Orders, Deals and Positions to trace, not duplicate
Orders are instructions; Deals record executions; Positions track exposure. An order can have several executions, and partial closures can belong to one position. In the example, A has one opening execution and two closing executions, all linked to A. Adding an order total, its deals and a position total would count the same activity repeatedly.
For a hand check, assign each booked entry a unique row using its ticket, time and related position. Keep a separately booked charge as its own row, even if you also allocate it to a position for analysis. B’s $4 belongs in its result and in the account ledger once each; a position analysis is a cross-check, not an extra balance transaction.
Partial closures across periods need two different questions
Change one assumption: A opened before your selected month, and its $3 entry commission was already booked then. Only its first partial closure falls inside the month. The illustrated movement from that closure is $69.30. Do not deduct the old $3 again when reconciling this month’s opening and closing balances: the opening balance already reflects it.
To assess A over its whole lifetime, include the original entry charge and all later closures and costs. To assess only the month’s booked movements, include only entries booked within that period. These are different scopes. Where positions remain open, the period’s booked charges can include costs of exposure that has not yet fully closed; do not label that total “profit from fully closed positions.”
Find the difference before changing the answer
| Difference in this example | First check |
|---|---|
| Your result is $52.20 | Check whether B’s separate $4 commission was omitted. |
| Your result is $44.20 | Check whether that same $4 was deducted twice. |
| Your result is $47.00 | Check whether the +$0.60 swap credit was treated as −$0.60. |
| You call $498.20 “trading profit” | Remove the $450 net cash funding when isolating trading performance. |
These amounts are clues, not proof. Check the exact account, currency, server-time cutoff, all-symbol coverage and unmatched transaction comments. A summary may show the balance at report-generation time rather than your chosen historical endpoint; the graphical report’s Balance can also include credit. Compare the same definitions and timestamps. Ask support about an unexplained entry with its ticket and period; never share your password.
Frequently asked questions
Does a blank Commission cell mean the trade was free?
No. MetaQuotes documents both immediate and separately accumulated commission. In this exercise B’s blank execution charges are reconciled to the separate $4 posting, not assumed to be zero cost.
Should I deduct spread from the report again?
Not when your price P/L already uses the actual execution prices. That price difference already reflects the effect of the bid/ask execution prices. Reconstructing a hypothetical spread charge and subtracting it again would change the scope of this ledger.
What if equity is below the reconciled balance?
In a separate snapshot, assume the $2,998.20 balance is unchanged, floating P/L is −$22, and credit, outstanding commission and other equity adjustments are zero. Equity is then $2,976.20. The floating loss is not a missing cash withdrawal or an additional realized loss. A balanced ledger does not establish a profitable strategy; leveraged CFD trading can cause substantial losses.
Official references
Source documents checked on 3 December 2026.