Margin call and stop out in MT5: identify the account thresholds

Margin call and stop out in MT5: identify the account thresholds

A stop loss belongs to a position or strategy. A broker stop-out rule belongs to the account. Understanding both makes it easier to explain why a position disappeared even when the EA did not issue its planned exit.

Check the threshold mode

MT5 account properties expose margin-call and stop-out levels and whether those levels use a percentage or a monetary mode. Read the mode together with the number. A bare threshold copied from another broker is not enough to interpret this account.

Use a labelled example

In a simplified percentage-mode example, equity of 500 and used margin of 1000 gives a margin level of 50 percent. This calculation illustrates the ratio only; it does not establish your broker threshold, liquidation sequence or actual execution price.

Trace the closure reason

Compare the account history, server messages and EA log around the event. Separate an EA-issued exit from broker-side liquidation. Include other open positions because the account-level calculation can change even when the position under investigation has not changed.

Build a useful account view

A custom dashboard can show equity, used margin, free margin and the threshold mode together. Ask AI to label unavailable values rather than substituting zero. Such a view helps you understand account capacity without confusing higher leverage with a smaller market loss.

MT5 account properties

Back to top

MQLume Bespoke

Built around your ambition.

Explore bespoke services →

Have something more specific in mind?

Ask us about advanced custom development. Share your requirements through private support or email; we will discuss the scope and quote separately.

100% committed to following up on your delivery and support requests.

Free downloads. Real source files.

FREE

Lizard [MQLume]

MQL5 / MT5Version v2.1

Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.

US$99.00FREE
FREE

Scraper Gold [MQLume]

MQL5 / MT5Version v3.7

Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.

US$95.00FREE
MQLume

More to explore. A community to share it with.

Stay close to MQLume, wherever you like to learn.

YouTube

See our EAs in action. Explore backtests, walkthroughs and practical guides.

Watch on YouTube

Telegram

Meet other EA users, share ideas and keep up with what’s new.

Join the community Follow official updates

Cart

One personal-use licence per project. Each project can be added once.

Your cart is waiting for its first passenger.

Choose an EA or source edition to get started.

Continue shopping