Prop Risk Guard
Daily loss and drawdown watched on every funded MT5 account, with trading stopped before a limit.
0Funded accounts lost since launch
01Problem
One bad afternoon from losing a funded account
The client trades three funded accounts on MT5, each with its own firm's daily loss, max drawdown and reset time. He watched them by eye on a second screen.
Last month that failed once: the daily loss crept up while he was in a trade, and a $100k challenge was gone.
02Solution
A guard that stops trading before the firm does
One guard EA per terminal. It checks equity on every tick against that firm's rules and, at 90% of a limit, closes every position, cancels pending orders and blocks new ones until the daily reset.
A panel on the chart shows how much room is left before each limit, and Telegram gets a message halfway there, at the stop and at the reset.
03Build
From the firms' rules to a guard on every terminal
Every limit of every firm was written down first, so the guard is a set of numbers per firm, not code per firm.
The rules
Daily loss, max drawdown and the server time each day resets at, for every firm he trades.
The guard EA
Equity checked on every tick; at the threshold, positions closed and pending orders cancelled in under a second.
Panel and alerts
Today's loss, the drawdown and the room left on the chart, and Telegram messages at each step.
Testing
On demo accounts with each firm's rules before the funded ones.
- Limits hit on purpose on demo, for each firm
- Daily reset checked across server time zones
- Close-all timed under load with many open positions
04Stack
What it's built with
Guard
- MQL5The guard EA on each terminal
- MetaTrader 5Where the funded accounts trade
Prop firms
- FTMOIts daily loss and drawdown rules
- FundedNextIts daily loss and drawdown rules
- The5ersIts daily loss and drawdown rules
Alerts
- TelegramWarnings, stops and resets
- PythonThe alert bot
- LinuxThe server the bot runs on
05Result
Trading stops before a limit, never after it
- Challenges passed since launch
- 2
- Funded accounts, one setup
- 3
- From the limit to every position closed
- < 1s
Daily loss and drawdown are watched on every tick, not when he remembers to look, and a new firm is a new set of numbers.
06Next step
Need something like this?
Custom developmentFrom $5,900
- Tell me about your strategy and what it should do
- A reply and a written plan within 24 hours
- A fixed price and timeline before any work starts