The rule that protects your funded account only works if it holds on the day you’d rather break it. A limit you enforce by willpower is enforced least when you need it most — down money, mid-tilt, certain the next trade brings it back. A guardian EA moves that limit out of your head and into the broker, where willpower isn’t a variable.
The gap between prop rules and what MT5 enforces natively
MetaTrader 5 is an execution engine. It understands margin and the stop-loss orders you attach yourself, and that’s roughly the end of its risk awareness. It has no native concept of:
- a daily-loss limit measured from the session’s starting equity,
- a trailing / maximum drawdown that follows your equity high and never resets down, or
- a lot or exposure cap across positions and symbols.
Those rules live in your prop firm’s dashboard, not in MT5, and the terminal will cheerfully let you trade straight through every one of them. The trailing drawdown mechanics in particular catch out disciplined traders, because the line moves with your equity high-water mark — you can be far closer to it than a glance at your balance suggests. Confirm your firm’s exact thresholds in their rulebook; they differ between firms and change over time.
How a guardian EA reads your risk config and acts server-side
A guardian EA closes the gap by turning your intended rules into enforced ones. You define the limits once, calmly, in a risk config — daily-loss room, drawdown ceiling, max lots — and the EA carries them into the terminal and watches your account against them in real time.
The crucial word is acts. Most MT5 “risk tools” only alert: a popup, a sound, a notification you can dismiss without reading — and the psychological state that pushes you past your line is exactly the state that clicks alerts away. A guardian EA doesn’t ask. When a limit is reached it intervenes at the account level: it closes positions and refuses new orders. The decision was made earlier, when you were level-headed; the moment of weakness has no vote. That’s the model Shibiki uses — your configured limits are enforced at the broker, so the ceiling holds even when you don’t. The MT5 integration page shows how the config reaches the EA.
Daily-loss lockout, trailing-drawdown guard and max-lot enforcement
Three enforcement behaviors cover the rules that end most evaluations:
- Daily-loss lockout — the instant equity touches your daily-loss line, the EA flattens open positions and refuses new orders for the rest of the session. The revenge trade that turns a controlled red day into a breach simply can’t be placed.
- Trailing-drawdown guard — the EA tracks your equity high-water mark and holds you off the trailing line, closing exposure before the ratcheting floor catches you. Because it recomputes against the high continuously, it catches proximity a manual check misses.
- Max-lot enforcement — orders above your configured size are blocked at submission, so a fat-finger or a tilt-driven oversize never reaches the market.
Pre-trade, size still matters: model your total room with a prop-firm drawdown calculator so your per-trade risk leaves survival space for a normal losing streak. Enforcement is the floor under good sizing, not a substitute for it.
Alerting when the EA goes silent so you’re never unprotected
An enforcement layer you can’t see is a layer you can’t trust. The failure mode that matters isn’t the EA acting wrongly — it’s the EA not running while you assume it is: the terminal closed, the VPS rebooted, algo-trading toggled off after an update.
So the guardian reports a heartbeat, and the system watches for its absence:
- A clear live / stale / offline status tells you whether the EA is currently enforcing.
- If the heartbeat stops, you get an alert that you’re unprotected — before you’ve traded a whole session on the assumption that the net was there.
- The signal degrades honestly through live → stale → offline, so “quiet” never gets mistaken for “fine.”
Knowing the guard is down is as important as the guard itself. Silent failure is the one outcome a risk system can’t afford.
Mapping firm rules to concrete EA inputs
The last mile is translating your firm’s rulebook into the EA’s actual inputs. Read each constraint from the firm, then express it as a number the EA enforces:
| Firm rule (confirm exact values with your firm) | EA input it maps to |
|---|---|
| Daily loss limit | Daily-loss threshold → auto-flatten + lockout |
| Maximum / trailing drawdown | Drawdown ceiling tracked off the equity high |
| Maximum position size | Max-lot cap enforced at order submission |
| Max concurrent exposure | Open-position / total-lot ceiling |
Set the numbers slightly inside the firm’s stated lines, not exactly on them — you want the EA to stop you before the firm does, with a buffer for slippage, spread widening on news, and a final partial fill. Firms with equity-based, ratcheting drawdown structures like E8 Markets are the least forgiving of a limit set right at the edge, so the buffer is cheap insurance. And because Shibiki layers live edge health — a Wilson confidence interval per strategy — on top of enforcement, you can tell a normal rough patch from a genuine edge break and decide whether to hold or stand down. Configure it once against the rulebook, verify the heartbeat is green, and the rule that protects your account holds on the day your discipline doesn’t.
Related: MT5 integration · Trailing drawdown explained · Prop-firm drawdown calculator