Daily loss and max loss: how prop-firm limits are measured and how to enforce them in MT5

24 November 2026, 14:17
Saad Ferdi
0
5

Why accounts are lost on one bad day

Most failed prop-firm challenges and blown accounts are not lost slowly. They are lost in one session: a news spike, a few revenge trades, an EA that keeps re-entering against the move. By the time the trader looks at the account, the daily limit is already broken.

The rules themselves are simple. The problem is that nobody can watch equity every second, and a limit that is checked by hand is checked too late. This post explains how the usual limits are measured and how to enforce them automatically in MetaTrader 5.

The two limits, and how they are measured

LimitTypical measureCommon trap
Daily lossEquity against the balance at the start of the trading day (or a % of the initial balance), reset at a fixed server hourFloating losses count. A position that is "only" -2% but still open can break the rule
Max lossEquity against a floor below the initial balance: static, or trailing the highest equityA trailing floor moves up after profits, so the room left shrinks while the account looks fine

Every firm writes its own exact rules, so always read yours: the reset hour, whether the daily limit is a % of the initial balance or of the day-start balance, and whether the max loss is static or trailing.

Three practical points

  • Act before the limit, not at it. Closing several positions takes time and spreads widen in fast markets. A buffer (for example acting at 90% of the limit) leaves room for slippage.
  • After the limit, stay flat. The danger is not only the first breach but the trade opened right after it. The account should be kept flat until the next reset, including positions opened by other EAs.
  • Protect the trade before the account. Moving the stop to break-even with a small locked profit after a fixed gain removes many of the losses that later break the daily limit.

Free tools from the CodeBase

  • Daily Loss Limit Guard: closes all positions and deletes pending orders once the day's loss reaches your limit (equity against the day-start balance), then keeps the account flat until the next day.
  • Break-Even Stop Mover with Locked Profit: moves the stop of open positions to break-even plus a few points after a profit trigger, for manual trades or any EA.
  • Spread By Hour: shows at which server hours the spread on your symbol is cheap or expensive. On gold at one broker the last hour before the daily break averaged about 3 times the normal spread.

All three are free in the CodeBase under my profile, with full source code.

Full versions in the Market

  • Prop Shield Drawdown Guard: daily loss (as % of the initial or day-start balance, or a fixed amount) plus max loss (static or trailing), a safety buffer, an optional daily profit lock, early warnings by pop-up or push, and a panel with both limits.
  • Stop Pilot Trade Manager: initial SL/TP for positions without one, break-even with locked profit, partial close, and trailing by points or by ATR, with filters by symbol, magic number and direction.
  • Risk Lot Calculator Panel: drag the SL line on the chart and get the lot size for your risk (% of balance, % of equity or fixed money, commission included), then open the trade with one click.

These are risk-control tools. They give no trade signals and cannot promise profit or a passed challenge; they only make sure the rules you chose are applied every second the terminal is running.