Our journal app is in pre-release. If you notice a problem, please contact us.

Home › Articles › Forex for Beginners › What is hedging in forex? Netting vs hedging accounts

Forex for BeginnersLesson 24 of 32Course contents

Forex for Beginners

What is hedging in forex? Netting vs hedging accounts

You had a buy position on EUR/USD, sent a sell order, and your buy position disappeared. In another account, the buy and the sell both stayed open side by side. The difference comes from how the account counts positions. This article covers what hedging is, how MT5 netting and hedging accounts differ, and what happens to profit, loss and costs while you are hedged, with charts, a worked example and sources. It does not tell you whether to hedge.

Published 14 Oct 2026By Kenji Okumura, Representative, Tiltnote (has traded forex)

In short

Hedging means holding a buy and a sell position on the same currency pair at the same time.

MT5 has two ways of counting positions in an account: netting and hedging. Netting allows one position per symbol; hedging allows several on the same symbol. The broker sets which one each account uses.[1]

While you are hedged, price moves largely cancel out. But spread, swap and commission still cost you.

What hedging is

Say you hold a 0.1 lot buy of EUR/USD. If you now sell 0.1 lot of the same pair and keep both, you hold a buy and a sell at the same time. That is hedging.

In general finance, "hedging" can mean any trade that reduces risk. In retail forex, it usually means this specific setup: opposite positions on the same pair in the same account.

Not every account lets you do this. In some accounts, a sell order simply closes your buy. That depends on whether the account uses netting or hedging.

Netting accounts vs hedging accounts

The MT5 help describes two position accounting systems.[1]

An example: buy 0.1 lot of EUR/USD, then sell 0.1 lot of the same pair. In a netting account, one position per symbol, so the sell closes the buy and no position is left. In a hedging account, several positions per symbol, so the 0.1 buy and the 0.1 sell both stay open.
Based on the MT5 help. You can only hold a hedge in a hedging account.

So a hedge can only be held in a hedging account. In a netting account, an opposite order is treated as reducing or closing your current position.

According to the MT5 help, the system in use depends on the account and is set by the broker.[1] According to the MT5 release notes (2016), the position accounting system "is set at an account level and displayed in the terminal window header and the Journal".[5] Screens can differ between versions, so check your broker's documentation too. MT4, mobile apps and other platforms may work differently or use other names.

Closing works differently too. In netting, you close with an opposite deal of the same symbol and volume. In hedging, you pick the position you want to close.[1] Hedging accounts also have a "Close By" operation, which closes two opposite positions of the same symbol together.[3]

Profit and loss while hedged: price moves cancel, costs remain

With equal-size buy and sell positions, a rise in price is a gain on the buy and a loss on the sell. A fall is the reverse. Gains and losses from price moves largely cancel out.

But a buy closes at the Bid and a sell closes at the Ask. The gap between them is the spread (what is the spread). So as soon as you are hedged, you are down by the spread.

A made-up example. A USD account holds 0.1 lot each of EUR/USD: a buy at 1.08003 and a sell at 1.08000. At a price of 1.08000, the buy is −$0.30 and the sell −$0.30, total −$0.60. At 1.09000, the buy is +$99.70 and the sell −$100.30, total −$0.60. At 1.07000, the buy is −$100.30 and the sell +$99.70, total −$0.60. If the swap is +$0.10 a day on the buy and −$0.15 a day on the sell, the net is −$0.05 a day, or −$1.50 over 30 days. With a commission, you pay it on both.
A made-up example, assuming the spread stays at 0.3 pips. Price moves cancel out, but the spread remains, and swap and commission are added on top.

Worked example

A USD account holds 0.1 lot (10,000 units of EUR) each of EUR/USD: a buy at 1.08003 and a sell at 1.08000. The spread is 0.3 pips (0.00003). "Price" here means the Bid. A buy is opened at the Ask, which is 0.00003 higher, so the buy starts at 1.08003.

When the price moves to 1.09000
Buy: (1.09000 − 1.08003) × 10,000 = +$99.70
Sell: (1.08000 − 1.09003) × 10,000 = −$100.30
Total: −$0.60

At 1.08000 or at 1.07000, the total is still −$0.60. That is 0.3 pips × 0.1 lot × two positions. This assumes you close the two positions separately. The MT5 help says a Close By operation "saves the trader one spread" (−$0.30 in this example).[3] If the spread widens, the total drops further. The idea is the same in a yen, euro or any other account; profit and loss are shown in your account currency.

While you hold both, other costs are added.

These are our example calculations. Spread, swap and commission vary by broker, account and day. See how to count your trading costs.

Margin on hedged positions depends on the broker

The MT5 help calls opposite positions of the same symbol "hedged or covered". There are two ways to calculate margin for them, and "the calculation method is determined by the broker".[2]

So the margin for a hedge is not necessarily the two positions added together; it depends on the broker's and the symbol's settings. How to open a symbol's specification is in what is a lot, and how margin and margin level work is in margin level explained. The margin calculator shows the margin for a position.

Even if the margin is low, spread, swap and commission slowly reduce your equity. If you close only one side, the remaining position takes the full effect of price moves again. What happens when margin level falls is covered in what is a stop out.

Rules can differ by country and region

Whether you can hold a hedge in one account can depend not only on the broker and account type but also on local rules.

Here is one example, from the United States. NFA (National Futures Association) Rule 2-43(b) says that Forex Dealer Members "may not carry offsetting positions in a customer account but must offset them on a first-in, first-out basis".[4] At the customer's request, a dealer may offset same-size transactions, against the oldest transaction of that size. The closing order and how to count P&L under this rule are covered in the FIFO rule for US forex accounts.

We have not checked the rules in other countries and regions for this article. Treatment differs by country, region and broker, so check your own broker's documentation.

Check it in your own records (you decide)

MT5 history can be shown as a list of positions, orders or deals.[3] In a hedging account, the buy and the sell of a hedge appear as separate positions.

Result of the hedge = buy P&L + sell P&L + swap on both + commission on both

After logging a few, you can see in your own records how much hedged trades cost and what happened after you closed one side. This article does not decide whether you should hedge.

The pip value calculator turns pips into money, and the swap calculator estimates swap. For the full list of order types, see forex order types. To check whether different pairs add up to the same currency, see holding the same currency in several pairs?

Sources

  1. MetaQuotes. General Concepts (MetaTrader 5 Help). https://www.metatrader5.com/en/terminal/help/trading/general_concept
  2. MetaQuotes. Margin Calculation: Retail Forex, Futures (MetaTrader 5 Help). https://www.metatrader5.com/en/terminal/help/trading_advanced/margin_forex
  3. MetaQuotes. Executing Trades (MetaTrader 5 Help). https://www.metatrader5.com/en/terminal/help/trading/performing_deals
  4. National Futures Association. Rule 2-43. Forex Orders (NFA Rulebook). https://www.nfa.futures.org/rulebook/rules.aspx?RuleID=RULE%202-43&Section=4
  5. MetaQuotes. MetaTrader 5 build 1325 release notes (2016). https://www.metatrader5.com/en/releasenotes/terminal/1325

Forex for Beginners

Back to the course contents →

Tools for this article

Log why you hedged, and how you felt.

Tiltnote is a trading journal you can use free with manual entries. On every trade you can log your strategy name, how you felt, whether you kept your rules, and a note. Write down why you opened a hedge and when you closed each side, and you can look back at it later.

Try Tiltnote free →Opens the Tiltnote web app. On the free plan, analysis and history show your most recent 14 days (older records are kept and unlock on the paid plan).

More articles

Margin, equity, free margin and margin level explainedWhat is swap (rollover)? Receiving or paying the interest rate gapWhat is leverage in forex? How many times your margin your trade isWhat is a stop out? Forced closing, and losses larger than your depositForex order types: from market orders to OCO and If DoneWhat is the spread? Bid, ask, and when it widensArticles →

Feedback on this page

Anything missing, unclear, or a tool you would like? Tell us in any language.

Numbers you entered in a tool are not sent. Please do not include account numbers or passwords. Privacy details

This article is general information. It is not investment advice or a recommendation to make any trade.

Updated 20 Oct 2026 · Run by Kenji Okumura, Representative, Tiltnote · About this site