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

Does Your Strategy Work or Is It Just Luck?

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

Does Your Strategy Work or Is It Just Luck?

You built a strategy, the backtest looked good, and now you're asking the question everyone asks sooner or later: does the strategy actually work, or was it just luck that the curve went up? There's no single number that answers this, much as we'd like one. StrategyQuant X offers several checks that help sharpen the picture: a test for regime shifts, robustness tests with an adjustable number of simulations, and a warning about testing too many combinations. None of them hands you a finished verdict of "skill" or "luck". Taken together, though, they show you where your strategy wobbles and where it holds.

Strategy working or just luck: why one number alone proves nothing

StrategyQuant doesn't describe itself as a tool that generates profit on its own. It calls itself a powerful tool that needs to be used correctly to deliver results. Judging whether a new strategy is strong enough for live trading, and where its weak points lie, stays the trader's job, not the software's.

That sounds inconvenient if you were hoping for a ready-made answer. In practice it also means you're not stuck with a single metric. You can line up several independent checks and see whether they back each other up or contradict each other. The following four checks belong in that picture.

Spotting regime shifts: the Kolmogorov-Smirnov test

One reason a backtest can look good even though the underlying logic has no real edge is an unnoticed shift in market regime during the test period. StrategyQuant X has a Kolmogorov-Smirnov test indicator in the Coding Base for exactly this case. It checks whether the distribution of price moves has changed significantly, and flags a 1 when it has.

You control how sensitive the indicator is through the SignalThreshold input. The default is 0.05. Set it to 0.01 and the test gets stricter, flagging less often but with fewer false signals. At 0.10 it reacts faster, at the cost of more false alarms.

A single 1 from the indicator doesn't prove anything by itself. The documentation recommends watching for several consecutive flags rather than reacting to one spike. Only a pattern of repeated signals suggests something in the market has actually changed.

The SignalThreshold in the Kolmogorov-Smirnov test sets how sensitive the indicator is to a regime shift.
The SignalThreshold in the Kolmogorov-Smirnov test sets how sensitive the indicator is to a regime shift.

Checking robustness: Monte Carlo tests and the number of simulations

Robustness tests in StrategyQuant X let you set a freely chosen number of simulations. The more simulations you run, the more statistical weight the result carries, but that comes at the cost of computing time: the retest takes correspondingly longer.

More simulations alone don't answer whether your edge is real. They do raise the odds that a random hit in the data shows up before you trade it live. You can read more about how a Monte Carlo simulation in trading works in detail and what it can show in a dedicated article.

The number of simulations in the robustness test determines how much statistical weight the result carries, and how long the test runs.
The number of simulations in the robustness test determines how much statistical weight the result carries, and how long the test runs.

Data-mining bias: when too many combinations create an illusion

The more combinations a strategy search tests, the more likely it is that one of them looks good in the backtest simply because it happens to fit the historical data, not because it has a real edge. With sufficiently broad generation settings, StrategyQuant X can output exactly that kind of strategy, one that doesn't hold up in real trading.

There's no bug behind this. It's a consequence of how searching across many combinations works in general. The bigger the search space, the more closely you should look before taking a result at face value. The article on data snooping in trading goes into more detail on how data snooping happens and which checks help against it.

Why a previously good strategy suddenly starts losing

A strategy optimized for a particular market regime will usually perform worse once conditions change. That explains why a strategy that made money for a long stretch can suddenly start losing without any change to its code.

This isn't a prediction of when or how a given strategy will turn, just a general observation about how regime-dependent strategies behave. For you that means a drop in performance isn't automatically a sign of bad luck. It can just as easily mean the market has changed and the strategy has hit its limits.

What-if scenarios: an improvement isn't proof

The what-if scenario tool shows you how your strategy would have behaved under changed assumptions. An improvement that shows up there can be pure chance, or it can play out differently in real trading because trades can affect each other. The official recommendation is to retest the strategy with the adopted settings before you rely on it.

In other words, a better number in the what-if window is an invitation to look closer, not a finished result.

What these checks show, and what they don't

None of these checks answers the "skill or luck" question on its own. The Kolmogorov-Smirnov test shows you whether the market regime has changed, not whether your rule has an edge in the first place. The robustness tests with multiple simulations show how stable a result stays under slightly different conditions, not whether it will turn out the same way in the future. And the warning about testing too many combinations protects you from one particular trap, but not from every trap.

Together these checks give you a picture you still have to draw your own conclusion from. StrategyQuant describes exactly that as your job: weighing the strengths, weaknesses, and limits of a new strategy before you run it live. If you want a systematic way to approach that evaluation, the article on robustness tests for trading strategies gives an overview of the common types.

Several independent checks together give a sharper picture than a single metric.
Several independent checks together give a sharper picture than a single metric.

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