MT5 trading statistics: win rate, profit factor and drawdown
Your MT5 history already holds your real statistics. Here are the formulas, four ways to get them out, and the traps to avoid.
What your history already contains
Every closed trade in the MT5 History tab carries enough information to calculate your real statistics. The hard part is getting it out of the terminal and into numbers you can read.
The statistics worth calculating
| Statistic | Formula | What it tells you |
|---|---|---|
| Win rate | Winning trades / all trades | How often you win |
| Average win, average loss | Total of wins / number of wins, and the same for losses | How big wins and losses are |
| Payoff ratio | Average win / average loss | Are wins bigger than losses? |
| Profit factor | Gross profit / gross loss | How much you make per unit you lose |
| Expectancy | Win rate x average win - loss rate x average loss | What one trade earns on average |
| Maximum drawdown | Largest peak-to-trough fall | How deep your worst stretch was |
| Results by symbol and hour | Group trades and sum profit | Where you make or lose money |
Each can mislead alone; see win rate, profit factor and expectancy explained. The expectancy calculator works out expectancy, profit factor and payoff ratio from three numbers.
Four ways to get them out of MT5
| Method | Effort | Limit |
|---|---|---|
| The History report saved from the terminal | Low | Summary statistics only; no notes; menu and content vary by build |
| Export to a spreadsheet and calculate | Medium | You rebuild the formulas and repeat the export each time; see the free template |
| A statistics panel from the MQL5 Market | Low to medium | Quality and definitions vary; read what it can access |
| A journal that reads your terminal | Low once set up | Costs money or time; AI Trading Journal does this and keeps the journal on your PC |
Use profit as MT5 reports it
In MT5 a deal's profit does not include commission and swap; they are separate fields. For true results, add profit, commission and swap together. The History tab and saved reports show the totals, and AI Trading Journal records the combined figure for each closed position.
Mind your sample size
A statistic from ten trades is a guess. Use a few dozen trades before trusting win rate or profit factor, and recheck every month or fifty trades. Keep demo and live results separate.
What to do with the numbers
- Compare your live numbers with what you expect from your strategy.
- Look at the weakest symbol and the weakest hour first.
- Change one thing at a time, then recalculate. See the weekly trading review checklist.
Prefer not to dig through the History tab? AI Trading Journal reads your closed trades from your own MT5 terminal and saves one entry in your own journal on your PC (and one Notion row, if you connect Notion) per closed position about every 5 minutes, with open and close time, size, prices, stop, target and profit. It is read-only, needs no broker login, and is Windows-only, with a 7-day free trial and a one-time $19.99.
This page is general education. It is not trading or investment advice.
A complete worked example with ten trades (hypothetical)
The net results, after commission and swap, of ten closed trades in order: +120, -60, +80, -60, -60, +150, -60, +90, -60, +70. The running total after each trade is 120, 60, 140, 80, 20, 170, 110, 200, 140, 210.
| Statistic | Calculation | Result |
|---|---|---|
| Win rate | 5 winners / 10 trades | 50% |
| Average win | 510 / 5 | $102.00 |
| Average loss | -300 / 5 | -$60.00 |
| Payoff ratio | 102.00 / 60.00 | 1.70 |
| Profit factor | 510 / 300 | 1.70 |
| Expectancy per trade | 210 / 10 | $21.00 |
| Maximum drawdown | Largest fall from a running-total peak | $120 |
Ten trades is far too few to trust: the margin of error on a 50% win rate with ten trades is about 30 points either way. The example is for the arithmetic only. The maximum drawdown here comes from the stretch after the third trade: the running total peaks at 140, then two losers in a row take it down to 20, a fall of 120.
How to find results by hour in a spreadsheet
- Export the history (Positions view) and keep one row per closed trade.
- Add a helper column with the hour of the open time, for example =HOUR(E2) if the open time is in column E and has been converted to a real time value.
- Insert a pivot table with the hour as rows and the sum of net profit and the count of trades as values.
- Look at hours with at least 15 to 20 trades. Fewer than that is noise.
- Remember that MT5 times follow the broker's server clock, not your own.
Traps that distort the numbers
- Gross versus net. Using profit without commission and swap overstates results. Add all three before calculating anything.
- Counting deals instead of positions. One trade closed in pieces would count as several. Use the Positions view. See hedging versus netting.
- Including balance rows. Deposits and withdrawals are not trades. Remove them first.
- Mixing demo and live. Keep separate files or a clear label.
- Survivorship in your own records. If you only export the months you remember fondly, the statistics describe a trader that does not exist.
Once you have the numbers, test what they imply in the expectancy calculator and the drawdown recovery calculator.
Keep deposits, corrections and dividends out of your counts: MT5 history rows that are not trades.
Frequently asked questions
How do I see my trading statistics in MT5?
How do I calculate win rate from MT5 history?
Does MT5 profit include commission and swap?
How many trades do I need for reliable statistics?
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
Get your statistics without the spreadsheet
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