Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by weydahl » Tue Jun 19, 2018 4:01 pm
I'm only making a custom stat made for use in a husng and I'm wondering if this code is enough to get villain's Limp-Cbet %:
sum(if[lookup_positions.flg_sb
AND (lookup_actions_p.action SIMILAR TO 'C')
AND (lookup_actions_f.action SIMILAR TO 'B%'), 1, 0])
??
Or do I need to write:
sum(if[lookup_positions.flg_sb
AND NOT (tourney_hand_player_statistics.flg_p_face_raise)
AND (lookup_actions_p.action SIMILAR TO 'C')
AND tourney_hand_player_statistics.amt_f_bet_facing = 0
AND (lookup_actions_f.action SIMILAR TO 'B%'), 1, 0])
??
Thanks for your help, you guys are awesome!
-
weydahl
-
- Posts: 21
- Joined: Mon Mar 29, 2010 8:15 am
by Flag_Hippo » Wed Jun 20, 2018 5:15 am
weydahl wrote:I'm only making a custom stat made for use in a husng and I'm wondering if this code is enough to get villain's Limp-Cbet %:
sum(if[lookup_positions.flg_sb
AND (lookup_actions_p.action SIMILAR TO 'C')
AND (lookup_actions_f.action SIMILAR TO 'B%'), 1, 0])!
This is enough. For example you've already specified that the SB just called preflop so they couldn't have faced a raise from the BB since they would have had to take another action preflop in those cases. Also if you specify a player makes a bet on a specific street then it's not possible for them to have faced a bet on the same street.
-
Flag_Hippo
- Moderator
-
- Posts: 14505
- Joined: Tue Jan 31, 2012 7:50 am
by weydahl » Wed Jun 20, 2018 8:25 am
Thank you!
Finally starting to understand something at least
-
weydahl
-
- Posts: 21
- Joined: Mon Mar 29, 2010 8:15 am
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 26 guests