Custom stats considering specific sizes in BB

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Custom stats considering specific sizes in BB

Postby juanchi » Mon Aug 04, 2025 6:23 pm

Hello! My braing burning trying to create these stats. First I searched them on the download warehouse with no luck and now I'm trying to create the using chat gpt but also without luck. All the times there is some invalid code, either the stat, or a column or a variable. Do you have any idea how to work it out? I would be very grateful of any help.

- Call 3bet equal or greater than X bb
- Call from any position vs open raise or ROL equal or greater than X bb
juanchi
 
Posts: 5
Joined: Thu Sep 03, 2009 6:25 pm

Re: Custom stats considering specific sizes in BB

Postby Flag_Hippo » Tue Aug 05, 2025 5:22 am

juanchi wrote:All the times there is some invalid code

If you have a column expression that is not validating then please copy/paste it here so we can see what's wrong.
Flag_Hippo
Moderator
 
Posts: 17077
Joined: Tue Jan 31, 2012 7:50 am

Re: Custom stats considering specific sizes in BB

Postby juanchi » Tue Aug 05, 2025 5:53 pm

Thank you for your response.

for example I tried to create a stat that indicates the frequency of a player calling (from any position) an open raise or ROL equal or greater than 3,5bb.
So first I tried to create two different columns and both were invalid:

A. Times that a player calls an OR ≥ 3,5bb
Name: cnt_call_vs_open_3p5bb_cash

Expression:
sum(if[
cash_hand_player_statistics.facing_preflop_raise = true
and cash_hand_player_statistics.preflop_action = 'CALL'
and lookup_actions_p.raise_amount >= 3.5, 1, 0])

B. Opportunities to call an OR ≥ 3,5bb
Name: cnt_call_vs_open_3p5bb_opp_cash

Expression:
sum(if[
cash_hand_player_statistics.facing_preflop_raise = true
and lookup_actions_p.raise_amount >= 3.5, 1, 0])
juanchi
 
Posts: 5
Joined: Thu Sep 03, 2009 6:25 pm

Re: Custom stats considering specific sizes in BB

Postby Flag_Hippo » Wed Aug 06, 2025 6:57 am

juanchi wrote:facing_preflop_raise
preflop_action
lookup_actions_p.raise_amount

Your column expressions are not validating because none of these terms exist in the PokerTracker 4 database schema. The schema for PokerTracker 4 hasn't been published but you can check the file used to create the database in your PokerTracker4 installation folder:

C:\Program Files (x86)\PokerTracker 4\Data\Schemas\schema.postgres.sql

The meaning of database fields with the same names haven't changed in any significant way from PokerTracker 3.

PokerTracker 3 Database Schema Documentation
Flag_Hippo
Moderator
 
Posts: 17077
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 5 guests