Trading Plan Not Followed: Why You Break Your Own Rules
The moment you don't follow your trading plan
You know your entry rule. You know your stop. Yet you sit in front of the chart and push the stop one more tick, even though your own rule doesn't allow that. Or you skip a signal because the day feels wrong. Afterward you wonder why you don't follow your trading plan, even though you wrote it yourself.
That question has no single answer. But you can approach it from two sides: the rule set you worked out beforehand, and the execution, meaning what actually happens in the moment of the trade. In this article we look at what a rule set in StrategyQuant X needs to count as workable, how far automation takes the decision out of the moment itself, and how you check a strategy before you trust it at all.
What a strategy really needs to work
A common idea goes like this: if you skip or misexecute even one trade, the whole strategy falls apart. The StrategyQuant X documentation works from a different picture of robustness. There, a strategy counts as robust if it doesn't break down just because individual trades were skipped or missed, not because every single trade has to be taken exactly as specified for the system to work at all.
That's a general concept from the documentation, not a promise for any specific strategy you build. Whether your own strategy actually has that property only shows up under testing, not from the definition alone. And a missed trade still affects the result, even if the system as a whole doesn't collapse because of it.

Discipline built into the rule set itself
Before a strategy even runs, StrategyQuant X has a kind of forced order built into the building process. Elements of a condition group must be boolean, true or false, elements of a value group must be prices or numbers. For each element you also decide whether the builder is allowed to optimize its parameter or whether it stays fixed.
That's discipline at the level of the rule set: the software simply doesn't allow certain mix-ups. It's a different thing from the discipline you need yourself when you sit in front of the chart and have to decide whether to follow your own signal. This type checking also doesn't catch every logical error in a strategy, it only makes sure the building blocks fit together.
When the machine decides, not you
Part of the answer lies in who actually decides in the moment of the trade. In the StrategyQuant X Stockpicker engine, the actual number of trades opened on a given day can be lower than a set maximum, or even zero, depending on whether the entry conditions are met at all. A strategy can also use an exit rule other than end of day, so a trade runs across several days. But the engine never opens more positions than the set maximum.
A quiet trading day isn't a malfunction here, it's the result of the conditions the strategy sets. The machine doesn't wait impatiently for a trade the way a person sometimes does.
If you still want to execute the rules by hand, the Results view offers a pseudo-code export that translates a strategy's logic into readable text. You can use it as a template when you implement the rules manually. That's not the same as automated execution, though, and it doesn't replace understanding the original rules yourself.

Testing before you trust: the distribution of profit
Before you follow a strategy at all, it's worth looking at where its test result actually comes from. The "Distribution (of Profits)" success criterion in StrategyQuant X measures how much of a strategy's total profit comes from each individual test run. If a single period contributed more than half of the total profit, the remaining periods performed weakly by comparison. This is documented for Optimizer versions up to build 3.6.1, later versions may handle it differently.
This criterion doesn't measure your discipline, and a good result here isn't proof that a strategy will perform just as evenly in live trading. But it does show whether a strategy's edge rests on one single good stretch or on several. That's close to a feeling many traders know: after one single good trade, your own rule suddenly feels infallible, even though the rest of the period doesn't support that at all.
A built-in guard against empty orders
StrategyQuant X includes, in the Builder, under Ranking, in the Automatic Filter, an automatic check called "No filled trades". It flags strategies that place too many pending orders that end up never filled, a behavior observed at least up to build 144.
This filter also doesn't rate how disciplined you are as a trader, and it doesn't guarantee that not a single pending order will go unfilled in live trading. It only screens out strategies whose logic already produced too many duds in testing.

What this means for your trading plan
The building blocks above describe what a rule set can show about itself before it even runs: whether it holds up by its own definition even without every single trade, whether its building blocks are cleanly typed, how many trades it actually opens in a day, where its test profit comes from, and whether too many of its orders stayed unfilled in testing.
None of this answers the question we started with: why you yourself deviate from your own plan in a particular moment. That's a different level than the rule set. What you do with it, whether you hand execution over to software, whether you use the pseudo-code as a guide, or whether you stick with your own hand, is something you mostly have to try out in your own case.
If you want to go deeper into the question of why it happens right in the moment of the trade, you'll find more there. If you want to know which other tests can check a strategy's robustness, read the main types of robustness tests. And if you want to swap your own experiences with plan and execution, there's room for that in the QANTERIS Community.
What a test shows, and what it doesn't
A backtest or an optimization describes how a strategy would have behaved on past data. That holds even for a strategy built exactly according to a fixed rule set: the past result is not a prediction and not a promise of what the strategy will do live. This limitation stays in place no matter how cleanly a strategy was typed, tested and filtered.
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