MT5 hedged margin: what you are charged when you lock a position

Opposite positions in one symbol can need less margin or the same margin twice, depending on your broker. Learn how to check and what a hedge costs.

On a hedging account in MetaTrader 5 you can hold a buy and a sell on the same symbol at the same time. A natural question follows: does the broker charge full margin on both? The answer depends on the broker’s margin rules and on the symbol, and it is one of the reasons two accounts with the same leverage can show different free margin when the same positions are open. This page explains how hedged margin is usually described, how to find the rule that applies to your account, what to check before relying on a hedge, and what a journal can and cannot tell you about it.

Locked positions and what they are

A locked or hedged position is a pair of opposite positions in the same symbol. If the buy and the sell have the same volume, the net exposure to price is zero, which is why traders call it a lock. The two positions remain separate until you close them, so the account still shows two rows and two sets of costs. The way that history is recorded is explained in hedging versus netting, and a related tool that closes the pair against each other is described in close by.

How margin on a hedge is handled

Brokers choose how to calculate margin for opposite positions in the same symbol. In MetaTrader 5 the symbol specification contains a margin calculation mode and, for many instruments, a hedged margin value. Common outcomes are that the broker charges margin on the larger side only, that it charges a reduced amount on the overlapping volume, or that it charges the full amount on both sides. The exact label and numbers are in the symbol window for each instrument, as explained in the symbol specification. Do not assume that a rule that holds for forex also holds for an index or a metal at the same broker.

Broker approachMargin on equal buy and sellWhat it means for free margin
Larger side onlyMargin for one sideFree margin barely changes when you add the opposite position
Reduced margin on the overlapPart of the normal amountSome free margin is released but not all
Full margin on both sidesTwice the single-position marginFree margin drops as if you had doubled the position

Which row applies is a broker decision, so the table is a way to organise your questions, not a statement about any particular company.

Where to look in your own terminal

Why a hedge is not free

Even when the margin is reduced, a hedge has costs. You pay the spread on both legs, any commission on both, and swap on both positions while they stay open. Because swap is charged per position, a locked pair held across the rollover can lose money every night even though the price exposure is flat. The rules for those charges are in how swap works and, for the midweek multiple, triple swap on Wednesday. A hedge also does not remove the margin level risk completely, because margin level uses equity and used margin together, as shown in the margin level guide.

A worked example (hypothetical)

Suppose a position of one lot on a symbol needs 1,000 in margin on an account with 5,000 of equity. The trader opens an equal sell to lock it. If the broker charges the larger side only, used margin stays at 1,000 and margin level is 500 percent. If the broker charges both sides, used margin becomes 2,000 and the margin level is 250 percent. Nothing about the price changed, yet the buffer before a margin call is half as large. These figures are invented, and your broker’s rule decides which case applies, so test with a small volume on a demo account first and read the numbers yourself.

What a journal can show

AI Trading Journal, a Windows app for MetaTrader 5 only, reads closed positions from your account history. It records the result of each position and does not record the margin that was held while it was open, nor the floating profit of open trades. On a hedging account a locked pair therefore appears as two separate entries with their own results, costs and swap, and you can add a note that they were a pair. The app is read-only and never places, modifies or closes a trade, and the journal is a file on your own PC.

Limits and cautions

Frequently asked questions

Does MT5 charge margin on both sides of a hedge?
It depends on the broker and the symbol. Check the margin calculation and hedged margin entries in the symbol specification and compare the Trade tab before and after.
Can I hedge on any MT5 account?
No. Hedging is available only on accounts with the hedging position system; netting accounts combine positions instead.
Does a hedge stop swap charges?
No. Swap is charged per open position, so both legs can pay or earn swap.
How does a locked pair appear in the history?
As two separate positions with their own open and close times, unless they were closed together with a close-by operation.
Does the journal app track margin?
No. It stores the result of closed positions, not the margin held while they were open.

Related guides

Log both legs of every hedge: 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