RockGlobal
Two opposing weighted cords held by a real metal lock in a balanced editorial studio photograph

Hedged and Locked Positions: Margin and Risk Treatment

Learn what opposite positions do in hedging and netting accounts, how margin may be treated and why a locked position is not risk-free.

Key takeaways

In briefKey takeaways
  • A hedging account can hold separate buy and sell positions in the same symbol; a netting account combines them into one net position.
  • Opposite positions can reduce directional exposure, but they do not necessarily remove margin, spread, financing or execution risk.
  • Hedged-margin treatment is set by the broker and symbol specification, so it must be confirmed for the actual account.
  • Closing one leg restores directional exposure immediately and can change margin utilisation.
  • Close By may reduce one spread cost on eligible hedging accounts, but availability and rules depend on the account configuration.
On this page

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

  1. Confirm whether the account uses netting or hedging.
  2. Compare buy and sell quantities for the same symbol.
  3. Check the symbol's hedged-margin and financing treatment.
  4. Include pending orders in the exposure and margin review.
  5. Estimate margin after either leg is closed.
  6. Decide whether separate closure or Close By is available and appropriate.
  7. 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.

Useful answers

Frequently asked questions

Do equal buy and sell positions remove all risk?

No. They may offset directional price movement while both remain matched, but margin, financing, spread, execution and operational risks can continue.

Is hedged margin always zero?

No. The broker and symbol specification determine whether covered volume uses reduced margin, the larger leg or another configured amount.

What happens when I close one side of a locked position?

The remaining side becomes directionally exposed. Its margin treatment can change, so free margin should be checked before and after closing.

What is the difference between hedging and netting?

Hedging can keep separate positions in the same symbol, including opposite directions. Netting combines activity into one net position per symbol.

What does Close By do?

On an eligible hedging account, Close By pairs opposite positions for closure. If quantities differ, the unmatched remainder stays open.

Editorial standard

Sources, context and review

  1. Trading Operations: Basic PrinciplesMetaQuotesVerified Sep 12, 2026
  2. Margin Calculation for Retail Forex and FuturesMetaQuotesVerified Sep 12, 2026
  3. Executing Trades and Closing PositionsMetaQuotesVerified Sep 12, 2026
  4. Questions and Answers on CFDs and Other Speculative ProductsFinancial Conduct AuthorityVerified Sep 12, 2026

Editorially reviewed by RG Compliance.

Important information

This material is provided for general information and education only. It does not take into account personal objectives, financial circumstances or needs, and it is not financial advice or a recommendation. CFDs are complex instruments and involve a high level of risk.

RG Global general information. Product availability and eligibility depend on the applicable RG entity, jurisdiction, account route and current approved product specification.

Market: Multi-asset · Topics: Margin, Risk, Position Management · Level: Intermediate

Your next move

See the markets clearly. Trade them your way.

Move from market understanding to a secure account pathway with RockGlobal.