v3.0 is live — Relay AI Assistant, Research Suite & Signal-Managed ExitsSee What's New
Skip to main content
trading strategies

How to Protect Your Trading Bot from Drawdown Spirals

RelayDesk Team
RelayDesk Team
April 19, 2026 · 5 min read

Bots can compound losses fast. Knowing how drawdowns spiral and how to stop them separates sustainable automated trading from blown accounts.

A human trader who loses three trades in a row usually slows down. They might step away from the screen, tighten their criteria, or reduce position size until their confidence returns. Automated bots do not do this. Left unconfigured, a bot in a bad run will keep firing signals at full size, executing every entry, and accumulating losses until you manually intervene or your account hits a margin limit.

That is what a drawdown spiral looks like in practice. The good news is that it is largely preventable with the right configuration.

How drawdown spirals start

The mechanics are direct. Your bot enters a trade, it loses. The next signal fires, the bot enters again at the same size. That trade loses too. The account balance is now lower, but the bot's position sizing may now represent a larger proportion of remaining capital.

Over a short run of losses, the compounding works in reverse: each loss is slightly more damaging than the last as a share of the remaining balance. If the losing run coincides with a period of high volatility or a regime change your strategy was not designed for, the drawdown can deepen faster than most traders anticipate.

The mistake most traders make is treating drawdown protection as something to configure after the strategy proves itself. By then, a spiral may have already happened.

Use a daily loss limit as a hard ceiling

A daily loss limit is a direct line of defense against runaway drawdowns. You define a maximum dollar or percentage loss for the trading day. When that threshold is reached, the bot stops taking new entries until the next session. This caps the worst-case single-day damage and gives you a clear point where the bot stands down rather than continuing to trade into a losing streak.

The key is calibrating the limit correctly. Set it too tight and your bot halts on normal variance. Set it too loose and it provides no meaningful protection. Pull your strategy's historical daily P&L distribution and set your limit at a level that represents a genuine outlier, not a routine losing day. If your average losing day is down 0.8%, a limit of 2% gives room for normal variance while still catching outliers.

Stop losses and position sizing work together

A stop loss alone does not prevent a drawdown spiral. A stop loss on each trade limits individual losses, but if the bot keeps firing signals at full position size through a losing streak, losses still accumulate.

Effective protection combines a per-trade stop loss with position sizing that limits how much of your account is at risk in any single trade. A common approach is to size positions so that hitting your stop loss costs no more than 1% to 2% of account equity. At that level, you can absorb a significant losing streak before the drawdown reaches a point that meaningfully affects your ability to recover.

Review signal history before adjusting parameters

Before making changes to your strategy in response to a drawdown, look at what your bot has actually been doing. Open Signal History in RelayDesk and review recent signals and outcomes. Are losses concentrated in a specific time of day or market condition? Is the loss rate elevated compared to your historical baseline, or does it fall within the normal variance range for your strategy?

If the drawdown is within your strategy's historical parameters, the right response is often to wait rather than adjust. Changing parameters during a drawdown based on a small sample of recent data frequently produces parameters optimized for that losing period, not for the broader market conditions your bot will face next.

Use Relay's What-If Simulation to evaluate any parameter change across a longer historical window before applying it. This separates a genuine flaw in your strategy from normal variance.

The cost of not protecting

The asymmetry of drawdowns is worth understanding clearly. A 10% drawdown requires an 11% gain to break even. A 25% drawdown requires a 33% gain. A 50% drawdown requires a 100% gain.

Automated strategies that run without loss controls in volatile conditions do not just underperform. They can reach loss levels that make recovery mathematically impractical within a reasonable timeframe.

Building protection into your bot before you need it is the discipline that keeps you in the game long enough for your edge to compound.

RelayDesk's daily loss limit settings are configured at the bot level. Use Relay to review your Signal History and run What-If simulations before adjusting strategy parameters.

RelayDesk Team

RelayDesk Team

Ready to Automate Your Trading?

Join thousands of traders using RelayDesk to execute their strategies flawlessly.

Get Started Free