MT5 stop out and margin call explained

How margin level, margin call and stop out relate, why the thresholds belong to your broker, and how a forced close looks in your history.

Margin level, margin call and stop out are three phrases that traders hear together and rarely see defined. They describe one chain of events: your free margin shrinks, your broker warns you, and eventually the platform closes positions for you. The thresholds are not set by MetaTrader 5 itself. They are set by your broker, which is why one account can survive a move that ends another. This page explains the chain, shows the arithmetic with invented numbers, and covers how a forced close appears in your trade history so you can recognise it in a journal.

Margin level: the number everything hangs on

Margin level is shown in the Trade tab of the Toolbox as a percentage, and it is equity divided by used margin, times 100. Equity is your balance plus or minus the floating profit or loss on open positions. Used margin is the amount the broker holds to keep those positions open. Because equity moves with every price tick, margin level moves too. For the field-by-field explanation of that tab, see MT5 margin level explained.

A high margin level means plenty of room. A falling one means that either your floating loss is growing or you are holding more margin than your equity comfortably supports. Nothing happens to your positions just because the number falls. Consequences begin when it crosses the thresholds your broker has set.

Margin call and stop out are two different levels

Two cautions about those figures. First, the numbers above are an example of what some brokers publish, not a rule of MetaTrader 5. Second, how the platform picks which position to close, and how many it closes, depends on the account type and the server's rules, so do not assume the order from a general article, including this one. Your broker's account terms or support can tell you.

The arithmetic, step by step (hypothetical)

Suppose an account has a balance of $2,000, no floating profit at the start, and open positions that need $400 of margin. Margin level is 2,000 / 400 = 500%. Now the positions move against you by $1,000. Equity falls to $1,000 and margin level to 1,000 / 400 = 250%. If the move continues until floating loss is $1,600, equity is $400 and margin level is 100%, which means equity just equals the margin held. If the broker's stop out is 50% in this account, the platform would begin closing positions when equity reaches $200, a floating loss of $1,800 against used margin of $400, assuming nothing else changed.

Floating lossEquityMargin level (margin $400)
$0$2,000500%
$1,000$1,000250%
$1,600$400100%
$1,800$20050%

The point is not the specific numbers. It is that margin level falls fast once the account is carrying a large position relative to its equity, and that a forced close usually happens at a worse moment and price than a closing you chose. Closing a position reduces used margin and can lift the margin level, which is why traders reduce size when the number worries them. This is general information, not a recommendation on what to do with a position.

What a stop out looks like in your trade history

When the platform closes a position because of a stop out, the closing deal carries a reason and a comment. The comment commonly starts with 'so:' followed by the margin level at that moment, and the deal's reason is recorded as stop out. You can see the comment column on the History tab if it is enabled for your view. Our guide to MT5 history comments (sl, tp, so) explains these markers in full.

This matters for a journal, because a stop out is not a normal exit. You did not choose the price, the timing or sometimes even the size. A useful journal separates forced closes from planned exits, so the statistics for your strategy are not distorted by an event that came from account size, not from the setup. In AI Trading Journal the closed position appears like any other entry with its net result, and you can tag it and write a note about what led to it. The app records the trade; it does not label the reason for you, so the tag and the note are yours to add.

Ways traders keep margin level healthy

Limits of this page

Closing everything yourself looks different from a stop out: see close all positions in history.

Frequently asked questions

What is the difference between margin call and stop out?
A margin call is a warning level. A stop out is a lower level at which the platform starts closing positions automatically. Both values are set by your broker.
How is margin level calculated in MT5?
Equity divided by used margin, multiplied by 100. Equity is balance plus floating profit or loss.
What stop out level does my broker use?
It depends on the broker and the account type. Check your account terms or ask support, and note the value in your journal.
How can I tell a stop out in my MT5 history?
The closing deal comment commonly starts with 'so:' followed by the margin level, and the reason is stop out. Enable the comment column to see it.
Does a journal show stop outs?
A journal built from your MT5 history records the closed position and its result. Tagging it as a forced close, and noting why, is something you add.

Related guides

Tag forced closes and review them: free for 7 days

Free for 7 days, no card required. After that, a one-time $19.99 purchase. No subscription. Also on the Microsoft Store.

One-time $19.99, no monthly fee · your MT5 login never leaves your PC · trades go into your own journal on your PC, not through our servers.

Start free 7-day trial