β
Prop-Firm Guardian. Real-Time Drawdown Protection
π‘οΈ Stops your account before it breaks the rules
Prop-Firm Guardian is a defensive Expert Advisor that watches your equity on every tick and force-closes every position the instant your daily or total drawdown limit is reached. New trades are then blocked automatically until the next broker midnight, so your FTMO, MyForexFunds, FundedNext, The5ers or any other prop firm challenge stays alive even if your main strategy misbehaves.
One copy of the Guardian protects the entire account, across every symbol and every Magic Number.
βοΈ Works on demo, live and funded accounts. No external dependencies, no DLLs.
The Guardian monitors balance and equity in real time inside OnTick() and via a 1-second timer. The instant a configured drawdown threshold is crossed, it closes all market positions, deletes pending orders (optional), and writes a persistent block flag to a GlobalVariable that survives terminal restarts. At broker midnight (GMT or local) the block is released automatically and a new daily reference balance is stored.
π§ Key Features:
π Real-time daily and total drawdown monitoring
π Hard-stop kill switch closes all positions and pending orders
π Persistent block prevents new trades until the next reset
β° Automatic midnight reset (GMT or broker local time)
π¦ On-chart traffic-light dashboard with live drawdown percentage
π Visual alert and Journal log on every breach event
π― Optional Magic Number filter for single-EA protection
π Public API so your other EAs can ask if trading is allowed
β Ideal For:
πΌ Prop firm challenge candidates who cannot afford a single rule violation
π° Funded account holders protecting payouts and scale-up plans
π€ EA users adding a defensive layer on top of any strategy
π€ Manual traders who want an automatic safety net
π Full User Manual: Download the PDF
Keywords: prop firm guardian, prop firm EA, drawdown protection EA, daily drawdown limit, max drawdown EA, FTMO EA, prop firm rules, account protection EA, risk management EA, equity guardian, funded account protection, prop firm challenge


