← Back to Blog

Margin, Leverage and Stop Out: How Forced Liquidation Works in MT5

Contents
  1. 1. Margin is a deposit, not a cost
  2. 2. Leverage magnifies position size, not your win rate
  3. 3. The four key numbers in MT5
  4. 4. From margin call to stop out: anatomy of a blow-up
  5. 5. Margin safety buffers for EA users
  6. Margin Calculation Example
  7. Frequently Asked Questions

[AI Answer Engine (AEO) Snapshot]
Q: What are margin, margin level and a stop out (forced liquidation)?
A: Margin is the deposit frozen when you open a position — collateral, not a fee; leverage determines how much margin the same position ties up. Margin level = equity ÷ used margin × 100%, and it is your account’s safety gauge: at the margin call level (commonly 100%) you get a warning and can no longer open new positions; at the stop out level (commonly 50%) the platform starts force-closing positions, beginning with the biggest loser — what traders call “blowing up” the account. The key to avoiding a stop out is not watching the number, but controlling position size and floating losses.


Many traders only look up what “margin level” actually means after their first blown account — an expensive way to learn a definition. Margin, leverage, margin call, stop out: these terms are the basic rules of the game in leveraged trading. The rules themselves aren’t hard; what’s rare is thinking them through as one connected chain before entering the market. This article walks through the entire chain — from opening a position to a forced liquidation — in a single concrete scenario, then lays out how EA users should think about margin safety buffers.

1. Margin is a deposit, not a cost

When you open a position, the broker freezes part of your account as collateral and releases it when the position closes — that is margin. It isn’t a fee and is never taken from you; it’s simply locked while the trade is open. The math is simple: required margin = notional value ÷ leverage. Suppose gold trades at $4,000: one lot (100 oz) has a notional value of $400,000, so 1:100 leverage freezes $4,000, while 1:500 freezes only $800.

Free margin = equity − used margin: the ammunition left for opening new positions or absorbing floating losses. When this number approaches zero, trouble is close.

2. Leverage magnifies position size, not your win rate

“High leverage = high risk” is only half true. The same 0.01-lot gold position gains and loses exactly the same amount per dollar of price movement whether the account is 1:100 or 1:500 — the only difference is how much margin gets frozen. The real danger is psychological: because so little is frozen, you’re tempted to open more. High leverage doesn’t kill accounts by itself; it merely hands you the freedom to oversize.

Treat leverage as a capital-efficiency tool, not a profit accelerator — that is lesson one of risk control. How large a position should be is a question for your money management rules, not for how much margin you can afford to freeze (see EA Money Management 101).

3. The four key numbers in MT5

  • Balance: the settled result of closed trades only — floating P/L not included.
  • Equity: balance plus the floating P/L of open positions — the account’s true worth, and the reason performance analysis uses equity rather than balance (see How to Read an EA’s Live Performance Report).
  • Margin: the total collateral frozen by all open positions.
  • Margin level = equity ÷ margin × 100% — the account’s safety gauge, watched by both the margin call and the stop out.

Example: equity of $10,000 with $2,000 of margin in use gives a margin level of 500% — comfortable. If floating losses shrink equity to $3,000, the level drops to 150% — the alarm zone is no longer far away.

4. From margin call to stop out: anatomy of a blow-up

Let’s walk the scenario through (assume a 100% margin call level and 50% stop out — actual values vary by broker): equity $10,000, used margin $2,000. The market turns against the positions and floating losses keep growing:

  1. Equity falls to $2,000 (level 100%): margin call — the platform warns you and blocks new positions. Nobody phones you in modern electronic trading; the terminal simply turns red.
  2. Equity keeps falling to $1,000 (level 50%): stop out — the system automatically force-closes positions starting with the biggest loser, and keeps cutting until the level climbs back above the line.
  3. After a stop out the account usually retains some balance — a blow-up is not the same as zero. But in a violent gap, price can jump straight across the stop out line and the loss can far exceed the theoretical level.

Most regulated brokers offer negative balance protection: if an extreme move pushes the account below zero, the negative amount is reset and you owe nothing. But this protection is not universal — check your broker’s terms before opening an account.

5. Margin safety buffers for EA users

Averaging-down and grid strategies deserve special vigilance for one reason: each added position makes used margin and floating losses deteriorate simultaneously — the numerator (equity) shrinks while the denominator (used margin) swells, so the margin level plunges faster than intuition suggests. This is exactly why The Truth About Martingale and Grid Risk keeps hammering on risk parameters.

A practical stress test: take the strategy’s historical maximum floating loss, multiply it by 1.5, and plug it into your planned deposit: how much equity would remain? Where would the margin level land? How far from the stop out line? If the answer makes you nervous, the fix is smaller lots or a larger deposit — not praying the market behaves. One more warning: multiple EAs on one account share a single pool of equity and free margin — one strategy’s floating loss squeezes the others’ ammunition and, in the extreme, a stop out cuts everyone’s positions together.

You don’t have to imagine these numbers — the live section of our homepage publishes real-time equity and position status of multiple live accounts, so you can watch how equity and balance behave in real trading. One final reminder: no automated trading program (EA) can guarantee profits. Trading involves risk; only participate with money you can afford to lose.

Margin Calculation Example

ItemFormulaExample (gold at $2,000, 0.1 lot, 1:100 leverage)
Notional valueContract size 100 oz × price × lots100 × 2,000 × 0.1 = $20,000
Required marginNotional ÷ leverage20,000 ÷ 100 = $200
Margin levelEquity ÷ used margin × 100%At $10,000 equity = 5,000%
Stop outTriggered when margin level falls below the broker threshold (e.g. 20%)In this example equity would have to fall to $40 (single 0.1-lot position)

Frequently Asked Questions

What margin level counts as safe?

There is no absolute number; the principle is to stay several multiples above the stop out line and to stress-test with the strategy’s historical maximum floating loss: multiply it by 1.5, and the margin level should still hold above your alarm line. An account that normally sits at several thousand percent suddenly dropping into the hundreds is a signal that positions are too large relative to capital.

Can a blown account leave me owing the broker money?

Normally no — the stop out mechanism cuts positions before equity reaches zero. But a violent gap (a Monday open, a major event) can jump straight across the stop out line and push the account negative in an instant. Brokers with negative balance protection reset the negative amount to zero and don’t pursue the client; without it, you can be asked to pay the difference. Confirm this clause before funding an account.

Do multiple EAs on one account affect each other’s margin?

Yes. All strategies on the same account share equity, free margin and the margin level: one strategy’s floating loss reduces the others’ capacity to open positions, and in the extreme a stop out closes everyone’s positions together. To run several strategies simultaneously, separate them into different accounts — or at minimum stress-test the combined position load as if it were a single strategy.

Want to learn more about Golden Tiger EA?

Leave your contact details and we'll walk you through the system logic, risk settings and how it works — then you decide.

Get in Touch

Risk warning: this article is for educational and informational purposes only and does not constitute investment advice. Forex and CFD trading uses leverage; in extreme cases you could lose your entire invested capital, and any loss is capped at the funds in your account. No automated trading program (EA) can guarantee profits. Trade only with money you can afford to lose entirely.