Blog

Prop Firm EA Rules: Build an EA That Survives a Challenge

TradeSmithy Team5 min read

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 typeWhat it usually meansWhy EAs break it
Daily loss limitEquity may not fall more than a set % below the day's starting balanceEAs keep trading through a losing day
Maximum drawdownEquity may not fall more than a set % below the starting (or peak) balanceGrids and martingales hold losers open
Prohibited techniquesLatency/tick arbitrage, exploiting feed delays, HFTSome commercial EAs are built on exactly these
Third-party EA limitsSome firms restrict EAs traded identically across many accountsPopular bought EAs open the same trades everywhere
News rulesSome funded accounts restrict trading around high-impact newsEAs have no idea the news is coming
Trading-day or consistency rulesMinimum days traded; no single day dominating profitOne 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

  1. A Variable node, dayStartBalance.
  2. 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.
  3. On OnTick: Account Info → Equity, and Math Operation nodes computing the loss as a percentage of dayStartBalance.
  4. A Comparison: loss ≥ your guard level (a Global Parameter, so you can set it per firm).
  5. 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

← More from the TradeSmithy blog