Account-Wide Drawdown in MT5: Measuring Risk Before the Next Trade

30 November 2026, 17:08
Sondang Manik
0
7

A trading system can have positive expectancy and still run out of room under an account-level loss rule. The problem is not always the next entry. Sometimes it is the combined downside of positions already open, together with a daily drawdown limit that is much closer than it appears.

In this article I explain how an account-wide risk monitor can organize that information in MetaTrader 5, using my own implementation, Prop Firm Risk Guardian Pro MT5, as an example. The focus is on the method, the information a trader needs, and the limitations of automated protection.

Illustrated overview of account-wide drawdown monitoring

Illustrated overview using a development demo of the risk monitor; not live account performance.

1. Drawdown headroom is not the same as risk budget

Balance records booked transactions. Equity also includes floating profit and loss. A rule based on equity can therefore be breached even without closing another trade. The relevant daily reference depends on the provider's exact rule and reset time.

Consider a hypothetical account with an initial balance of $100,000. The daily loss allowance is $5,000, the static maximum loss allowance is $10,000, and the verified daily reference is $100,000. Current equity is $97,000.

Measure Illustrative value
Daily floor $95,000
Maximum loss floor $90,000
Daily headroom $2,000
Overall headroom $7,000
Additional modeled loss to existing stops $1,200
Safety buffer $500
Remaining modeled budget $300

A simple formulation is H = min(equity - daily floor, equity - maximum floor). Subtract the modeled additional downside of existing positions and a safety buffer from H, and floor the result at zero. The $300 here is not a recommendation to risk that amount. It is a conditional estimate, assuming the inputs and known stops are valid.

2. What an account-wide risk dashboard needs to show

Prop Firm Risk Guardian Pro MT5 monitors the account from one chart. The Risk Overview displays daily and overall headroom, account history reconciliation, estimated multi-symbol stop-loss exposure, and diagnostics. Static, realized-balance trailing and manually verified end-of-day peak references can be configured. These models must not be confused with a provider's proprietary intraday equity rules.

Risk Overview development demo

Risk Overview: actual development demo capture. Figures are illustrative, not live trading performance.

When calculating additional exposure, use the distance from current executable prices to the existing protective stop, not the original entry-to-stop risk. Floating P/L is already included in equity. Counting it again would distort the remaining risk budget. Missing stops, stale quotes and pending orders can make the projection incomplete; an unknown risk is not zero.

3. Monitoring and active protection are different jobs

Monitor Only is the default. It displays information and does not submit liquidation requests. Optional Active Protection must be deliberately enabled and armed. On reaching the configured trigger, it can attempt to cancel pending orders and close positions across the account. This includes manual positions and positions belonging to other EAs.

Conceptual account-wide monitoring and protection workflow

Conceptual workflow: monitor, trigger, request cancellation and closure, then verify the outcome.

Execution is a process, not an instantaneous guarantee. Check server return codes, verify remaining orders and positions, and handle retries. The utility stores its risk latch in terminal storage and requires manual rearming after reinitialization. It cannot prevent orders created by other applications from opening. A gap, rejected request, disconnection or partial fill can cause losses beyond the intended limit.

4. A practical demo-account checklist

  1. Attach one instance to a dedicated demo account.
  2. Verify the initial balance, challenge start time, daily reset time and loss models in the provider's rules.
  3. Compare the reconstructed reference and displayed headroom with the provider's dashboard.
  4. Test missing stop-loss, stale quotes and pending-order scenarios.
  5. Use Monitor Only first. If testing active protection, confirm account-wide scope and enable the required terminal and EA permissions before arming.
  6. Review execution logs after a trigger; confirm remaining exposure, disarm before changing settings, and reset the latch only when disarmed and flat.

5. Exploring risk assumptions with the Quant Simulator

Even a strategy with positive expected return can encounter a poor sequence of trades. The Quant Simulator explores hypothetical target, breach and timeout outcomes under user-defined assumptions. A historical daily block bootstrap can use completed realized-P/L days if sufficient data exists.

Quant Simulator development demo

Development demo simulator: hypothetical outcomes, not a forecast or verified passing probability.

Daily realized P/L cannot reconstruct the intraday equity path. A simulated target-hit rate is therefore not a guaranteed challenge-pass probability. It is more useful for asking what happens if win rate, net reward-to-risk, costs or risk per trade differ from the assumed values.

Conclusion

Risk management should start with a correct account-level reference and a transparent estimate of current exposure, not simply with a daily loss percentage. A monitor can improve visibility, but it cannot replace verified rules, appropriate sizing or reliable execution.

Disclosure: Prop Firm Risk Guardian Pro MT5 is my own commercial implementation, used here as an educational example. No profit or challenge compliance is guaranteed; this article is not independent product evaluation or financial advice.