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 history | What 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 |
| Profit | The price result only, before costs |
| Swap | The sum of all rollover charges or credits while it was open |
| Commission | Charged 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.
- Write the rollover time for your broker once, in a note, so you do not have to rediscover it.
- When daylight saving changes, server-clock rules can shift relative to your local time; see daylight saving and your journal dates.
- Public holidays can move or skip a rollover; see broker holiday hours.
- A swap-free account may replace swap with a different fee; see swap-free accounts.
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.
| Position | Nights | Profit | Swap | Commission | Net |
|---|---|---|---|---|---|
| A | 1 | +18.00 | -0.60 | -3.50 | +13.90 |
| B | 3 | +6.00 | -4.20 | -3.50 | -1.70 |
| C | 5 | -12.00 | +2.50 | -3.50 | -13.00 |
| D | 0 | +9.00 | 0.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
- How much of my total swap came from a few long-held positions, and how much from many small ones?
- Do my overnight trades have a different average net result from my same-day trades? Use holding time analysis to group them.
- Is my stop placement affected by the knowledge that holding costs money, or do I ignore swap when planning?
- Do I hold losing trades longer than winning ones, so that swap lands mostly on the losers?
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
- The app and this page cannot know your broker's rollover time or triple-swap day; check your terminal and your broker's contract specification.
- Swap rates change over time, so an old trade shows the rate that applied then, not today's.
- Open positions that have not closed yet are not in the journal, so their floating swap is not counted until they close.
- All example numbers are hypothetical and this is not trading advice.
Frequently asked questions
Where do I see swap in MT5?
Why is my profitable trade a net loss?
Is swap always negative?
Does the journal include swap?
Can I count nights automatically?
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
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