Account Guardian Equity Protector
- Utilities
-
Ganzorig Munkhbayar
Test - Version: 1.2
- Updated: 7 October 2026
- Activations: 5
One bad day should not end your account. Account Guardian is a seat belt for your whole trading account: you set the loss limits once, and when equity reaches one of them it closes everything and keeps the account flat - even if an EA misbehaves, a manual trade goes wrong or you are asleep.
Why traders install it
- Guards the whole account, not one chart: every EA, every manual trade, every pending order, every symbol.
- Daily loss and max loss limits like the prop firms use, with a buffer so it trips before the line, plus optional money limits, a trailing floor and a profit lock.
- Survives restarts. A trip stays a trip after a reconnect, a terminal restart or a re-attach.
- Safe to try. It starts in monitor mode: it only prints what it WOULD do until you switch closing on.
- Never opens a trade on a live account. It only closes.
- Optional weekend close (version 1.02). Flat from Friday at the time you set until Monday 00:00 server, so a weekend gap cannot hit open positions; it re-arms by itself.
Who it is for: prop-firm challenge traders who cannot afford to break a daily-loss rule, anyone running EAs they did not write, and anyone who trades manually and wants a hard stop for the day.
With a grid or martingale EA (for example our TheRedeemer). Such EAs add positions while the market moves against them, and their own stops usually watch only their own trades. Account Guardian draws one outer line for the whole account: it acts even if the EA is stopped, misconfigured or removed; after a max-loss trip the account stays flat until you enter the reset code, so a new cycle cannot restart on its own; push alerts tell you when it happened. Set its limits inside the EA's own (for example daily 5 %, maximum loss 15 % against an EA limit of 30 %). It caps the loss - it does not make a losing strategy profitable, and a drawdown it closes can no longer be recovered by the grid.
What it does. Account Guardian watches the equity of the whole account several times a second - positions from every EA, manual trades and pending orders on the account, on every symbol. When equity reaches one of your limits it closes every position, deletes the pending orders and keeps the account flat: until the next trading day after a daily limit, or until you reset it after a max-loss limit. It never opens a trade on a live account.
Limits (all inputs). Max loss in % of the starting balance (default 10 %, trips 1 % before the line). Daily loss in % (default 5 %, trips 1 % before the line; the day starts at the server hour you set, default 01:00, and 00:00 is sampled too, so the stricter of the two is used). Optional limits in account money. Optional ratchet: a floor that follows the high-water mark of the closed balance. Optional percent profit lock. When a money limit and a percent limit are both on, the tighter one is used.
Monitor only by default. After you attach it, it prints "WOULD TRIP" lines and closes nothing until you set Close_On_Trip = true. Read the ATTACH and CONFIG lines in the Journal first: they show the limits in money for your account.
Built for restarts. The state is saved in two places; a trip survives a terminal restart, a reconnect or a re-attach. After a max-loss or profit-lock trip the chart shows a 6-digit reset code - enter it in Reset_Code to resume. Alerts and push notifications on every trip, flat, resume, and when a close has been stuck for 60 seconds (enable notifications in MetaTrader: Tools - Options - Notifications).
Measured, not promised. On a prop-firm demo server a forced trip left the account flat 688 ms later (4 close requests of 137-166 ms), with equity 10.65 below the trip level at that moment. Every close request is checked before it is sent (trade session, freeze level); a refused close is retried.
What it cannot do. It cannot protect against a price gap (weekend open, news), slippage, a broker that rejects closes, or a terminal that is off or disconnected - run it on a VPS and keep the terminal connected. Equity can end below your limit by the size of a gap. Check your prop firm's exact rules (reference balance, daily reset time) and set the inputs to match them; this product is not affiliated with any prop firm.
Strategy Tester. The tester has no other positions to guard, so there it opens one minimum-lot demonstration trade a day and shows how the guardian trips, closes and resumes (input Tester_Demo_Trade). This happens only in the tester.
Settings in short. Attach to one chart of the account (any symbol, any timeframe). Max_Loss_Percent / Max_Loss_Buffer_Percent, Daily_Limit_Percent / Daily_Buffer_Percent, Percent_Reference_USD (0 = the balance when it first arms), Day_Reset_Server_Hour, optional Static_Floor_USD / Daily_Limit_USD / Ratchet_Gap_USD / Lock_Percent, Close_On_Trip, Reset_Code, Check_Interval_Ms (100-1000), Notify_On_Trip.

