Custom stats filtered by dynamic and position

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Custom stats filtered by dynamic and position

Postby cazzarola9191 » Wed Feb 09, 2022 10:35 am

HI,
I am trying to create custom stats for tourney spin and go and I want to create a new custom stat for every dynamic,
eg for srp: flop cbet btn vs bb, flop cbet sb vs bb, flop cbet bb vs sb etc.

I am new to these things and I am trying to understand how to write specific positions on columns.
cazzarola9191
 
Posts: 6
Joined: Thu Dec 31, 2020 6:22 am

Re: Custom stats filtered by dynamic and position

Postby Flag_Hippo » Wed Feb 09, 2022 1:39 pm

You can add position information for a player to a column using tourney_hand_player_statistics.position. With regards to the positions of the preflop caller that isn't stored in the same way but it can be tested by using the actors string - see this post for more more information on how the actors and aggressors strings work. If you need it see also this guide for the basics on custom statistics creation and this post for an example new statistic.
Flag_Hippo
Moderator
 
Posts: 17132
Joined: Tue Jan 31, 2012 7:50 am

Re: Custom stats filtered by dynamic and position

Postby cazzarola9191 » Wed Feb 09, 2022 3:52 pm

So what would the correct syntax be to filter, for example, the flop cbet from sb vs bb considering only the spots when btn folds and sb raises and bb calls and sb makes a cbet on the flop?
In this case I do not want to consider, for example, when btn limps and sb raises and bb calls and sb makes a flop cbet vs bb.
I do not want to consider any other situation, I just need to create the stat for the one and only situation I want.
cazzarola9191
 
Posts: 6
Joined: Thu Dec 31, 2020 6:22 am

Re: Custom stats filtered by dynamic and position

Postby Flag_Hippo » Thu Feb 10, 2022 7:23 am

Code: Select all
sum(if[tourney_hand_player_statistics.flg_f_cbet and tourney_hand_player_statistics.position = 9 and tourney_hand_summary.str_aggressors_p = '89' and tourney_hand_summary.str_actors_p = '98', 1, 0])

This expression in a custom column will count how many times the SB cbets vs the BB in a SRP. You will need to make the same edits to the opportunites column before creating a new statistic and you can edit this expression further to create statistics for other positions as per my original reply. If you need it this guide goes into more detail on custom stat creation and while it was written for PokerTracker 3 the techniques still apply to PokerTracker 4.
Flag_Hippo
Moderator
 
Posts: 17132
Joined: Tue Jan 31, 2012 7:50 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 0 guests