Prop Firm EA Rules: Build an EA That Survives a Challenge
Short answer: most prop firms allow Expert Advisors in 2026, but an EA that is fine on a personal account can fail a challenge in one afternoon. The rules that end automated accounts are the daily loss limit, the maximum drawdown, bans on specific techniques (latency arbitrage, tick scalping, some forms of hedging), and restrictions on using the same off-the-shelf EA as many other traders. Build the limits into the EA itself rather than trusting yourself to watch it.
Prop firm rules change often and differ by firm and by account type. Treat everything below as the pattern to check for — then read your firm's current terms before you start.
Do prop firms allow Expert Advisors?
Most well-known firms do, including on MT4 and MT5. What they restrict is how an EA trades, not whether it is automated. The typical restrictions:
| Rule type | What it usually means | Why EAs break it |
|---|---|---|
| Daily loss limit | Equity may not fall more than a set % below the day's starting balance | EAs keep trading through a losing day |
| Maximum drawdown | Equity may not fall more than a set % below the starting (or peak) balance | Grids and martingales hold losers open |
| Prohibited techniques | Latency/tick arbitrage, exploiting feed delays, HFT | Some commercial EAs are built on exactly these |
| Third-party EA limits | Some firms restrict EAs traded identically across many accounts | Popular bought EAs open the same trades everywhere |
| News rules | Some funded accounts restrict trading around high-impact news | EAs have no idea the news is coming |
| Trading-day or consistency rules | Minimum days traded; no single day dominating profit | One lucky day can fail a consistency rule |
Why off-the-shelf EAs are risky on prop accounts
A bought EA running on hundreds of challenge accounts produces the same trades at the same moment on all of them. Firms see that pattern, and several treat it as a reason to refuse a payout. An EA you built from your own rules does not share a fingerprint with anyone. That alone is a strong reason to build rather than buy.
Guards every prop-firm EA should have
1. A daily loss guard
Record the balance at the start of each day, compare equity against it on every tick, and stop trading — closing positions if needed — before the limit, not at it. A 5% limit wants a guard at around 4%, because slippage on the closing orders is real.
Watch the clock. Firms reset the "day" at a specific time in a specific time zone, which may not match your broker's server midnight. If they differ, a guard based on the broker's daily candle measures the wrong day. Find out when your firm's day starts.
2. A maximum drawdown guard
The same idea against the initial balance — or, for trailing drawdown, against the highest balance reached. Stop the EA entirely when it trips.
3. Risk per trade from balance
Fixed lots grow riskier as the balance falls. Size each trade from balance and stop distance: the full method is here.
4. A cap on open positions
One or two at a time, counted from the EA's own trades. It removes the stacking that turns a bad hour into a failed challenge.
5. No grids and no martingale
Averaging down is how daily loss limits get hit. See our honest look at whether bots make money.
6. A spread filter
Skip entries when the spread is above a threshold. Rollover spreads on some accounts are many times the normal level.
How to build a daily loss guard in TradeSmithy
- A Variable node,
dayStartBalance. - A branch that starts at an OnNewCandle node set to D1 and ends at
OnNewCandle End, containing a Set Variable that writes Account Info
→ Balance into
dayStartBalance— so it runs once a day. - On OnTick: Account Info → Equity, and Math Operation nodes computing
the loss as a percentage of
dayStartBalance. - A Comparison: loss ≥ your guard level (a Global Parameter, so you can set it per firm).
- When true, a Close Order node set to All Positions; and feed the same condition through a NOT into your entry logic so nothing new opens.
Or describe the guard to the AI assistant in one sentence and let it wire the graph. Either way, read the exported code's guard before a challenge depends on it.
The D1 candle opens at broker-server midnight. If your firm's day starts at a different time, adjust — or keep the guard well inside the limit to absorb the difference.
Spread comes from Symbol Info → Spread (points), and open-position counts from Positions & Orders, whose default scope is "This EA, this symbol" — so your manual trades and other EAs never count against the cap.
Build your own prop-firm EA
Start free on TradeSmithy and build the guards into your strategy from the first node — the Free plan includes the full builder and one MQL5 or MQL4 export a month. On Pro, backtest it on our servers against a starting balance the size of your challenge, and ask the AI assistant to add a guard you forgot. For choosing a builder, see the EA builder comparison.
Frequently asked questions
Does FTMO allow Expert Advisors?
FTMO has allowed EAs, with restrictions on prohibited strategies and on news trading for some account types. Rules change; read its current terms before you start.
What is the best EA for a prop firm challenge?
One built to that firm's rules, with daily loss and drawdown guards, risk per trade from balance, and no averaging down. A bought EA shared across many accounts carries extra risk.
Can a prop firm tell I am using an EA?
Often, yes, and most do not mind. What they act on is prohibited techniques and identical trades across many accounts.
Should my EA close trades before the weekend?
If your firm requires it, or if your strategy cannot tolerate weekend gaps. The builder has no day-of-week node yet, so close manually before the weekend or add a Friday time check to the exported code.
Keep reading
Moving Average Crossover EA for MT5 and MT4: Build It Free
Build a moving average crossover EA without code — detecting the cross correctly, one trade at a time, exits, a trend filter, and settings as inputs.
4 min readCan You Make Money With a Trading Bot? An Honest Answer
Some bots make money, most bought ones don't, and no backtest guarantees either. What decides the outcome, and the realistic ways people earn from EAs.
5 min readHow to size a position from account balance, not a fixed lot
A hardcoded 0.1 lot means something different on every account. Here is how to read balance, tick value and the broker's own limits into the graph and size a trade from them.
6 min read