These two look good:
I don't think you really need to check that the flop bet isn't a c-bet (given the preflop action it can't be), but they're both fine.
stasia42 wrote:Check-Check Situation:
sum( if[holdem_hand_player_statistics.flg_p_first_raise AND holdem_hand_player_statistics.flg_p_open_opp AND holdem_hand_player_statistics.enum_p_3bet_action = 'C' AND holdem_hand_player_detail.val_p_raise_aggressor_pos >= 8 AND holdem_hand_summary.cnt_players_f = 2 AND lookup_actions_f.action = 'X', 1, 0])
Check-Bet Situation:
sum( if[holdem_hand_player_statistics.flg_p_first_raise AND holdem_hand_player_statistics.flg_p_open_opp AND holdem_hand_player_statistics.enum_p_3bet_action = 'C' AND holdem_hand_player_detail.val_p_raise_aggressor_pos >= 8 AND (NOT (holdem_hand_player_statistics.flg_f_cbet)) AND holdem_hand_player_statistics.flg_f_bet AND holdem_hand_summary.cnt_players_f = 2 , 1, 0])
Your opportunities column isn't quite right, though.
And the thing that I'm going to divide (number of times this opportunity had happened)
sum( if[holdem_hand_player_statistics.flg_p_first_raise AND holdem_hand_player_statistics.flg_p_open_opp AND holdem_hand_player_statistics.enum_p_3bet_action = 'C' AND holdem_hand_player_detail.val_p_raise_aggressor_pos >= 8 AND holdem_hand_summary.cnt_players_f = 2 AND NOT (holdem_hand_player_statistics.flg_f_cbet), 1, 0])
Instead of
NOT holdem_hand_player_statistics.flg_f_cbet
..you need to check for:
holdem_hand_player_statistics.flg_f_open_opp
..which is an opportunity to open on the flop. This means that the opponent in the blinds checked to the player so they have the opportunity to bet or check.
I would suggest checking that your stat finds exactly the hands you want using the method described in
this post if you want to verify that they are correct.