Overnight positions and rollover: what holding cost does to your MT5 results

Count the nights, read the swap column, and see which trades were really paid for by the market.

A position that stays open past the end of the broker's trading day is charged or credited a small amount called swap, and the moment this happens is called rollover. When you later read your MetaTrader 5 history, that amount is folded into the result of the trade, which can make a position that looked like a small winner on the chart end up as a small loser in the list. This page explains what the terminal records about overnight positions, how to count the nights a trade stayed open, and how to separate what the market gave you from what holding cost you.

What rollover means in the history

Each broker picks a time of day, on its own server clock, when the trading day rolls over. Any position still open at that moment receives a swap entry, which can be negative or positive depending on the symbol, the direction and the interest rate differences the broker applies. The amount accumulates on the position and is shown in its Swap column. A position opened and closed inside the same server day never crosses rollover and so shows a swap of zero. For the general idea see swap explained, and for the heavier Wednesday charge see triple swap on Wednesday.

Column in the historyWhat it holds for an overnight position
Time (open)When the position was opened, on the server clock
Time (close)When it was closed; this is the date a journal files the trade under
ProfitThe price result only, before costs
SwapThe sum of all rollover charges or credits while it was open
CommissionCharged at entry, exit or both, depending on the broker

Counting the nights a trade was open

Swap is easier to judge once you know how many rollovers a trade saw. Take the open time and the close time, both on the server clock, and count how many times the rollover time falls between them. A trade opened on Monday morning and closed on Friday afternoon crossed four rollovers. If the broker applies a triple charge on one weekday to cover the weekend, one of those four is heavier. Brokers differ on which weekday carries it and on which symbols, so do not assume; read the symbol specification in your own terminal.

Separating price result from holding cost

The single net figure hides two questions. Did the market move in your favour while you held the position, and what did it cost to hold it? Splitting them is a matter of two columns. Price result is the Profit column. Holding cost is the Swap column. Net is their sum plus commission. Put the three beside each other for every position that stayed open at least one night.

A worked example (hypothetical)

Suppose four positions each stayed open for several nights. The numbers are invented to show the arithmetic and say nothing about any real symbol or broker.

PositionNightsProfitSwapCommissionNet
A1+18.00-0.60-3.50+13.90
B3+6.00-4.20-3.50-1.70
C5-12.00+2.50-3.50-13.00
D0+9.000.00-3.50+5.50

Position B is the interesting one. Its price result was positive, but three nights of holding cost and the commission turned it into a small net loss. Position C received a credit, which softened a loss without changing its sign. Position D never crossed rollover. A trader who reviews only the Profit column would rank these four differently from a trader who reads the net column, and the second reading is the one that matches what the account balance actually did.

Questions worth asking of your own overnight trades

None of these has a universal right answer, and none of them is advice. They are prompts for the notes field of a journal, answered with your own numbers.

How the journal app handles it

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. Each journal entry is one closed position, dated by its last exit, and its result is profit plus commission plus swap, so overnight costs are already inside the figure. The Export Report to Excel button writes a Trades tab you can sort and filter by hand to compare overnight and same-day trades. 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

Frequently asked questions

Where do I see swap in MT5?
In the Swap column of the Trade tab for open positions and of the History tab for closed ones. If the column is hidden, check the column header's right-click menu in your terminal.
Why is my profitable trade a net loss?
Commission and swap are subtracted from the price result. A position held over several rollovers with a negative swap can end below zero even if the price moved your way.
Is swap always negative?
No. Depending on the symbol, direction and the broker's rates, swap can be a credit or a charge.
Does the journal include swap?
Yes. The result of each entry is profit plus commission plus swap.
Can I count nights automatically?
Not inside the app today; copy the open and close times into a spreadsheet and count rollovers there, or use the Excel report's Trades tab as a starting point.

Related guides

Journal your overnight trades with swap included: 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