Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by BigPaired » Thu Jun 11, 2026 6:59 am
Hello,
I'd like to know if there's a flag in PT4 that indicates whether a player was the aggressor or the defender preflop, so I can create a different WWSF for each scenario.
I would like to have something like (cnt_f_saw_won_aggresor / cnt_f_saw_aggresor) * 100 or (cnt_f_saw_won_defender / cnt_f_saw_defender) * 100 but i don't know how to construct the column definitions.
-
BigPaired
-
- Posts: 2
- Joined: Thu Apr 09, 2015 8:19 am
by Flag_Hippo » Thu Jun 11, 2026 9:22 am
There isn't a flag but you can test for the players final preflop action being a raise or a call. For example:
cnt_f_saw_aggressor- Code: Select all
sum(if[cash_hand_player_statistics.flg_f_saw and lookup_actions_p.action LIKE '%R', 1, 0])
cnt_f_saw_defender- Code: Select all
sum(if[cash_hand_player_statistics.flg_f_saw and cash_hand_player_statistics.flg_p_face_raise and lookup_actions_p.action LIKE '%C', 1, 0])
-
Flag_Hippo
- Moderator
-
- Posts: 17039
- Joined: Tue Jan 31, 2012 7:50 am
by BigPaired » Fri Jun 12, 2026 9:37 am
Thank you for your response.
One more thing: if I add up the hands that saw the flop as the aggressor and as the defender with your formulas, the total should be the same as the number obtained from the "cnt_f_saw column".
I have lost a 10% aprox. of hands that show flop in a 420K hands.
-
BigPaired
-
- Posts: 2
- Joined: Thu Apr 09, 2015 8:19 am
by Flag_Hippo » Fri Jun 12, 2026 11:50 am
cnt_f_saw will include hands where there was no preflop aggressor such as limped pots or bomb pots which will not be included in the above column definitions.
-
Flag_Hippo
- Moderator
-
- Posts: 17039
- Joined: Tue Jan 31, 2012 7:50 am
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 10 guests