Funded Limit Manager
- Utilitaires
-
Fanor Antonio Rodriguez Mayorga
Developer of Funded Limit Manager, a MetaTrader 5 EA that guards prop firm account limits: daily loss, max loss and profit target. Support through the product comments or private messages here on MQL5. - Version: 1.0
- Activations: 10
Funded Limit Manager watches a prop firm account in MetaTrader 5 and acts before the firm's loss rules are broken. Attach it to one chart and it protects the whole account: every symbol, manual trades and trades from other EAs. It never opens trades.
What it does
- Closes every position and pending order when equity gets close to the daily loss or max loss floor, with a safety buffer you choose (10 % of the limit by default), then locks the account until the firm's next reset. Trades opened while locked are closed at once.
- Measures each limit the way each firm does: from balance, equity or the higher of both; fixed or trailing max loss; reset time and zone of each firm, including daylight saving time.
- If you picked another daily or max loss option when you bought the challenge, enter it and the preset uses it. After a payout on FXIFY and E8 Pro funded accounts, the max loss floor stays at the initial size, as the firm does.
- Per-symbol loss limit (Funded Trading Plus 2-Step Classic): closes and locks only that symbol until the reset.
- Inactivity countdown: warns 7 and 2 days before the firm's deadline, counting what each firm accepts as activity (at BrightFunded, only a trade kept open at least 60 seconds).
- Panel with "You can lose today", which limit is in force, both floors, the next reset and the date the preset rules were last checked.
- Alerts by pop-up, the MetaTrader app and Telegram.
- CSV record of every trigger and every close, with prices, results and milliseconds.
- Locks and peaks survive a terminal restart. Can be started in the middle of a phase: it rebuilds the day start and the peaks from the history.
- English and Spanish, following the terminal language.
Presets (each firm's published rules, checked 2 Dec 2026)
FTMO 2-Step and 1-Step · FundingPips 2-Step Standard and Pro · E8 One and Pro · BrightFunded 2-Step and 1-Step · Funded Trading Plus 2-Step Classic and 1-Step Express · Alpha Capital Pro 8 % and 10 % · FXIFY One Phase and Two Phase Standard · Hola Prime 2-Step and 1-Step · or your own rules.
Alpha Capital and FXIFY approve EAs in advance, and Hola Prime needs its EA add-on. Check your firm's EA policy before buying.
Good to know
- It closes with market orders. A gap, the weekend, strong news or a slow server can fill a close worse than expected. Use a larger buffer for gold, indices, crypto or news trading.
- It only works while the terminal is open and connected: a VPS is recommended (except at FundingPips, which does not allow a VPN or VPS).
- It does not cover news, weekend, consistency or lot-size rules yet.
- Firms change their rules. Confirm your account's rules; the panel tells you when a preset's check date is over 90 days old.
Try it in the Strategy Tester: it simulates trades so you can watch it close and lock.
Installation guide
1. Before you buy: does your firm allow it?
| Firm | What you need to do |
| FTMO, E8 Markets, BrightFunded | They allow risk-management EAs. No approval needed. |
| FundingPips | Allows risk-management EAs, but does not allow connecting to the account through a VPN or VPS: run the EA on your own computer. |
| Funded Trading Plus | Allows EAs. Its terms say it may ask for the source code of any external program; a Market buyer does not have it. |
| Alpha Capital | Only EAs approved in advance: write to support and tick "Enable EA" when you buy the challenge. Ask them how they approve an EA bought on the Market. |
| FXIFY | Ask support for approval first. Not allowed on Lightning, Instant or DXtrade. The Two Phase preset is Standard: use custom rules for Pro (8% static) and Classic. |
| Hola Prime | Buy the EA add-on with the challenge. Without it, no program can close trades. Like Funded Trading Plus, its rules say it may ask for the EA's source code. |
Firms that ban third-party EAs (FundedNext at 50K and above, The5ers, Maven, Goat, Audacity and others) have no preset. Using the EA there may cost you the account.
2. Install
- Buy or rent Funded Limit Manager on the MQL5 Market from inside MetaTrader 5 (Market tab of the Toolbox window). It shows up under Navigator → Expert Advisors → Market.
- Turn on the Algo Trading button in the top toolbar. If it is off, the EA warns you but cannot close trades.
- Open any chart (for example EURUSD, H1) and drag Funded Limit Manager onto it. One chart protects the whole account: every symbol, including manual trades and trades from other EAs.
- On the Common tab, tick Allow Algo Trading. It is a separate permission from the button: if it stays unticked, turning on the button is not enough and the panel says "EA not allowed: F7 > tick Allow Algo Trading". To fix it, press F7 on the chart (it opens the EA's properties) and tick it.
- On the Inputs tab, pick your firm's preset and your phase, then press OK.
If you attach it to two charts of the same account, the second one goes on standby and only takes over if the first one is removed.
3. Inputs
Rules
- Prop firm preset: the firm and program. "Custom" uses your own rules (next block).
- Account phase: phase 1, phase 2 or funded. It sets the preset's profit target.
- Initial account size: leave 0 to take it from the first deposit. Enter it if the account already had withdrawals or the history does not show the deposit. If it differs a lot from the deposit, the EA warns you.
- Preset daily loss: some firms let you pick the daily limit at purchase. If you picked another one, enter it here.
- Preset max loss: the same for the max loss. The preset has the firm's lowest option (E8 Pro: 6%; E8 One: 4%). If you bought another one, enter it here; on E8 the target follows it.
- Max loss floor shown by the firm: if you start the EA in the middle of a phase and your max loss follows the balance or equity, copy the floor the firm's dashboard shows today. The EA uses the higher of that number and its own calculation.
Custom rules (only with the "Custom" preset): daily limit, what it is measured from, max loss and its type, reset time and zone, profit target, per-symbol limit and days without a trade.
Protection
- Safety buffer: how much of the limit is left unused. With 10 % and a 5,000 daily limit, it closes at a 4,500 loss. Recommended:
- 10 % (the default) for major currency pairs with normal lot sizes;
- 15-20 % for gold, indices, crypto, accounts with many positions open at once, or if you trade news;
- never below 2 %: with less, slippage while closing can go past the limit.
- Warn when this % of a limit is used: early warning (70 % by default).
- When the profit target is reached: what to do at the target (for example, close and pause for the day).
- Max slippage when closing: accepted slippage when closing, in points.
Alerts: pop-up, push notifications to the MetaTrader app, and Telegram (see section 5).
Display: language (by default it follows the terminal: Spanish or English), panel corner and margins.
Maintenance
- Clear saved locks and peaks when starting: deletes the saved state. Use it only if you changed to a new account or challenge under the same account number.
- Write each action and close to a CSV file: a record of every trigger (see section 7).
4. The panel
- Status: active, warning, locked until the reset, stopped by max loss, or target reached.
- Balance and equity.
- Daily loss and max loss: the firm's floor and where the EA closes.
- You can lose today: how much you can lose before the EA closes everything, and which limit is in force (daily or max loss). It says "locked" once it has closed.
- Next reset, in your time and server time.
- Info line: per-symbol limit, days left under the inactivity rule, and the date the preset rules were checked (amber after 90 days).
- Notes in red or amber: Algo Trading off, no connection, market closed, locked symbols and others.
5. Telegram alerts (optional)
- In Telegram, talk to @BotFather, send /newbot and follow the steps. It gives you a token.
- Send any message to your new bot. Then open https://api.telegram.org/bot, your token and /getUpdates in a browser, all together with no spaces (for example https://api.telegram.org/bot123456:ABC.../getUpdates). Copy the number in "chat":{"id": ...} of your message: that is your chat ID. Do not use the number before the colon in the token: that one is the bot's, and Telegram does not let a bot message itself.
- In MetaTrader 5: Tools → Options → Expert Advisors, tick Allow WebRequest for listed URL and add https://api.telegram.org.
- Enter the token and chat ID in the Alerts inputs.
When the EA starts you get "Active" with the rules it uses, so you know Telegram works. If it is removed from the chart, its chart is closed or MetaTrader closes, "Stopped" reaches you through the MetaTrader app (if push notifications are on): from then on the account is not protected. That message does not go out by Telegram: MetaTrader does not let a program use the internet while it is being removed. Changing the chart timeframe sends nothing.
If the URL is not allowed, the panel says so. Do not share the token: anyone with it can post as your bot.
For push notifications to the MetaTrader app: Tools → Options → Notifications, turn them on and enter your MetaQuotes ID (in the phone app under Settings → Messages).
6. VPS
The EA only acts while the terminal is open and connected. If you turn your computer off with trades open, nothing watches them. A VPS keeps it running when your computer is off:
- MQL5 VPS (in the Navigator, right-click the account → Register a Virtual Server). Set up the chart with the EA, the Telegram URL and Algo Trading first, then migrate. The VPS has no panel and no pop-ups: use Telegram or push notifications. Check the VPS journal to confirm the EA started.
- Any other Windows VPS: install MetaTrader 5 there and follow this same guide.
FundingPips does not allow connecting through a VPN or VPS. With that firm, keep the EA on your own computer, turned on and connected while you have open trades.
Do not run the EA in two places on the same account with different rules.
7. CSV record
Every time the EA closes something, it writes one line for the trigger and one per close: server time, equity, floor, ticket, price, result and the milliseconds since the trigger. The result is "ok", "already_closed" (the trade was already closed, for example because you closed it by hand at the same moment) or "fail" with the error code. The file is MQL5\Files\FundedLimitManager\<account number>.csv (in MetaTrader: File → Open Data Folder). Use it to review what happened or to show it to the firm.
8. Rules it covers and rules it does not
It covers:
- each firm's daily loss and max loss, with its reset time and how it measures them;
- profit target (optional);
- Funded Trading Plus 2-Step Classic per-symbol loss limit: closes and locks only that symbol until the reset;
- inactivity: warns 7 and 2 days before the firm's deadline (at BrightFunded only a trade kept open at least 60 seconds counts);
- payouts: on FXIFY and E8 Pro funded accounts, after a payout the max-loss floor stays at the initial size, as the firm does.
Not covered yet: news, weekends, consistency, per-trade-idea loss, lot caps and banned strategies. Check those rules on your firm's site.
9. Try it first
In the Strategy Tester the EA simulates trades so you can watch it close and lock ("Strategy Tester only: simulate trades"). To try it with your own trading, use a demo account first.
Common questions
Can I start it in the middle of a challenge? Yes. It reads the history to rebuild the day start and the peak balance. If your max loss follows equity (BrightFunded 1-Step), copy the firm's floor into "Max loss floor".
What if I restart the terminal? Locks and peaks are saved in the terminal and still apply when it comes back.
Does it work with several accounts? A MetaTrader 5 terminal uses one account at a time. For several accounts at once, install one terminal per account (or one VPS per account).
Can it close while the market is closed? No. It locks, warns you and closes as soon as the market opens.

