How to measure your MT5 return when you deposit and withdraw money

Why the balance formula breaks, how to separate cash from trading results, and a chained return that stays fair.

Add up the profit in your MetaTrader 5 history and you get a number in money. Ask how well the account did and you want a percentage, and that is where deposits and withdrawals quietly spoil the answer. A trader who starts with 1,000, deposits another 4,000 in the last month and finishes with 5,400 has not made 440 percent. This page explains how deposits and withdrawals distort the obvious calculations, and gives two honest ways to measure the return on an account that money has moved in and out of.

Why the simple formula breaks

The obvious formula is (ending balance minus starting balance) divided by starting balance. It works only if nothing was added or taken out. Every deposit raises the ending balance without being a result of trading, and every withdrawal lowers it. Both appear in the history as balance rows, not trades; see balance and deposit rows. They must be separated from trading results before any percentage means anything.

Step one: separate trading result from money movements

Method 1: net trading result over a base

The simplest fair measure divides the net trading result by a sensible base: the starting balance if no money moved, otherwise the average balance during the period, or the starting balance plus deposits weighted by how long they were in the account. It is crude but easy to explain and easy to repeat. Write down the base you chose, because changing it changes the percentage.

Method 2: chain the periods between money movements

A cleaner method splits the history at each deposit or withdrawal. For each sub-period, compute the return as the net trading result divided by the balance at the start of that sub-period. Then multiply the growth factors, one for each sub-period, to get the return for the whole span. This is a time-weighted return: it measures the trading and ignores the size or timing of the cash you added or removed, which is why it is the usual way to compare a strategy with another account of different size. It needs a balance at each cash movement, which the balance rows give you.

A worked example (hypothetical)

An account starts the month with 1,000. In the first half the trading result is +100, taking the balance to 1,100. Then a deposit of 4,000 brings it to 5,100. In the second half the trading result is -102, ending at 4,998. All numbers are invented.

StepCalculationResult
Naive return(4,998 - 1,000) / 1,000+399.8 percent (wrong)
Net trading result+100 - 102-2
Sub-period 1100 / 1,000+10.0 percent
Sub-period 2-102 / 5,100-2.0 percent
Chained return1.10 x 0.98 - 1+7.8 percent

The naive figure is absurd because it counts the deposit as skill. The chained figure says the first half did well on a small base, and the second half lost a little on a much bigger one, for a modest gain overall. Note too that the trader lost money in absolute terms in the larger period: the larger base magnified the loss in money while the percentage looked small. Both views are useful, and they answer different questions.

What about withdrawals

A withdrawal lowers the balance without being a loss. If you ignore it, a trader who takes profit out each month appears to be flat or losing. Treat a withdrawal the same way as a deposit: it ends one sub-period and starts the next at the lower balance. The trading result inside each sub-period is unaffected. Drawdown works similarly: a withdrawal makes equity fall without a losing trade, so measure drawdown on a series adjusted for cash movements; see equity vs balance drawdown and an equity curve from history.

Common mistakes

Tracking the trading result on its own

AI Trading Journal is a Windows app for MetaTrader 5 only. It reads closed trades from the terminal on your PC and adds new ones every 5 minutes, and the journal is a file in your Documents folder. It records one entry per closed position, so the totals on its dashboard, with Daily, Weekly, Monthly and All time views, reflect trading results rather than cash movements. The Progress page shows a growth curve and a months table and lets you store a monthly profit target and loss limit. Whether those figures should be read as a percentage of a changing balance is something you decide with the methods above; the app does not compute a time-weighted return for you. It is read-only and never places or closes a trade. Related reading: MT5 trading statistics and the compounding calculator.

Limits and cautions

Frequently asked questions

How do I calculate my return if I deposited money?
Separate deposits from trading results, then either divide the net trading result by an average balance or chain sub-periods between cash movements.
Is a deposit counted as profit in MT5?
No. It appears as a balance row, not a trade, but it raises the balance, so it distorts a simple balance-based percentage.
What is a time-weighted return?
A return built by multiplying the growth of each sub-period between cash movements. It measures the trading and ignores the size and timing of deposits.
Do withdrawals count as losses?
No. They end one sub-period and start the next at a lower balance. They are not trading results.
Does the journal app calculate my return percentage?
It shows your trading results and a growth curve from closed trades. A time-weighted return is something you calculate separately.

Related guides

Track trading results separately from cash: 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