04 · Metrics
Rule Compliance
ProRule Compliance is how often you followed one playbook rule: times followed ÷ times checked. Where it appears, how it's counted, and what a weak rule means.
For a specific rule, how often you actually followed it. If it's below 50%, that rule isn't a rule yet - it's a wish. In Limbix, rule compliance for one rule is the times you followed it divided by the times it was checked. Each linked trade checks every rule on its playbook once.
How it's calculated#
- Trades checked
- Trades linked to a playbook that carries this rule. Impulsive trades are not counted: they have no rules to rank.
- Followed
- Checked trades where you did not mark this rule as violated.
src/lib/discipline.tsEvery trade linked to a playbook is checked once against each rule on that playbook. If you marked the rule as violated on the trade, it counts as broken. Otherwise it counts as followed. A rule's compliance is followed ÷ checked × 100.
You'll find this number in two places, and they count over different windows:
| Where | Window | Counts | Rounding |
|---|---|---|---|
| Rule leaderboard on Discipline & Risk | The period you pick: Week, Month, Quarter or All | Every trade in that period linked to a playbook with the rule | Whole percent |
| Rules & Execution on a playbook's page | All trades ever linked to that playbook | That playbook's trades only | Shown as "% followed" |
A trade linked to two playbooks that share one rule is checked against it once.
Each leaderboard row also shows the money the rule leaks: the sum of net P&L on the losing trades that broke it. That is the same reading as Cost of Violations, applied to one rule.
Your overall Rule Compliance is the same ratio across all rules at once: rules followed ÷ rule checks made. It is the number your Discipline Score starts from, and it adds one thing the per-rule rate leaves out. A trade with no playbook counts as if it broke a typical playbook's worth of rules, so skipping the playbook can't lift your score. Old trades are not re-scored when you add or delete playbooks.
Worked example#
Your playbook "ORB" has the rule "Wait for candle close". This month, 20 trades were linked to ORB. You marked the rule as broken on 5 of them.
Rule Compliance = 15 ÷ 20 × 100 = 75%.
The 5 trades that broke it closed at −€120, −€80, −€200, +€90 and +€60. Only the losers count toward the leak: −€120 − €80 − €200 = −€400.
The leaderboard row reads Wait for candle close · ORB · 75% · −€400. Because 75 is in the Building band, the bar is coloured to match. If it's your weakest rule and it has been broken, it sits at the top of the card.
When it shows "—"#
| Where | Shows "—" or nothing when |
|---|---|
| Rules & Execution on a playbook | No trades are linked to the playbook yet, so the rule was never checked |
| Rule leaderboard | No playbook-linked trades in the selected period: the card shows three empty placeholder rows and a link to Create playbooks → |
A rule that exists but was never checked has no rate. It is never shown as 0%.
What's a good rule compliance rate?#
The leaderboard colours each rule with the discipline bands:
- Breaking 0 to 50
- Fragile 50 to 70
- Building 70 to 85
- Strong 85 to 100
| Band | Rate from |
|---|---|
| Strong | 85% |
| Building | 70% |
| Fragile | 50% |
| Breaking | below 50% |
A rule you follow less than half the time isn't guiding your trading. Either it's the habit to fix, or it's a rule you don't believe in and should rewrite.
How to improve it#
- Work on one rule at a time. Start with the top row of the rule leaderboard, the weakest rule that has actually been broken.
- Make vague rules checkable. "Be patient" can't be ticked honestly. "No entry before the 5-minute candle closes" can. See add a rule.
- Mark every break. Unmarked violations inflate the rate and hide the rule that costs you. See mark rule violations.
- Check what the rule earns. If a rule you break often costs nothing, it may not belong in the playbook. See P&L when followed vs violated.
Where you'll see it#
- Discipline & Risk → Rule leaderboard: the five weakest rules, worst first, with a Show all button for the rest. See rule leaderboard.
- Playbook page → Rules & Execution: each rule's "% followed", a MOST BROKEN badge when one rule is clearly behind the others, and the sentence "Breaking this rule has cost you …" on the costliest rule. See playbooks.
Frequently asked questions#
What is rule compliance in trading?#
It's how often you actually followed a rule you wrote for yourself. Limbix checks every trade linked to a playbook against each of that playbook's rules, and you mark the ones you broke. Followed checks divided by all checks gives the rate. Per rule, it tells you which part of your plan holds under pressure and which part doesn't.
Is rule compliance the same as my discipline score?#
Not quite. When risk caps your score, the Discipline & Risk hero says something like "Rule compliance is 79%". That figure is all your rules combined, plus failed phantom checks for impulsive trades. This page covers one rule at a time. Your Discipline Score is the combined figure, capped by your Risk Score.
Why does a rule show a different rate on the playbook page?#
The windows differ. The leaderboard counts the period you picked on Discipline & Risk, across all your playbooks. The playbook page counts every trade ever linked to that one playbook. A rule you've improved on this month will look better on the leaderboard than on its all-time playbook card.
What happens to compliance if I delete a rule?#
Deleted rules stop being checked. Their past violations stay in your violations feed, because the break really happened, but they no longer burn checks in your score. You can't fail a rule that is no longer part of the playbook.
Why doesn't Limbix publish the exact weights?#
Because the method is still being validated on real traders. The per-rule rate on this page is plain arithmetic, followed ÷ checked. What stays unpublished for now is how heavily an impulsive trade counts in your overall compliance. That weight may change, and publishing numbers that may change would mean public corrections and invite people to play to the line rather than trade well. Everything that decides your number is explained here.