Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Expert Advisor | Prop-Firm Equity Guard - daily and max drawdown protection (FTMO-style) | Fre…

Discover expert developed MetaTrader tools that can complement professional solutions.

A standalone account-level protection utility for prop-firm challenges (FTMO and similar). Attach it to a single chart and it monitors the entire account. Works on any symbol and timeframe.

How it works:

  • Daily loss limit — measured from a day-start snapshot (max of balance/equity, configurable rollover hour to match your prop firm's server time)
  • Max overall loss limit — measured from the initial account size
  • Safety buffer — halts trading BEFORE the real limit is hit, so a spread spike or slippage can't fail your challenge
  • On breach: closes all open positions, deletes all pending orders, and sets the global variable DDGUARD_HALT to 1.0. Any other EA on the account can respect the halt with a single line: if(GlobalVariableGet("DDGUARD_HALT") > 0.0) return;
  • Daily breach unlocks automatically on the next trading day; max breach is permanent — matching prop-firm logic.
  • Tested on MT5 (see screenshot: live trigger closing all positions). No external dependencies. Feedback welcome.

    Capture price channel breakouts with the Price Channel Expert Advisor. Precise entries and exits. Explore now.

    Disclaimer: Not affiliated with, endorsed by, or connected to FTMO or any prop firm. "FTMO" is used only to describe the type of rules this tool protects.


Image for Prop-Firm Equity Guard - daily and max drawdown protection (FTMO-style)

Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.

77350

Best MetaTrader Indicators + Profitable Expert Advisors