Who a prop firm risk manager EA is for
Funded-account rules leave little room for error. One fast news candle can take out a daily limit before your finger reaches the close button. We build this tool for traders who:
- trade a challenge or a funded account by hand and want a hard stop,
- run one or more EAs and need one guard over all of them,
- have broken a daily limit before, often in a fast market,
- want a phone alert as the day’s loss gets close to a limit.
It won’t fix a losing plan. Its job is narrow: keep the account inside the numbers you set.
Eight guards, each one an input
You choose every number, and each guard switches on or off on its own.
| Guard | What it does |
|---|---|
| Daily loss limit | Saves your balance or equity at the reset, then measures the day’s loss on every tick |
| Max drawdown | Holds a fixed floor under the start balance, or a floor that climbs with your best equity |
| Lot caps | Sets a maximum size per trade, plus a maximum total size open at once |
| Trade-count caps | Limits trades per day and open positions, so a bad morning stays small |
| Close all and lock | Closes every position, deletes pending orders and keeps the account flat until the next reset |
| Break-even | Moves the stop loss to entry plus a few points once price has gone your chosen distance |
| Trailing stop | Follows price by points or by ATR, on all trades or only the symbols you pick |
| Partial close | Takes part of a position off at a level you set and leaves the rest running |
Alerts go to your phone as MetaTrader push notifications, or to your inbox by email, as the loss nears each limit. Push alerts need your MetaQuotes ID in the terminal’s Notifications tab.
You can also set a challenge target. When equity reaches it, the EA can close all trades and pause, which gives you time to look at the account before the next entry.
Daily loss: balance or equity, and the reset time
Firms count the daily loss in different ways. The EA lets you match yours with three settings:
| Setting | Your options |
|---|---|
| Reference level | Balance at the reset, equity at the reset, or the higher of the two |
| Loss measure | Current equity, which includes open trades, or closed trades only |
| Reset time | Any time in broker server time, such as 00:00 |
Say your firm allows a 5% daily loss and you add a 0.5% buffer. The EA then closes everything at a 4.5% loss from the day’s reference level.
Why give up half a percent? The EA can only react to a price it has already seen. On a fast candle the close can fill a moment after the trigger, so we always set the trigger a little inside the firm’s number.
Checks run on every tick and on a one-second timer. A quiet chart never delays one. Balance and equity come from the standard MQL5 account properties, the same values your terminal shows.
Max drawdown: static or trailing floor
A static floor is set once, from the start balance, and it stays put. The trailing kind moves up every time equity makes a new high. Some firms stop the trail once it reaches the start balance, so check how yours handles it. The EA writes that peak to a file, so restarting the terminal leaves it intact.
One copy watches the whole account
You attach the EA to one chart. From there it reads every position on the account: manual trades, other EAs and trades placed from the mobile app. You can narrow it to chosen symbols, or to magic numbers (the ID an EA stamps on its own orders). However, a firm measures its limits on the whole account, so full-account mode is the safer choice.
Check your firm’s rules first
Each firm writes its own rules and can change them later. Some limit EAs, trade copiers or news trading. Others cap lot sizes, hold times or weekend positions.
Send us the current version and we map each rule to an input. A few rules stay in your hands, such as a minimum number of trading days, and the settings guide flags those. We never name or rate firms. No tool can keep you inside every rule.
Our prop firm EA rules guide walks through the common ones, and the Islamic funded account EA guide covers swap-free accounts.
How the project runs
- You send your firm’s rules and your own limits, and together we agree on the loss reference, the reset time and the buffer.
- We write the EA in MQL5 or MQL4 and keep the guard logic apart from any strategy code.
- Testing happens on a demo account with tiny limits, for example a 0.2% daily loss, so each guard fires within minutes and you can watch the lock and the reset happen on screen before you pay for a challenge.
- You get the files with a settings guide, then a setup call on your VPS.
What you receive
The package matches the platform you trade on:
- the compiled .ex5 or .ex4 file for your terminal,
- a settings guide that maps each firm rule to an input,
- the .mq5 or .mq4 source code, if you ordered it,
- a setup walkthrough on your PC or VPS,
- 7 days of fixes after delivery.
Safe delivery: test every limit on demo
Before the final payment, you run a trial build on a demo account. It works only on your account number, or until an expiry date. Once every guard behaves as agreed, you pay the balance and receive the full build. Source code, if you ordered it, arrives at the same time.
How much does the risk manager cost?
A stand-alone risk manager costs $150 as a ready tool. Adding the same guards to an EA you already own starts from $50. Both come as fixed USD quotes, and our expert advisor development cost page shows typical ranges.
Payment is in USDT. Custom work starts after a 50% deposit.
Comparing our prop firm risk manager with a ready tool from another seller? The seven questions in our ready made EA buying guide work for both: demo trial, files, broker fit, risk control, testing and support.
Do you run one strategy on several funded accounts? Where copying is allowed, we can add the same limits to each receiving account of an MT4/MT5 trade copier. For a full strategy with these guards built in, start with MT5 Expert Advisor development. On a swap-free account, the swap-free EA options add rollover rules too.








