Specialist algorithmic trading developers since 2020 — MT4/MT5 EAs, Pine Script, trade copiers, and risk automation for traders in 15+ countries. View our services · Contact us
Prop firm challenges and funded accounts come with strict rules — daily loss limits, maximum drawdown, minimum trading days, and restricted strategies. Automating with an Expert Advisor only works if those rules are coded into the EA or a separate risk manager. This guide explains how to build prop-firm-safe EAs for FTMO, FundedNext, The5ers, and similar programs.
Common Prop Firm Rules Your EA Must Respect
- Max daily loss — often 5% of initial balance or daily starting equity
- Max total drawdown — static or trailing from high-water mark
- No holding over weekend / news — some firms restrict Sunday or high-impact news trading
- Minimum trading days before payout
- Lot size caps and forbidden strategies (martingale, grid without stops, etc.)
- Consistency rules — profits not from one oversized lucky trade
Daily Loss vs Trailing Drawdown
Daily loss resets each day — the EA must track starting equity at session open and stop trading if today's loss exceeds the limit. Trailing drawdown follows your equity peak — if you profit then give back, the allowed floor moves up until you breach. These require different calculations; confusing them causes accidental rule violations.
Implementation approach
Use a dedicated risk module that runs before every new order: check today's P&L, distance from drawdown floor, open position count, and time filters. On breach: block new entries, optionally close all positions, log the event, and send Telegram alert.
Prop rules change between firms and challenge phases. Hard-code the exact rule set for your program and phase — don't assume one EA fits all firms.
News Filters and Session Controls
Many funded traders avoid trading 15–30 minutes around high-impact news (NFP, FOMC, CPI). Your EA can read a news calendar API or fixed blackout windows in GMT. Session filters limit trading to London/New York overlap if your edge is session-dependent.
Position Sizing for Prop Accounts
Fixed 1% risk per trade is standard. Avoid martingale and doubling down. Some challenges cap max lot — encode broker min/max lot and firm caps. On a $100k account, 1% risk on a 30-pip stop implies a calculable lot size from equity and stop distance.
Should You Use an EA on a Prop Challenge?
Many firms allow EAs if they don't violate terms. Some prohibit fully automated trading — read your agreement. Forward-test on demo with identical rules before the challenge. Manual override should always exist to disable the EA instantly.
Standalone Risk Manager vs Built-In EA Rules
A standalone risk app monitoring MT4/MT5 can enforce rules across multiple EAs and manual trades — useful if you run more than one strategy. Built-in EA rules are simpler for single-strategy accounts. Funds often prefer centralized risk dashboards.
FTMO-Style Rules: Implementation Checklist
- Track daily starting balance at server midnight or firm-defined reset hour
- Block new trades when daily loss % exceeded
- Track equity high-water mark for trailing drawdown
- Count minimum trading days with at least one closed trade
- Enforce max lot and max open trades per symbol if applicable
- Log every block event with timestamp for dispute resolution
Combining Manual and EA Trading on Funded Accounts
A standalone risk EA or Windows service can monitor all trades — manual and automated — and enforce limits globally. Built-in EA-only rules fail when you intervene manually. Decide your workflow before development.
News Trading on Prop Accounts
Many firms restrict news trading. Code blackout windows using economic calendar APIs or fixed GMT blocks around NFP/FOMC. Pair with solid backtesting discipline — news spikes break fragile strategies.
Building the EA vs Adding a Risk Layer
Strategy logic lives in your MT5 Expert Advisor. Firm compliance can be a separate risk module — easier to update when rules change without rewriting entry signals.
Need this built for your strategy?
Nowzana builds custom MT4/MT5 EAs, Pine Script, trade copiers, and risk systems for traders worldwide. Free consultation — response within 4 hours.
Get a Free Quote →