My recovery EA had one job: when a EURUSD long went 40 pips against me, open a short hedge to freeze the loss while the EA worked the recovery grid. It backtested beautifully on demo — +28% in six months, worst drawdown 11%. I opened a live account with a new broker in February 2025, funded $6,000, attached the EA, and waited. First hedge signal came on a Tuesday. The EA sent the short order. And my long position vanished.
Not hedged. Closed. The new broker ran my account in netting mode, where opening an opposite position on the same symbol does not create a hedge — it reduces or closes the existing position. My EA's entire recovery logic was built for hedging mode. In one afternoon it "hedged" three positions into nonexistence and turned a manageable −$180 floating loss into a realized −$520. The strategy was fine. The account mode was wrong. Nobody had told me to check.
That is why mt5 hedging netting mode explained properly matters more than any entry signal: the mode decides what your orders mean. Same EA, same clicks, completely different outcomes. I now verify account mode before I fund anything, run every strategy through the DarkWolf MT5 Signal Calculator with the mode factored into the sizing, and I have a pre-funding checklist that takes four minutes. Here it is, plus the math that makes the two modes click.
The account-mode math that changes every position you open
Everything about the two modes reduces to one question: when you open a second position on a symbol you already hold, does MT5 keep both, or merge them? Hedging keeps both — you can hold a 1.0 buy and a 0.6 sell on EURUSD simultaneously, each with its own entry price, stop, and profit. Netting merges them into a single net position: that same pair of orders becomes one 0.4 buy at a volume-weighted average price.
| Variable | Meaning | Example value |
|---|---|---|
| Buy Volumes | All long volumes currently open on the symbol | 1.0 lot |
| Sell Volumes | All short volumes currently open on the symbol | 0.6 lots |
| Net Volume | The single position netting mode actually holds | 0.4 lots long |
| Net Price | Volume-weighted average entry of the merged position | 1.0842 |
Worked example from my disaster day: long 1.0 at 1.0850, EA "hedges" with short 1.0 at 1.0810. Hedging mode: two positions, net exposure zero, floating loss frozen at $400. Netting mode: net volume zero — no position at all — and the $400 loss is realized instantly. Same orders. Opposite universes. The BabyPips school has a plain-English hedging lesson that is worth reading alongside this if the concept is new — the mechanics there match what MT5 does in hedging mode.
What happened when I ran the same EA on hedging and netting
After the −$520 day I did what I should have done first: I ran the recovery EA on two $100,000 demo accounts side by side for a month — one hedging, one netting — same set file, same VPS, logging every order action. I wanted to see exactly where the logic broke, not just that it broke.
| Week | Hedging account | Netting account |
|---|---|---|
| Week 1 | 4 hedges opened correctly, 3 recovered for +$1,120 | Same signals closed positions instead; −$890 realized |
| Week 2 | Grid legs layered normally, floating peak −$2,400 | Grid legs netted into one average-price position; −$1,950 realized |
| Week 3 | Quiet week, 2 small wins, +$640 | Same 2 wins (no hedge signals fired), +$655 |
| Month total | +$1,760 (+1.76%), strategy worked as designed | −$1,185 (−1.19%), same EA, mode mismatch |
Week 3 is the telling one: with no hedge signals, both accounts behaved identically. The mode only matters when your strategy actually uses opposite-direction positions — which means plenty of simple EAs run fine on netting. The danger is specifically strategies with hedge legs, grid recovery, or "close half and reverse" logic. If your EA ever opens against its own position, the mode is load-bearing.
Mode checks I ran before moving money between brokers
I now run a four-minute mode audit before funding any new account. Demo first, always. Open a 0.01 buy on EURUSD, then open a 0.01 sell on EURUSD, then look at the terminal: two positions means hedging, one net position means netting. Then close one leg and confirm the behavior matches. It sounds almost insultingly simple. It would have saved me $520.
| Check | How to run it | What it reveals |
|---|---|---|
| Opposite-position test | 0.01 buy then 0.01 sell, same symbol | Hedging vs netting, definitively |
| EA dry run | Run your EA on demo for 2 weeks minimum | Whether its logic assumes the mode you have |
| Margin comparison | Note margin used for hedged pair vs net position | Hedged margin rules differ by broker — affects sizing |
| Support confirmation | Ask support which mode your account uses, in writing | Some brokers offer both — you may be able to switch |
One broker surprised me: they offered both modes and let me switch the account with an email. Always ask. And US traders should know the CFTC's FIFO rules effectively force netting-like behavior on US accounts — hedging as MT5 defines it is generally not available there, so any hedge-based EA needs rethinking before it touches a US broker.
Living with your broker's account mode choice
Sometimes you do not get to choose. The broker offers one mode, and your strategy has to adapt or move. On netting accounts I run a simple rule: no strategy with hedge legs, period. Grid recovery EAs, "hedge and wait" systems, multi-leg straddles — all benched. Instead I use wider stops with smaller size, which replicates the economic effect of a hedge (capped loss, room to be wrong) without the mechanics.
On hedging accounts the risk flips: freedom becomes the hazard. It is easy to accumulate six overlapping positions on one symbol and lose track of net exposure. I keep a running net-exposure number per symbol — buys minus sells — and if it ever exceeds my planned risk size, something is wrong. The volume profile indicator helps me see where my layered entries actually sit relative to real traded volume, which keeps hedge-leg averaging honest.
Margin behaves differently too, and this bites EA traders. In hedging mode, many brokers charge reduced margin on fully hedged positions (sometimes near zero); in netting mode there is no hedge so there is no discount. An EA sized for hedging-mode margin can get margin-called running the identical logic where margin rules differ. I re-verify margin requirements per broker in the contract specification — right-click the symbol, Specification, check the hedged margin field — before sizing anything.
How hedging and netting actually differ under the hood
Under the hood the difference is architectural. Hedging mode maintains a list of positions per symbol: each has its own ticket, open price, stop, target, swap, and profit. Your EA addresses them individually — close ticket 12345, modify ticket 12346. Netting mode maintains one position object per symbol with a net volume and a weighted-average price. There are no individual tickets to manage; every new order just adjusts the single position's volume and average price.
This is why EAs break across modes: an EA written for hedging thinks in tickets. It opens a hedge as a new ticket, tracks it separately, closes it separately. On netting, those ticket operations either fail or do something unexpected — closing "the hedge ticket" may partially close the whole net position. Conversely, a netting-style EA that assumes one position per symbol gets confused on hedging accounts when manual trades or other EAs add tickets it did not expect.
The hedging strategy guide goes deep on actual hedge-based tactics for hedging-mode accounts — entries, ratios, and unwind rules. And if gold is your main market, the gold strategy breakdown notes where its logic assumes hedging mode, since XAUUSD's volatility makes mode mistakes expensive fast.
Reading the signal calculator through your account mode
The calculator sizes risk in dollars, but the mode changes what a "position" means — so I run it differently per mode. On hedging accounts I size each leg independently and then check total net exposure across legs. On netting accounts I size the intended net position directly, because that is all that will exist.
| Input Field | What it means | Sample value |
|---|---|---|
| Account balance | Equity of the account whose mode you verified | $6,000 |
| Risk % | Per-trade risk on the net exposure, not per leg | 1% |
| Account mode | Hedging or netting — changes how legs combine | Hedging |
| Existing exposure | Net open volume on the symbol before this trade | 0.4 lots long |
| Stop distance (pips) | From the net position's average price on netting accounts | 35 |
| Hedge leg size | Opposite-direction volume (hedging mode only) | 0.4 lots short |
Hedging vs netting questions that keep coming up
How do I check whether my account is hedging or netting?
Open a 0.01 buy and a 0.01 sell on the same symbol in a demo or tiny live test. If the terminal shows two separate positions, you are on hedging. If it shows one net position (or nothing, if they cancelled out), you are on netting. You can also ask your broker's support directly. Do this before funding — it takes four minutes and prevents the exact $520 mistake I made.
Can I switch my account from netting to hedging?
Sometimes. Many offshore and EU brokers offer both account types and will switch you on request or let you open a second account in the other mode. US brokers generally cannot offer true hedging due to FIFO regulations. Ask support in writing before assuming. If switching is impossible, adapt the strategy: wider stops with smaller size replicate much of what hedging achieves economically.
Which mode is better for EAs?
Neither — it depends on the EA's logic. EAs with hedge legs, grid recovery, or multi-ticket management need hedging mode and break on netting. Simple one-position EAs often run cleaner on netting, where there is no ticket confusion. The mode is not a quality ranking; it is a compatibility requirement. Match the EA to the mode, not the other way around.
Why did my hedge close my position instead?
Because your account is in netting mode. On netting, an opposite-direction order reduces the existing position — a full-size opposite order closes it entirely. Your EA or your manual "hedge" did exactly what the mode dictates. This is the single most common hedging/netting support question, and the answer is always the account mode, never a platform bug.
Does hedging use more margin than netting?
It depends on the broker's hedged-margin policy. Many brokers charge little or no additional margin for fully hedged positions in hedging mode, while netting mode has no hedged positions to discount. But partially hedged baskets can use more margin than a single net position. Check the symbol specification's hedged margin field at your specific broker — policies vary widely and assumptions here cause margin calls.
Can I run a hedging EA and a netting EA on the same account?
Only on a hedging-mode account, and even then I advise against it. The netting-style EA assumes one position per symbol and gets confused by the hedging EA's extra tickets; manual reconciliation becomes a part-time job. Keep them on separate accounts. Account segregation is cheap — debugging cross-EA ticket confusion at midnight is not.