"Rules" tab. Setting rules\conditions

"Settings, Rules" is responsible for setting rules for color coding.



In the colors column you can choose a value for each of the supported poker rooms: PokerStars, Party Poker, Ongame Network



With the buttons on the right you can change the position of rules and the priority, as well as remove it.



The button "Add New" is responsible for adding new rules to the list of those available.


List of available statistics.: Won, Hands, BB, Vpip, Pfr, 3bet, FoldTo3bet, AF, WwSF, WSD, Wtsd, CbetFlop
Operators: And, Or. Also, all the standard>,> =, <, <=, (,)


All the conditions must be written and edited by hand (to get started, just click on the rule).
This allows you to create complex rules using mathematical expressions (+, -, *, /), that in turn gives access to additional statistics.

Additional statistics: Vpip-Pfr, (Pfr / Vpip) * 100
Vpip-Pfr - "Vpip-pfr gap".
(Pfr / Vpip) * 100 - "Pfr / Vpip ratio".


Also created a system to check for syntax errors.

The green color indicates that all values ​​are entered correctly.
The red color indicates that some value are entered wrong. Hover mouse on rule with error to see tooltip.


Also, when you set the rules, it is important to keep in mind the priority. The rules at the bottom have more priority than the rules above.

To make it easier to understand, let's consider an example.

We have created a simple rules

And we have an opponent with Vpip 50 and Hands 150.

We see that the opponent fits both conditions (Vpip> 40, Hands> 100).
But because the condition "Hands>100" below, it has the highest priority and, therefore, the opponent first gets red (vpip>40) and then gets the green(hands>100). And in the end in the file will be added the green color for this opp, because the rule "Hands>100" is below all.

If you swap the position of rules, this opponent will have the color red in file, unnecessarily we changed the priority.