Skip to content
EN
Log in Start free
← Back to the blog

Stop Revenge Trading: The Check After a Loss

by Sebastian Saupe · Published on November 1, 2026 · Updated on November 1, 2026

Stop Revenge Trading: The Check After a Loss

A trade goes wrong, and the next one follows too fast, sized too big. If that sounds familiar, you probably know what comes after too: the first loss hurts, the second trade is supposed to make up for it, and the account ends up deeper in the red than the original loss alone would explain. This article doesn't promise a trick for the feeling in that moment. It shows which fixed numbers and mechanical steps StrategyQuant X gives you to fill the gap between a loss and the next trade with a check instead of a reflex: a risk per trade that's set before you trade at all, numbers from your own backtest on losing streaks, and two ways to stop trading mechanically.

Risk per trade: a number fixed before the trade happens

In StrategyQuant X you set, before you trade, how much a single trade is allowed to lose. This value is called risk per trade. Money management methods such as Risk fixed % of account or Risk fixed amount use exactly this number to calculate position size.

For the moment right after a loss, one thing matters most: the number is already fixed before the next trade is even up for debate. You don't have to invent a position size in the heat of the moment, you just compare whether the actual loss matches what was planned beforehand. A fixed risk value per trade doesn't prevent a large loss. It just makes it visible and comparable ahead of time, instead of forcing you to do new math in the middle of a feeling.

What losing streaks in the backtest actually show

A second fixed reference point comes from your own backtest. The Results/Databank module in StrategyQuant X lists several losing-streak metrics for every tested strategy: Max. Consecutive Losing Trades for the longest run of consecutive losing trades, Avg Consecutive Losing Trades for the average length of such a run, Average Losing Trade for the average size of a losing trade, and Avg. Bars Loss for the average duration of a losing trade. These numbers come from one specific test, with its own symbol, period, and settings.

The Results/Databank module lists several losing-streak metrics for a single backtest configuration.
The Results/Databank module lists several losing-streak metrics for a single backtest configuration.

On top of that comes a finer metric at the level of a single trade: maximum adverse excursion. It shows how far a single, still-open trade dropped into the red before it was closed, regardless of how the trade ended up finishing. This value, too, describes what happened in the tested data, not what happens next. How losing streaks like this connect to a strategy's drawdown is explained in more detail in this article on drawdown.

Why the longest past losing streak isn't a ceiling

There's a trap here that's easy to miss. The longest losing streak from the backtest feels like a limit. If a strategy never exceeded a certain number of consecutive losing trades in the past, a live streak that reaches exactly that mark feels like an exception that has to end soon. It doesn't have to. This statistic comes from a single historical period with its own date range and its own settings. It sets no ceiling on how long a losing streak can run in live trading.

For the moment after a loss, that means the backtest number is a reference point, not a promise. It helps you judge whether a current streak is unusually long measured against what was once observed in the past. It doesn't tell you when a streak ends.

Stopping one strategy or stopping everything

Beyond the numbers, StrategyQuant X also gives you mechanical ways to interrupt trading. If you write your own code in the Code Editor, you can pause a trading setup with the stop() method or stop a strategy with StopStrategy. After that, the setup no longer trades, and it doesn't currently restart on its own. For several running setups at once, there's the Stop all action in the interface. It relies on the Trading Engine's removeAll() function and stops and removes every currently running trading setup at once.

These aren't functions built specifically for moments like this. They're general ways to halt trading, regardless of the reason. That's exactly what makes them useful as a mechanical full stop: a stop is a real, complete stop, not a pause with the hope of doing better right away. When you stop a setup, or all of them, the decision of when and whether to continue sits with you again.

The limit from the previous section still applies: even a decision based on backtest numbers remains a decision based on past data. It says nothing about what the market does next.

A fixed routine replaces the first reaction after a loss with a comparison against values set in advance.
A fixed routine replaces the first reaction after a loss with a comparison against values set in advance.

Two traps that make a bad streak worse

Two things often make a losing streak worse in practice than it needs to be. In analyses of prop firm challenges, the Outcome Breakdown from the Monte Carlo analysis in the StrategyQuant X 2-Step Challenge Analyzer shows that challenges often fail on the daily loss limit, frequently because position size was set too aggressively for bad trading days. So the smaller risk per trade from the first section isn't a minor detail. On bad days, it directly decides whether the daily limit stays within reach at all.

The second trap sits in how the strategy itself is built. If the mandatory requirement for stop loss and profit target is turned off under What to build in the Builder, a generated strategy can end up with no rule of its own that closes a trade. A strategy without any exit rule stretches out any losing streak it runs into for an indefinite time. The fix is simple: add an extra exit rule such as exit after X bars.

What this check can do, and what it can't

Risk per trade, backtest metrics on losing streaks, and the mechanical stop functions give you something concrete to compare a bad streak against, instead of meeting it with a feeling alone. They do that by tracing a decision that would otherwise be made on the spot back to values set in advance.

What they don't do: they say nothing about how much longer a current losing streak will last, and a stop in code or in the interface doesn't replace thinking through when it makes sense. Both remain a decision you make using past data, for a future that data doesn't predict. This article covers the mechanical side: fixed numbers and stop functions. How you deal with the urge to jump right back in stays something every trader works out for themselves, also by talking it through with others in the QANTERIS Community.

This article is for education only and is not investment advice. Past results, including backtests, do not guarantee future results. Trading financial instruments involves risk, and you can lose money.

This article is for education only and is not investment advice. Past results do not guarantee future results.

How do you do it? Share it in the community. Free, in your language.

Sign up free