I run the same kind of rule on a live account, so my answer is that the kill switch belongs in the backtest. Switch it off and you are measuring a system you would never trade, and the number comes back for a different strategy.
Fifteen cycles says nothing either way. My own book has 66,511 trades over 11.4 years and only 46 percent of days are green, so a run of 15 sits well inside normal noise. The reason I keep the rule in the test at all is that the same six setups made +5,243 R over eleven years and still spent 2015 to 2017 inside a -449 R drawdown, and what a halt rule does in the bad regime is most of what it does.
The shadow ledger is worth building, I would just keep its numbers out of the evaluation and use them for diagnosis. A capital rule is a trading rule and has to be simulated. A minimum sample size is a reporting rule about when you are allowed to draw a conclusion. If the switch trips before the sample fills, the honest result is that the system did not survive long enough to be judged, and that is also a result.
The problem with a full-off kill switch is that it's rather retroactive in nature─most of the damage is already done by the time that the switch activates. I have developed a mitigating compromise of sorts. I use the average consecutive loss count in my Tester Report to minimize my position size when my "real-time" consecutive loss count exceeds the average consecutive loss count; and to increase my position size back to "normal" when one of those minimal trades closes in profit. In this way, the EA is never killed. The complete plain language logic is posted on my Profile wall.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
- Should a kill-switch rule be respected during backtesting too, even if it means never reaching an evaluable sample?
- Would it make sense to stop the official run but keep logging signals and counterfactual fills separately, in a shadow ledger?
- If I do that, does the shadow result count toward evaluating the strategy, or is it diagnostic only?
- How do you separate a rule meant to protect real capital from a rule meant to reach a predeclared minimum sample?
Leaning toward keeping the kill switch as official behavior and running the shadow continuation purely as a diagnostic — clearly labeled, not used to rewrite the original result.