Matana Labs

Dead rules check: rules that never fired

A dead rules check finds rules in a strategy that never fired during the backtest. Matana Labs reads the engine’s own counters for the run, the same ones shown on the rule cards. A dead rule is a flaw in how the strategy is built, not proof that the strategy has no edge.

What it checks

Tuning a rule that never fires changes nothing. A dead rule is a hole in the design, not proof that there's no edge.

The question behind it: Is there anything redundant in the logic? In the app it is in Analysis Lab → Checks, stage “Required”. Can you trust the result at all? They come first and make up most of the score.

How it works

Engine-trigger counters for this run — the same as on the rule cards.

How it gets its status

These are the app’s own rules, shown on the check’s card:

How to read the result

The Dead rules check in Matana Labs: a table of the strategy’s rules with how many times each fired and the first day with a trade of that rule
“Dead rules” on a test data set: each enabled rule with how often it fired.

In the score out of 100

When it has a status, it counts toward the overall score with weight 1.5: “holds” earns full points, “with a caveat” half and “broke down” none; “can’t compute” is left out.

Every plan, the free one included, can run it; any engine runs it needs are counted in backtest-years.

If it breaks down

The rule never triggered — check its condition in the constructor or remove it.

This is the app’s own suggestion; under Improvement the app tests candidate changes on the engine before it shows them.

Screenshots show the real app on a test data set. Backtests and simulations are not real trading, and past results don’t guarantee future ones. Not investment advice.

Keep reading

See Matana Labs plans, from free

Questions

Why would a rule never fire?

Usually its condition can’t be met: a threshold out of range, two conditions that exclude each other, or a time window outside the session.

Does a dead rule change the result?

Not in this run, since it never fired. It may still fire on other data, which is why the app flags it for you to look at.

Does this check use backtest-years?

No. It reads counters the run already has.