Discover expert developed MetaTrader tools that can complement professional solutions.
Prop Firm Equity Guard keeps your challenge or funded account inside the rules.
It watches your live equity, floating P/L included, against your firm's daily loss and
maximum drawdown limits. When you get close, it closes every position, deletes pending
orders, and locks trading, before the firm's limit is reached.
It runs alongside any trading style: manual, other EAs, or trades placed from your phone.
It never opens trades itself.
FEATURES
- Daily loss guard: % of starting balance, % of day-start, or a fixed amount.
Day-start reference: balance, equity, or the higher of the two at reset.
- Max drawdown guard: static, trailing on the equity high-water mark, or trailing on the
balance high-water mark, with an option to stop trailing at the starting balance.
- Safety buffer: acts early (e.g. at 90% of the limit) to leave room for slippage and spread.
- Hard lock: anything opened while locked is closed immediately.
Daily locks clear at the next reset; max-drawdown locks are permanent by default.
- Optional profit target lock and daily profit cap.
- Early warnings by pop-up, sound and push notification.
- Survives terminal restarts: locks, day-start balance and high-water marks are saved.
- Attach mid-day: the day-start balance is rebuilt from today's deal history.
- Checks every 250 ms and on every trade event, and doesn't depend on chart ticks.
- On-chart dashboard: usage bars, room left, guard level vs firm floor, reset countdown.
HOW TO USE
1. Attach to ONE chart (any symbol) on the account you want to protect.
2. Enable Algo Trading. The panel shows a red warning if it's off.
3. Enter your account size, daily loss limit, max drawdown and reset time
(in broker server time) to match your firm's rules.
4. Starting a new challenge on the same login? Set "Wipe saved state" to true once.
HOW IT WORKS
Daily guard = (DayRef - DailyLimit) + DailyLimit x Buffer%
Drawdown guard = Floor + MaxDD x Buffer%
Floor is Start - MaxDD (static) or HighWaterMark - MaxDD (trailing, optionally capped at Start).
When equity reaches a guard level, the EA flattens the account with CTrade, saves the
lock in terminal global variables, and closes anything opened later via
OnTradeTransaction until the lock expires.
NOTES
- The terminal must be running (a VPS is recommended).
- MetaTrader can't block an order from being sent. The guard closes it within
milliseconds, but spread and commission still apply.
- Price gaps can jump past the guard level. Use a bigger buffer for volatile
instruments like gold or indices.
- Always check the settings against your firm's current rules.


Watch in-depth trading tutorials and EA reviews on the RobotFX YouTube channel. Subscribe for free tips.
Build better strategies with RobotFX professional tools – check them out.
80324