Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by NohimX » Tue Nov 25, 2025 9:31 am
Hello. I trying to understand how the stat Preflop Limp is counted for cash game. I cannot realize that - trying to combine any flags - my value is different from pokertracker stat (denominator)
-
NohimX
-
- Posts: 7
- Joined: Mon Jun 03, 2013 1:58 am
by Flag_Hippo » Tue Nov 25, 2025 11:14 am
I don't know what flags you are using but you can see how limp opportunities are counted in PokerTracker 4 by looking at the
cnt_p_limp_opp column:
cnt_p_limp_opp- Code: Select all
sum(if[((NOT cash_hand_player_statistics.flg_p_face_raise) OR (cash_hand_player_statistics.flg_p_limp) OR (cash_hand_player_statistics.flg_p_first_raise)) AND NOT (cash_hand_player_statistics.flg_blind_b OR cash_hand_player_statistics.flg_blind_db),1,0])
-
Flag_Hippo
- Moderator
-
- Posts: 17040
- Joined: Tue Jan 31, 2012 7:50 am
by NohimX » Tue Dec 02, 2025 8:37 am
Flag_Hippo wrote:I don't know what flags you are using but you can see how limp opportunities are counted in PokerTracker 4 by looking at the
cnt_p_limp_opp column:
cnt_p_limp_opp- Code: Select all
sum(if[((NOT cash_hand_player_statistics.flg_p_face_raise) OR (cash_hand_player_statistics.flg_p_limp) OR (cash_hand_player_statistics.flg_p_first_raise)) AND NOT (cash_hand_player_statistics.flg_blind_b OR cash_hand_player_statistics.flg_blind_db),1,0])
Perfect, that what i am looking for. Can you please provide the code for vpip opportunities, there i also cannot count exact value from existing flags.
-
NohimX
-
- Posts: 7
- Joined: Mon Jun 03, 2013 1:58 am
by Flag_Hippo » Tue Dec 02, 2025 1:35 pm
If something is already counted in PokerTracker 4 you can check that by going to 'Configure -> Statistics' and checking the relevant statistic and column expressions:
Custom Statistics GuideVPIP opportunities are calculated using two columns:
- Code: Select all
(cnt_hands - cnt_walks)
cnt_hands- Code: Select all
sum(if[cash_hand_player_statistics.id_hand > 0, 1, 0])
cnt_walks- Code: Select all
sum(if[lookup_actions_p.action = '', 1, 0])
-
Flag_Hippo
- Moderator
-
- Posts: 17040
- Joined: Tue Jan 31, 2012 7:50 am
by NohimX » Wed Dec 03, 2025 1:58 am
Thanks a lot, was very helpful!
-
NohimX
-
- Posts: 7
- Joined: Mon Jun 03, 2013 1:58 am
by NohimX » Wed Dec 03, 2025 2:47 am
I still miss some information. My problem that i don't know exactly how to count (Number of Hands - Number of Walks) using flags for different stats. For PFR and VPIP it is same formula, but the calculated denominator by pokertracker is different for VPIP and PFR. I guess that for PFR i have to exclude also enum_face_allin from all hands, it give me very close result to pokertracker stats, but not exact. I only found in internet old pt3 database schema, but it not complete and doesn't have any explanations of this.
-
NohimX
-
- Posts: 7
- Joined: Mon Jun 03, 2013 1:58 am
by NohimX » Wed Dec 03, 2025 3:55 am
Looks like i found everything in STATS, thanks a lot for your help
-
NohimX
-
- Posts: 7
- Joined: Mon Jun 03, 2013 1:58 am
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 1 guest