wallacedavidl wrote:If I have a statistic value expression such as, '
Statistic: lev1
if (A > B AND (C < (D + E)),
format('GOOD'),
if (S < T AND (X >= (L - M)),
format('BETTER'), format('-')))
That is not a statistics value expression. Select any statistic and on the definitions tab there is a field labelled 'Value Expression' which references the columns used by the statistic. If you haven't already read these please check out
this guide for the basics on custom statistics and
this guide for a deeper walkthrough. While the latter was written for PokerTracker 3 and the user interface is different the techniques still apply to PokerTracker 4. For example if you have a statistic and wanted it to color it based on VPIP you can use:
Color Condition Example 1- Code: Select all
#VPIP# < 30
This will color the statistic based on output for the 'Value Expression' for VPIP which is:
- Code: Select all
(cnt_vpip / (cnt_hands - cnt_walks)) * 100
You can also set color conditions using columns. So the same example for VPIP coloring but using columns would be:
Color Condition Example 2- Code: Select all
(cnt_vpip / (cnt_hands - cnt_walks)) < .3
Note here I'm not using the multiplication by 100 so .3 is being used instead of 30.
I don't know what
A, B, C e.t.c is in your example but if you wanted to color a statistic if CBet Flop % is lower than CBet Turn % then that would be:
Color Condition Example 3- Code: Select all
#CBet Flop# < #CBet Turn#
or using the columns for those statistics:
Color Condition Example 4- Code: Select all
(cnt_f_cbet / cnt_f_cbet_opp) < (cnt_t_cbet / cnt_t_cbet_opp)