HUD filter for players in pot

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

HUD filter for players in pot

Postby PlsFold » Tue Dec 04, 2012 10:13 pm

Hi PT4 guys!

As you unfortunately dont have a filter for players in pot at a given street I would like to ask if its possible to make custom HUD stats with a such filter build in?

For instance: Check raise flop when 2 players saw flop.

Thanks in advance.
PlsFold
 
Posts: 15
Joined: Sat Mar 17, 2012 9:39 pm

Re: HUD filter for players in pot

Postby WhiteRider » Wed Dec 05, 2012 4:04 am

[Removed - I misread your question initially.]
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: HUD filter for players in pot

Postby WhiteRider » Wed Dec 05, 2012 7:24 am

Apologies - I misread your question..

Yes, you can make custom stats based on the number of players seeing the flop.
Include "cash_hand_summary.cnt_players_f = x" in your expression, where x is the number of players who saw the flop.

Take a look at the Custom Stats Guide for an overview of working with custom stats.
The Tutorial: Custom Reports and Statistics was written for PT3 but the general principals apply and this goes into more detail about making a new version of an existing stat for example.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: HUD filter for players in pot

Postby PlsFold » Wed Dec 05, 2012 7:28 am

WhiteRider wrote:No, that isn't possible. PT4 doesn't know anything about the hand in progress - the information about the hand is read from the hand history file which is written after the hand completes.


I'll try it out thanks :P Any chance it could become a filter like has/has not position on(street) in a later version?
PlsFold
 
Posts: 15
Joined: Sat Mar 17, 2012 9:39 pm

Re: HUD filter for players in pot

Postby PlsFold » Wed Dec 05, 2012 10:16 am

I saved the command in columns inserting 2 in the "X" and then pasting it in a random stat using 'AND'.

The command doesnt work. In reports, It displays player names twice and only does 0 or 1 values. :(

Ive been through tutorials and just about anything I could think of but you dont have a column stat that is
similar to #of players at street to help me out a little.
PlsFold
 
Posts: 15
Joined: Sat Mar 17, 2012 9:39 pm

Re: HUD filter for players in pot

Postby kraada » Wed Dec 05, 2012 4:12 pm

In Check Raise Flop the columns used are cnt_f_check_raise and cnt_f_check_raise_opp (you can see these in the Value Expression on the Definition page for Check Raise Flop). These are the columns you want to duplicate and edit.

For example cnt_f_check_raise would become:

sum(if[cash_hand_player_statistics.flg_f_check_raise and cash_hand_summary.cnt_players_f = 2, 1, 0])

for heads up pots only. Do the same for the opportunity column, save them with new names and use the new columns in your new stat and it will do what you want.

I don't expect we'll add more properties like having position in the short term but it is possible we will do this eventually.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: HUD filter for players in pot

Postby PlsFold » Wed Dec 05, 2012 4:40 pm

I had a little truble creating the opportunity column. Could you please check if this looks right?

sum(if[cash_hand_player_statistics.flg_f_check AND
(cash_hand_player_statistics.cnt_f_raise > 0 OR
cash_hand_player_statistics.cnt_f_call > 0 OR
cash_hand_player_statistics.flg_f_fold) AND
cash_hand_summary.cnt_players_f = 2, 1, 0])

Thanks for your support & patience :club:
PlsFold
 
Posts: 15
Joined: Sat Mar 17, 2012 9:39 pm

Re: HUD filter for players in pot

Postby kraada » Wed Dec 05, 2012 5:30 pm

That looks right, good job!
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: HUD filter for players in pot

Postby PlsFold » Fri Dec 07, 2012 2:19 am

I am having trouble inserting the command in columns that filter for in/out of position making final values 3-5 times lower than it should.

Example for raise flop cbet in position:

sum(if[not(cash_hand_player_statistics.flg_f_check) AND cash_hand_player_statistics.enum_f_cbet_action='R') AND
(cash_hand_summary.cnt_players_f = 2, 1, 0])

sum(if[cash_hand_player_statistics.flg_f_cbet_def_opp) AND
(cash_hand_summary.cnt_players_f = 2, 1, 0])

What am I doing wrong?
PlsFold
 
Posts: 15
Joined: Sat Mar 17, 2012 9:39 pm

Re: HUD filter for players in pot

Postby WhiteRider » Fri Dec 07, 2012 4:06 am

Your brackets don't match.
The basic structure is this:

sum( if [ expression, 1, 0 ] )

You have brackets in your "expression" which break it up incorrectly.

Try these:

sum(if[ (not cash_hand_player_statistics.flg_f_check) AND cash_hand_player_statistics.enum_f_cbet_action='R' AND
cash_hand_summary.cnt_players_f = 2, 1, 0])

sum(if[ (not cash_hand_player_statistics.flg_f_check) AND cash_hand_player_statistics.flg_f_cbet_def_opp AND
cash_hand_summary.cnt_players_f = 2, 1, 0])

NOTE: I have also copied the "not check" part into your opportunities expression - you need to be careful to count the same situation in both places.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Next

Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 22 guests

cron
highfalutin