Skip to content
← All posts

Prop Firm EAs

Daily Drawdown Limit Explained: How to Keep an EA Inside the Rules

EABuild Team · · 10 min read

Daily Drawdown Limit Explained: How to Keep an EA Inside the Rules – EABuild

A daily drawdown limit caps how far a trading account may fall inside one trading day, and an expert advisor (an automated trading program for MetaTrader) does not know it exists. This post explains how the limit is measured, how balance-based and equity-based versions differ, and how to turn the rule into settings and habits that keep an EA inside it. It names no firm, because every firm words the rule its own way and changes it over time.

What a daily drawdown limit actually measures

Drawdown is the drop from an account's peak balance. A daily version applies that idea to a single day: the account may lose only a stated amount between the start and the end of the trading day. Prop firms (companies that fund traders who pass an evaluation) use it most often, but you can adopt the same rule for your own account as a discipline.

The rule is a hard line, not a guideline. When the account crosses it, the usual result is a closed evaluation or a paused account, however steady the previous weeks were. That is why the exact wording matters more than the headline number.

The four details that change the answer

  • The reference value: the amount the day's loss is counted from. It may be the starting balance, the starting equity or the highest value reached that day.
  • What counts as loss: closed trades only, or closed trades plus the floating result of open positions.
  • The day boundary: the clock time at which one day ends and the next begins, and which time zone that clock uses.
  • The consequence: whether a breach ends the account for good or only stops trading until the next day.

Copy these four answers from your own terms into a note before you attach any EA. If a sentence is unclear, ask in writing and keep the reply.

Balance-based and equity-based limits compared

Balance is the account value from closed trades. Equity is balance plus the floating profit or loss of positions that are still open. The two numbers are equal only when nothing is open. An EA that holds positions for hours will often see them differ.

Point of comparisonBalance-based limitEquity-based limit
What it watchesClosed trades onlyClosed trades and open floating result
When a breach can happenWhen a losing trade is closedAt any moment while a position is open
Effect on a strategy that holds through pullbacksLoss is invisible to the rule until the position closesThe pullback itself can break the limit
What the EA needsA cap on loss per closed trade or per dayA cap on open exposure, checked continuously

Why equity-based rules are stricter for EAs

Under an equity rule, a position that later recovers can still end your day if it dips far enough first. A person watching the screen might close it early. An EA follows its logic, and that logic may include waiting. For a strategy that waits, the equity version of the rule is the one to plan around.

When the wording does not say which version applies, assume the stricter one until the firm confirms otherwise. The wider rule types, including overall limits and news windows, are covered in the post on prop firm EA rules.

A worked example with a hypothetical $10,000 account

The numbers below are invented to show the arithmetic. They are not a recommendation and not a rule from any firm.

Assume an account of $10,000 and a daily limit of $500, measured on equity from the start-of-day value, so the account may not fall below $9,500 on that day.

  1. The day starts with balance and equity both at $10,000, and nothing open.
  2. The EA takes a trade that closes at a loss of $200. Balance and equity are now $9,800. You have $300 of room left.
  3. It opens a new position that moves against it. The floating loss reaches $250. Balance is still $9,800, but equity is $9,550.
  4. A balance-based rule would see a $200 loss so far. An equity-based rule sees $450 and leaves only $50 of room.
  5. A further small move against the position takes equity below $9,500. The limit is breached before the trade has closed, and nothing the EA does afterwards undoes that.

The lesson is the gap between the two readings. The closed result looked fine for most of the day. The equity line is the one that mattered, and it moved without any trade being closed.

Setting your own working limit inside the real one

Do not plan to use the whole allowance. Slippage, a spread that widens at the wrong moment and a position that is still open at the rollover all take room you did not budget. Choose a working limit clearly below the firm's, for example half of it, write it down as an account amount, and design every setting around that smaller number.

Why the day boundary and server time matter for an EA

Daily limits reset on a fixed clock. That clock is often the broker's server time, which may differ from your local time by several hours and may shift when daylight saving changes. MetaTrader shows server time in the Market Watch window, so check it against your terms rather than guessing.

This matters because an EA does not stop at your bedtime. A position opened late in one trading day may still be open when the day resets, and the new day's reference value may include its floating loss. A strategy that trades through the rollover needs more margin than one that is flat by then.

Questions to answer about the rollover

  • Is the reference value taken at the reset time, from balance or from equity?
  • If a position is open at the reset, does its floating result count toward the new day?
  • Do swap charges and commission count as loss?

Your terms may answer some of these and leave others open. Treat each open question as a reason to leave extra room.

Equity stop settings: turning the limit into inputs and routines

An equity stop is a rule that closes positions, or stops the EA from opening new ones, when equity falls to a chosen level. Some EAs include inputs for this. Many do not state it in their listing, so read the inputs window line by line instead of assuming. Where an EA has no such input, the stop has to come from you or from a small separate program.

Settings to look for in the inputs window

  • Lot size: a fixed lot makes the maximum loss from one trade easy to estimate. An automatic lot grows with the account, so exposure moves as equity moves.
  • Stop loss per trade: a per-trade stop gives each position a defined worst case.
  • Maximum open trades or total volume: this limits how large floating loss can become when several positions are open at once.
  • Daily or equity loss cap: if the EA offers one, set it to your working limit, not the firm's.
  • Trading hours and news filters: keeping the EA flat around the rollover or major releases removes two common sources of surprise.

When the EA has no equity stop

You still have options. Pause or switch off algo trading by hand when equity reaches your warning level, and write that level down before you start so the decision is made while you are calm. You can also run a separate monitoring script that reads the account equity and closes positions at your chosen level. MetaTrader exposes this value to programs; the MQL5 documentation lists the account functions. Test any such script on a demo account first, because a stop that fails to fire is worse than no stop you were counting on.

Remember that a stop is a request sent to the broker. In a fast market the fill price can differ from the level you set, which is why the working limit sits inside the real one.

How strategy type changes the daily limit problem

The strategy type in an EA's listing tells you which part of the rule to examine first. Three products in the shop show three different cases.

Grid exposure: Trading Busters EA for MT5

Trading Busters EA for MT5 is a MetaTrader 5 EA that uses a grid strategy on M5 with US30, XAUUSD and EURUSD. A grid strategy opens extra orders at set price steps, and the listing states grid/martingale as yes. Martingale means increasing the lot size after a losing trade, so open exposure can grow while price moves against the first order. That is the pattern the equity-based example above punishes. The listing gives a recommended minimum deposit of $200 and no set files, so you configure the inputs yourself and should look for any cap on open trades or volume before a demo run.

News and hedging: XG Gold Robot for MT5

XG Gold Robot for MT5 is listed with news trading, price action and hedging on XAUUSD and GBPUSD on H1, with three set files and a recommended minimum deposit of $1,000. News trading means trading around economic releases, when spreads can widen and slippage is common, so a stop may fill away from its level. Hedging means holding buy and sell positions on the same symbol at once. Floating results from both sides count toward equity, so measure the combined figure. The listing says the EA requires a DLL, so allow DLL imports in the platform options.

Scalping and breakout: EA Gold Algo for MT4

EA Gold Algo for MT4 is a MetaTrader 4 EA (build 1476 or newer) for XAUUSD, listed with scalping and breakout logic on H4 and M5. Scalping means many short trades that aim at small price moves, so spread and execution speed matter. Gold quotes can move fast, and a wide spread at the wrong moment eats into your daily room. The listing mentions no grid or martingale and includes no set files.

All three listings say the product was built with prop-firm challenge rules in mind. That describes the design as listed. It does not mean any firm accepts the EA or that it will stay inside a given limit, so run the checks in this post for each one. All are digital downloads.

Testing an EA against a daily drawdown limit on a demo account this week

You can turn this post into a short routine for one EA at a time.

  1. Write the four details of your daily limit from your terms: reference value, what counts as loss, day boundary and consequence.
  2. Convert the limit into an account amount, then set a working limit well inside it.
  3. Open a demo account on the same platform and, if possible, a similar broker. Read the guide to demo and live account testing for EAs for what a demo does and does not reproduce.
  4. Reduce the lot until the loss from one stopped trade is small against your working limit.
  5. Run the EA across several days, including the rollover and at least one major news release.
  6. Record the lowest equity of each day, not only the closing balance, and compare it with your working limit.
  7. If equity came close to the line, lower the exposure inputs and repeat before any live use.

For the wider pre-challenge checklist, the prop firm EA guide covers lot sizing, symbols and account fit. Every product in the catalogue is included in the membership, so you can compare several listings against your limit before you settle on one.

Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.

Tags: Prop Firms, Risk Management, Expert Advisors

← All posts

Get every EA with membership

313 products · from $16.59/month

See plans

More in Prop Firm EAs

Prop Firm Risk Per Trade: How to Set It for an EA – EABuild

Prop Firm EAs

Prop Firm Risk Per Trade: How to Set It for an EA

Learn how to turn a firm's daily and total loss limits into an amount you can risk on each trade, with a worked example and a check of the lot and stop inputs of an expert advisor.

· 12 min read

Prop Firm Consistency Rule Explained for EA Traders – EABuild

Prop Firm EAs

Prop Firm Consistency Rule Explained for EA Traders

What a prop firm consistency rule is, the common ways firms word it, and why an expert advisor that earns most of its gain in one burst can collide with it. Includes a hypothetical example and a demo-testing routine.

· 10 min read

How to Run an EA on a VPS So It Trades 24/5 – EABuild

Prop Firm EAs

How to Run an EA on a VPS So It Trades 24/5

Learn why an expert advisor needs a computer that stays on, how MetaTrader's built-in hosting differs from a Windows VPS, how to copy your files across and what to check afterwards.

· 10 min read