3x preflop raise

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

3x preflop raise

Postby Collins » Mon Dec 07, 2020 1:59 pm

Hi Lads,

Any help would be appreciated, as I am making my own custom HUD and I'm fairly new to writing the columns/ stats.

Stat must show number of 3x raises preflop when the effective stack is between 0 and 10, would the code below be sufficient? I coppied it from cnt_pfr columns I made to show PFR for minraises based on stacksize. Expression is valid, but I'd like to know if I make any mistake before making the stat for all the BB's I want.

Code: Select all
sum(if[tourney_hand_player_statistics.cnt_p_raise BETWEEN 2 AND 3
AND (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) BETWEEN 0 AND 10, 1, 0])
Collins
 
Posts: 3
Joined: Sun Feb 26, 2017 10:13 am

Re: 3x preflop raise

Postby Collins » Mon Dec 07, 2020 2:07 pm

So ofc we also need the other part of the equation, which I made like this:

Code: Select all
sum(if[ lookup_actions_p.action LIKE '__%' OR (lookup_actions_p.action LIKE '_' AND (tourney_hand_player_statistics.amt_before > (tourney_blinds.amt_bb + tourney_hand_player_statistics.amt_ante)) AND (tourney_hand_player_statistics.amt_p_raise_facing <(tourney_hand_player_statistics.amt_before - (tourney_hand_player_statistics.amt_blind + tourney_hand_player_statistics.amt_ante))) AND(tourney_hand_player_statistics.cnt_p_raise BETWEEN 2 AND 3) AND
(tourney_hand_player_statistics.flg_p_open_opp OR tourney_hand_player_statistics.cnt_p_face_limpers > 0 OR tourney_hand_player_statistics.flg_p_3bet_opp OR tourney_hand_player_statistics.flg_p_4bet_opp) ) AND (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) BETWEEN 0 AND 10, 1, 0])
Collins
 
Posts: 3
Joined: Sun Feb 26, 2017 10:13 am

Re: 3x preflop raise

Postby Flag_Hippo » Tue Dec 08, 2020 7:43 am

tourney_hand_player_statistics.cnt_p_raise is the number of preflop raises made by the player and has nothing to do with size. So if a player 2Bets and then 4Bets in the same hand tourney_hand_player_statistics.cnt_p_raise would be 2.
Collins wrote:So ofc we also need the other part of the equation, which I made like this:

I am not sure what you are trying to do with that and there is alot of code there which isn't required based on what you were asking for in the OP:
Collins wrote:Stat must show number of 3x raises preflop when the effective stack is between 0 and 10

For this I am going to assume you just mean 3x 2Bets rather than say also including 3x 3Bets of a min 2Bet. I am also going to assume you mean 3x the big blind and not 3x the pot (if there was limpers and/or antes for example):

Code: Select all
sum(if[(tourney_hand_player_statistics.amt_p_raise_made / tourney_blinds.amt_bb) = 3 AND (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) BETWEEN 0 AND 10, 1, 0])
Flag_Hippo
Moderator
 
Posts: 17136
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 1 guest