← Risk Management

Max Drawdown Limits: When Should an EA Stop Itself?

18 Nov 2026 · 2 min read

BullsEdges algo trading guide: A maximum drawdown stop closes positions and pauses an EA when losses reach a set level. Here is how to choose the level and what it can and cannot do.

Every strategy has a worst-case day you did not test for. A maximum drawdown limit is the safety net for that day: when losses reach a set level, the EA closes its positions and stops, instead of letting a bad day become the end of the account.

BullsEdges algo trading application: Write the drawdown threshold and shutdown action explicitly, including whether the EA stops entries, closes positions or waits for review.

Types of limits

  • Per-basket stop: closes a group of positions (for example a grid basket) when its floating loss reaches X% of balance or a fixed amount.
  • Daily loss limit: stops trading for the rest of the day after losing X%.
  • Total drawdown limit: stops the EA completely if equity falls X% below its peak or starting balance.
  • Equity protector: an account-level tool that closes everything when equity drops below a threshold.

Choosing the level

  1. Look at the strategy's maximum equity drawdown in a realistic backtest.
  2. Set the limit somewhat beyond it - for example 1.5 times - so normal bad periods do not trigger it.
  3. Check that the limit is below what would cause a broker stop-out or an unacceptable personal loss.

If those two conditions cannot both be met, the position size is too big for the account.

The argument against stops

Traders, especially with grid systems, often remove drawdown limits because "the price always comes back" - and in their recent experience, it did. The limit closed a basket at a loss, and a few hours later the market recovered.

That is true and misleading. The limit costs a little most of the time and saves everything once. Without it, the strategy's real risk is the whole account. One morning's strong move can be enough: we have watched an EA with no basket stop lose the large majority of a small account in a few hours, when a 20-30% basket stop would have kept most of it.

What a limit cannot do

  • It cannot guarantee the exit price. In fast markets or gaps, the actual loss can exceed the limit.
  • It does not fix a strategy with no edge; it only caps the damage.
  • If set too tight, it can turn a good strategy into a losing one by closing normal drawdowns.

After the limit triggers

Decide in advance:

  • Does the EA restart automatically the next day, or wait for a human?
  • What review is required: was it an unusual market event, or a sign the strategy has stopped working?
  • Should size be reduced when restarting?

BullsEdges takeaway for algo trading

A maximum drawdown limit is insurance. It has a cost, and you will sometimes regret paying it. Run without it only if you are genuinely prepared to lose everything in the account.

Trading forex and gold carries a high level of risk and may not be suitable for every investor. Past performance and backtests do not guarantee future results. This article is education, not financial advice.

Start your 1 month free trial

Full access to the Finoways Forex & XAUUSD algo, setup support included.