I want to make a custom stat called 'cnt_f_bet_opp' that counts the number of times a player had the opportunity to bet on the flop (i.e. they faced no bets on the flop and had the option to put in the first one).
I'm having trouble getting the correct answer with my custom stat.
Here's the new column I've added to Holdem Cash Player Statistics through the Configure Stats option within PokerTracker:
- Code: Select all
Name:
cnt_f_bet_opp
Expression:
sum(if[holdem_hand_player_detail.flg_f_open_opp , 1, 0])
As a sanity check, I've compared this figure against Holdem Cache's 'cnt_f_total_actions' and found that cnt_f_bet_opp is higher, so there's obviously a problem with that I've done. Can someone explain my mistake to me?
I'll admit that I'm pretty new to Custom Stats so there's every chance I've done something naive!
Appreciate your help,
John.
P.S. I'm looking to make a famiy of stats that tells me how often a player plays against 1bet, 2bets, 3bets etc, so a solution that is simply extensible to these other situations would be best!
