Can someone please guide me about this?

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Can someone please guide me about this?

Postby Thinker145 » Thu Sep 18, 2014 8:01 pm

I have been playing more tables which results in me not always having the time to look over the sample of a particular stat and that results in bad decisions based on immaterial samples. What I am looking for is a way to change the color of any stat whose sample is < 10. I looked this up a little and I am not quite able to understand how to do this. So please if someone can guide me the process I'll be really grateful.

Btw I understand that there is no way to disable a stat completely before it reaches a certain sample but is such a feature coming in the future?
Thinker145
 
Posts: 23
Joined: Mon Feb 17, 2014 3:18 pm

Re: Can someone please guide me about this?

Postby WhiteRider » Fri Sep 19, 2014 2:40 am

Check out this guide for how to add color conditions to a stat.
In your case you want to test the opportunities column which the stat uses, so if your stat's expression is "(a / b) * 100" then your color condition expression would be "b < 10".
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Can someone please guide me about this?

Postby Thinker145 » Mon Sep 22, 2014 7:00 pm

WhiteRider wrote:Check out this guide for how to add color conditions to a stat.
In your case you want to test the opportunities column which the stat uses, so if your stat's expression is "(a / b) * 100" then your color condition expression would be "b < 10".
Hey thanks this worked very well for me.

There is just one thing left though. In my HUD I use the stat "ATT to steal from LP" for the BTN position only so when I put the color condition for that stat it isn't working probably because of me having customized it in the HUD. So what can I do here?
Thinker145
 
Posts: 23
Joined: Mon Feb 17, 2014 3:18 pm

Re: Can someone please guide me about this?

Postby WhiteRider » Tue Sep 23, 2014 3:12 am

Please open a Support Ticket with a link to this thread and we'll discuss it with the development team.

If it isn't working correctly as it is then you would need to make a new stat (using new columns) for the button position only.
i.e. Instead of testing "cash_hand_player_statistics.position <= 1" as the current columns do you would test for "cash_hand_player_statistics.position = 0".

Custom Stats Guide
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Can someone please guide me about this?

Postby Thinker145 » Thu Sep 25, 2014 6:08 pm

WhiteRider wrote:Please open a Support Ticket with a link to this thread and we'll discuss it with the development team.

If it isn't working correctly as it is then you would need to make a new stat (using new columns) for the button position only.
i.e. Instead of testing "cash_hand_player_statistics.position <= 1" as the current columns do you would test for "cash_hand_player_statistics.position = 0".

Custom Stats Guide
I tried doing that with the duplicate of both att to steal and steal from LP columns but I get the message "this statement is not valid SQL". Was I supposed to do something else?

I would open up a support ticket if it is indeed not possible to do this currently but first I would like to establish that.
Thinker145
 
Posts: 23
Joined: Mon Feb 17, 2014 3:18 pm

Re: Can someone please guide me about this?

Postby WhiteRider » Fri Sep 26, 2014 2:38 am

Can you paste the expression which doesn't validate so that we can see what is wrong with it?
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Can someone please guide me about this?

Postby Thinker145 » Fri Sep 26, 2014 6:48 pm

This is the expression for the opportunities to steal from LP.

"sum(if[cash_hand_player_statistics.flg_steal_opp and cash_hand_player_statistics.position <= 1, 1, 0])"

I changed it into this and it won't validate.

"sum(if[cash_hand_player_statistics.flg_steal_opp and cash_hand_player_statistics.position = 0])"

I then changed it into this and it did validate this time.

"sum(if[cash_hand_player_statistics.flg_steal_opp and cash_hand_player_statistics.position = 0, 0, 0])"

I changed the attempt to steal from LP expression as well similarly and created a stat based on the 2 expressions. However when I put the stat in the HUD it simply showed it as blank with no sample.

Thanks for all your help so far. :)
Thinker145
 
Posts: 23
Joined: Mon Feb 17, 2014 3:18 pm

Re: Can someone please guide me about this?

Postby WhiteRider » Sat Sep 27, 2014 3:37 am

You need to keep the ",1,0" part at the end for the counting part of the expression to work. The Tutorial: Custom Reports and Statistics explains how this type of expression works. (It was written for PT3 so the layout is a little different, but the same principals apply.)

sum(if[cash_hand_player_statistics.flg_steal_opp and cash_hand_player_statistics.position = 0, 1, 0])
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Can someone please guide me about this?

Postby Thinker145 » Mon Sep 29, 2014 6:10 pm

Thanks a lot everything seems to work perfectly now just the way I wanted. :)
Thinker145
 
Posts: 23
Joined: Mon Feb 17, 2014 3:18 pm


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 78 guests

cron