When to Turn Off a Trading Strategy
Your automated strategy has been live for a few weeks, and the equity curve has been pointing one way for days: down. You sit in front of the screen wondering whether to switch it off or let it run. This question comes up sooner or later with every automated strategy, and StrategyQuant X has no built in switch that answers it for you. What it does have: a few reasons why a strategy can suddenly behave differently than it did in testing, and a few places in the software where you can actually act once you've made your decision.
The decision is yours
StrategyQuant X builds strategies, tests them against historical data, and applies several robustness criteria along the way. Whether a strategy has been tested enough to go live is your call from the start. The software doesn't judge on its own whether the strengths, weaknesses and limits of a new strategy fit you before it goes into a live account. Even a strategy that passes every automatic check doesn't replace your own judgment on these points.
Nothing changes once the strategy is already running. StrategyQuant X has no automation that watches live results and tells you when to stop. That observation and that decision stay with you, along with everything that comes with them: your account, your appetite for risk, your time horizon.
When the market changes before you notice
A common situation: a strategy was built with a tight stop loss and tested well. If volatility in the market then rises sharply, the strategy's behavior can change without a single line of its code changing. Moves that took a full trading day in testing can happen within an hour. The tight stop gets hit more often, for a reason the strategy never saw while it was being built.
That doesn't mean every strategy with a tight stop fails in volatile phases, and it's not a reason to switch off every strategy at the next volatility spike. It's a pattern worth knowing when you're trying to work out why a strategy is behaving differently than it did in the backtest. We cover how to read a drop in your equity curve in more detail in the article on drawdown.
What you already bring to the table: automatic checks
Part of the answer often sits before the strategy ever goes live. While building strategies, StrategyQuant X automatically checks a range of robustness and quality criteria, adjustable in the Builder under Configure automatic dismissal. Each of these checks can be switched off on its own.
That can be useful if you deliberately want to skip a particular check, but it has a downside too. Turn off a check, and the software keeps and saves strategies that show exactly the traits that check was meant to flag. Trading strategies with such traits is generally not a good idea. If a strategy showing live losses right now was built with some checks switched off, it's worth looking back, not to judge it, but to understand what was knowingly allowed through at build time. You can read more about the individual checks in the article on robustness tests for trading strategies.

Removing a strategy from the Databank for good
Once you've decided a strategy shouldn't keep running or keep being tested, the Databank gives you two ways to get rid of it. You can remove a single strategy by name from the list, through the Databank.remove method, or clear the whole list using Delete or Clear all. Both permanently delete the entry from the Databank, and there's no undo.
What matters is what this deletion doesn't do: it doesn't stop an Expert Advisor already running live on your trading platform. The Databank is where StrategyQuant X manages, tests and stores strategies, not the place that controls a running live trade. Turning off a live strategy happens on the platform where it runs, not in the Databank.

When the program itself stops responding
Sometimes the real problem lies elsewhere: StrategyQuant X itself freezes or crashes before you even get to decide anything about a single strategy. This can happen during demanding optimizations or with a large number of saved strategies in the Databank, usually because of too little memory or a memory allocation that's set wrong.
For systems with 8 GB of RAM or less, it's recommended to work with fewer strategies at once and smaller optimization steps. From 16 GB of RAM upward, it's worth looking at the memory allocation itself: documented reference values mention 1 GB in some cases and 2 GB in others for systems with 8 GB RAM. These figures are documented for versions up to 3.6.1; newer versions may behave differently. If your program hangs, that's usually a technical problem, not a signal about the quality of a strategy.
What these points tell you, and what they don't
Everything above helps you understand why a strategy is behaving differently than expected, and what you can technically do if you want to get rid of it. None of it tells you at what loss, what drawdown, or after how many days you should switch off a specific strategy. StrategyQuant X doesn't make that call for you, and that doesn't change once the strategy is already running.
Rather than answering that question in the middle of a loss, it makes more sense to set your own limit before going live, as part of your preparation, not as a reaction to a red equity curve. If you want to compare notes with other traders on how they set such limits, you'll find room for that 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