A buy and sell position in the same symbol may look as though they cancel each other. In a hedging account, however, both positions remain open records with their own entry prices, costs and closing instructions.
The pair may reduce net directional exposure while both quantities match, but it is not the same as having no position. Margin, financing, spread and operational risks can remain.
Hedging and netting accounting
In a netting account, only one combined position can exist for a symbol. An opposite deal reduces, closes or reverses that net position, depending on quantity.
In a hedging account, multiple positions in the same symbol can remain open, including positions in opposite directions. The accounting system is set by the broker and account configuration.
What a locked position describes
“Locked” is an informal description for offsetting buy and sell positions, often of equal quantity. It describes the current net direction, not a special guarantee. If quantities differ, the unmatched amount remains directionally exposed.
Why risk does not disappear
When equal positions move in opposite directions, one side's price gain broadly offsets the other's price loss before costs. However, both positions may continue to incur financing, and their entries and exits involve bid-ask spreads.
Product changes, symbol availability, market closures or an execution problem can also affect one leg differently. If one leg closes while the other remains open, the account immediately returns to directional exposure.
How hedged margin can be calculated
MetaTrader supports more than one margin method for opposite positions. A symbol can use a stated hedged-margin value, calculate margin for covered and uncovered volume, or apply a method based on the larger leg. The broker's configuration determines the treatment.
This means a matching buy and sell position may use reduced margin, full margin on one leg, or another configured amount. A trader should not assume that opposite positions release all margin.
Pending orders can add margin
Pending orders may be assessed separately. An order that would increase one direction or become active after a price trigger can change the margin calculation. Review open positions and pending orders together.
Partial hedges leave residual exposure
If an account holds one lot long and 0.60 lots short in the same symbol, only 0.60 lots are covered by the opposite direction. The remaining 0.40 lots retain long directional exposure. Costs still apply to both recorded positions according to their terms.
The economic result also depends on each entry price. Equal quantities opened at different prices can lock in an unrealised difference before later costs. The account does not return to the position it had before both trades were opened.
Financing and product events continue
Opposite positions can have different long and short financing rates. Both legs may be charged, one may receive an adjustment, or the net financing may vary by day. Triple-swap timing can also affect the pair.
Expiry, rollover, dividend adjustments, corporate actions or a symbol transition may be applied to each position under product rules. A locked description does not suspend those events.
Monitor equity, not only net direction
A near-zero net direction can conceal substantial gross exposure. Gross exposure influences costs, operational workload and what happens if one side fails to close. Monitor both total open quantity and account equity rather than relying on a single net figure.
Margin can change when one leg closes
Closing one side removes the covered relationship. The remaining position becomes uncovered and may require a different amount of margin. If free margin is limited, this change can put the account closer to a margin call or close-out threshold.
Before closing one leg, check projected margin and available equity. The guide to leverage, margin and market exposure explains the relationship between used margin, free margin and exposure.
Close separately or use Close By
Closing opposite positions separately normally sends one closing transaction for each leg. On an eligible hedging account, the MetaTrader Close By operation pairs two opposite positions and closes them against each other. If quantities differ, the remainder stays open in the direction of the larger position.
MetaQuotes explains that Close By can avoid paying a second closing spread compared with closing both legs separately. The function is not available for every accounting mode or account configuration, so check the platform command and current terms.
Sequence and execution still matter
Two closing instructions do not occur at exactly the same instant. If the first leg closes and the second instruction is rejected, delayed or filled later, the account is directionally exposed during the interval. Fast markets can make that interval material.
Check order confirmations rather than assuming both sides closed. If a bulk-close process stops after an error, one or more positions may remain. The account should be reviewed until the intended remaining quantity, free margin and pending-order state are confirmed.
Do not use locking to delay a decision
Opening an opposite position can make the net direction look stable while adding cost and operational complexity. It does not decide when either original exposure should be closed. Define the purpose, exit sequence and maximum holding period before creating the pair.
A practical locked-position checklist
- Confirm whether the account uses netting or hedging.
- Compare buy and sell quantities for the same symbol.
- Check the symbol's hedged-margin and financing treatment.
- Include pending orders in the exposure and margin review.
- Estimate margin after either leg is closed.
- Decide whether separate closure or Close By is available and appropriate.
- Verify the remaining position and account status after execution.
Use the RockGlobal Cent Account page and current product specification to confirm account-level treatment. Our guide to lots, contract size and position sizing can help calculate any unmatched exposure, while the overnight financing guide explains why holding both legs may continue to carry costs.

