AgentGuard — an independent risk layer for AI-driven trading in MetaTrader 5. AI agents (including MCP-connected agents since build 6060) trade at machine speed — and platform safety settings alone can't catch every mistake. AgentGuard watches every open position on a 5-second timer and enforces four hard limits: maximum total volume, maximum position count, mandatory stop-loss on every position, and a daily-loss circuit breaker that closes everything and latches until the next day. It works alongside any EA, manual trading, or AI agent — it doesn't care how a position was opened, only whether it violates a limit. Status panel, alerts on every intervention, monitor-only mode for safe calibration. Free. No DLLs. It manages risk — it never generates signals.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
AgentGuard — Independent Risk Guard for AI Agents in MetaTrader 5:
AgentGuard — an independent risk layer for AI-driven trading in MetaTrader 5. AI agents (including MCP-connected agents since build 6060) trade at machine speed — and platform safety settings alone can't catch every mistake. AgentGuard watches every open position on a 5-second timer and enforces four hard limits: maximum total volume, maximum position count, mandatory stop-loss on every position, and a daily-loss circuit breaker that closes everything and latches until the next day. It works alongside any EA, manual trading, or AI agent — it doesn't care how a position was opened, only whether it violates a limit. Status panel, alerts on every intervention, monitor-only mode for safe calibration. Free. No DLLs. It manages risk — it never generates signals.
Author: Abdelhakim Kouachi