A trader who holds two positions in the same instrument — opened at different times, perhaps at different sizes — expects to close whichever one they select. On some accounts that is exactly what happens. On others the platform closes a different one, or refuses the second position entirely, and the reason is a rule set at the account level rather than anything to do with the market.
The two rules and what each does
- FIFO: closing must begin with the oldest position in that instrument.
- No hedging: a buy and a sell in the same instrument offset instead of coexisting.
- Both are account properties, set by the broker's jurisdiction or platform configuration.
- Neither changes your net exposure — they change which trades your record shows.
FIFO, in practice
First in, first out requires that when you hold several positions in one instrument and close part of your exposure, the oldest is closed first. If you bought one lot at 1.1000 and another at 1.1050, and you close one lot, the platform closes the 1.1000 position regardless of which one you selected.
The rule originates in United States regulation and applies to accounts held with US-registered retail forex dealers. It is also implemented by some brokers elsewhere as a platform setting, so its presence is not a reliable indicator of jurisdiction on its own.
Net exposure is unaffected: one lot closed is one lot closed. What changes is the accounting. The realised profit or loss attaches to a different entry price, which matters for tax reporting, for any strategy that scales in and out at specific levels, and for a trading record that is supposed to tell you which entries worked.
No-hedging accounts
On a netting account, a buy and a sell in the same instrument do not coexist. Opening a sell while holding a buy reduces or closes the buy. The account holds one net position per instrument, and that is all it can hold.
MetaTrader 5 supports both netting and hedging, and the broker chooses per account type. MetaTrader 4 is hedging only. US retail forex accounts are netting by rule. A trader migrating from MT4 to MT5 sometimes finds their familiar workflow unavailable for exactly this reason.
Confirm the accounting model before funding
If your method holds opposing positions in one instrument — some grid, recovery and correlation approaches do — a netting account cannot run it. This is set per account type and is stated in the specification rather than the marketing page.
Why the rules exist
The case against retail hedging is that it is usually not a hedge. Holding a buy and a sell of equal size in one instrument produces zero net exposure while paying the spread twice and financing on both legs. It looks like a risk management action and functions as a fee. Regulators that prohibit it are removing a construct that costs retail clients money without changing their exposure.
FIFO has a different rationale, closer to tax and record-keeping consistency: it removes the ability to choose which lot to realise, and with it a class of accounting manipulation.
Both are defensible, and both interfere with legitimate strategies that were built around the alternative. That is the honest position: the rules solve a real problem and create a real constraint.
Working within them
Most strategies that appear to require hedging can be expressed differently.
Where the intent is to reduce exposure temporarily, closing part of the position achieves the same net result at half the cost — one spread instead of two, and financing on one leg instead of two.
Where the intent is to hold a directional view while protecting against an event, a correlated instrument or an option-like structure does the job without two legs in the same symbol. Where the intent is to hold a position for tax or accounting reasons while removing market exposure, that is a question for a tax adviser rather than a trading platform, and the answer differs by jurisdiction.
Establishing what your account allows
- Open the account type's specification and find the accounting model — netting or hedging.
- Check whether FIFO is applied, in the specification or the client agreement.
- Test it on a demo of the same account type: open two positions, close one, and see which closed.
- If your method needs hedging, confirm the broker offers a hedging account type before funding.
- Note that a broker may offer both, on different account types under one client profile.
The stop-out interaction
One consequence deserves separate mention. On a hedging account, a stop-out closes positions in the broker's stated order — usually the largest loser first — which can break a deliberately paired set and leave one leg exposed to a market that then moves against it.
A trader relying on paired positions for protection should know that the protection is not guaranteed to survive a margin event, and that the client agreement rather than the platform describes what happens.
Common questions
Does FIFO change how much I make or lose?
Not in aggregate. Net exposure and total profit or loss are the same. What changes is which entry price a closure is matched against, which affects the record and can affect tax reporting.
Can I hedge on MetaTrader 5?
Only if the broker set the account to hedging. MT5 supports both models and the broker chooses per account type; MT4 is hedging only.
Why do some brokers ban hedging?
Because holding equal opposing positions gives zero net exposure while paying the spread twice and financing on both legs. Regulators treat it as a construct that costs retail clients money without changing their risk.
Is there a workaround for FIFO?
Not within one account and instrument — the rule is enforced at the platform level. Some traders use separate accounts for separate strategies, which is legitimate and keeps the records clean.








