You cannot set a max drawdown lock natively in MetaTrader 5. The platform displays your drawdown but has no setting that halts trading when equity hits a floor. To enforce a drawdown limit you need an Expert Advisor, a broker or prop-firm server rule, or an external trade-aware blocker. First, what drawdown actually means, because that is where most breaches come from.

What max drawdown means

Drawdown is the drop from a peak in your account. Max drawdown, as a rule, is the floor your balance or equity is not allowed to fall below. On a $100,000 prop account with a 10% max drawdown, your floor is $90,000. Touch it and the account is done. The daily version, daily drawdown, is the same idea applied to a single trading day. Both are covered in depth in prop firm drawdown rules explained.

Static vs trailing: the trap

A static floor never moves. A trailing floor rises with your highest balance or equity, so as you make money your remaining room shrinks. Plenty of traders breach not because they had a disastrous day but because the floor trailed up behind them and they were measuring against the old number. Know which type your account uses and what the current floor is.

Why MT5 will not enforce it

MetaTrader 5 executes orders. It does not police equity. There is no native "stop me at this drawdown" switch, which is why the forums are full of traders asking how to build one. The options are the same three as for any hard limit on MT5.

The options

Expert Advisor

An EA can monitor equity and close positions or refuse new ones at a drawdown threshold. Good for automated systems. The weakness is the same as always: it does not stop you opening a manual trade, and an EA can be removed.

Broker or prop-firm server rule

On a prop account the max drawdown is already enforced server-side, that is the whole point. The problem is not the firm enforcing it, it is you reaching it. The firm will close your breached account without hesitation.

A daily stop that keeps you away from the floor

The realistic protection is to never let a single session get near the max drawdown line. Set a hard daily loss limit well inside the floor, and enforce it with a tool that blocks trading when you hit it. EmotionLock reads your real MT5 activity through a read-only investor password connection and blocks trading apps at your daily limit, so a bad day stops at the daily limit instead of running all the way to a breach. See the daily loss limit setup for the details.

Frequently asked questions

What is max drawdown in trading?

Max drawdown is the largest drop from a peak in your account balance or equity. As a limit, it is the floor your account is not allowed to fall below. Prop firms use it as a hard rule: breach the max drawdown and the account is terminated. Daily drawdown is the same idea over a single day.

Can I set a max drawdown limit directly in MT5?

No. MetaTrader 5 does not have a native setting that locks your account or blocks trading when equity falls to a level. You can monitor drawdown on the chart, but enforcing a hard stop requires an Expert Advisor, a broker or prop-firm server rule, or an external trade-aware blocker.

What is the difference between static and trailing drawdown?

A static drawdown floor is fixed from the start, for example a $90,000 floor on a $100,000 account. A trailing drawdown floor follows your highest balance or equity upward, locking in gains and shrinking your remaining room. Many prop traders breach by forgetting the floor has trailed up.

How can I avoid breaching max drawdown by accident?

Combine a known floor with a hard daily stop so a single bad session cannot reach the max drawdown line. Because the breach usually happens in a tilted, overtrading moment, the reliable protection is a tool that blocks trading once you hit a daily limit, rather than a rule you have to remember to follow.

The summary

Max drawdown is the floor your account cannot cross, and MT5 will not enforce it for you. Know whether your floor is static or trailing, set a hard daily stop well inside it, and use a tool like EmotionLock to enforce that daily stop so a single session never reaches the breach line.