Open Side Menu Go to the Top
Register
Help for creating expression from custom stat in PT4 Help for creating expression from custom stat in PT4

05-24-2024 , 08:26 AM
I have a custom statistic in PokerTracker 4 (PT4) that I would like to replicate in Hand2Note (H2N), but I'm unsure how to create it. Any help would be appreciated.

The statistic is "Won in % when player bet or raised on the river."

In PT4, the formula is:
(cnt_wtsd_when_r_bet_raise / cnt_r_bet_raise_hands) * 100

cnt_wtsd_when_r_bet_raise:
sum( if[(cash_hand_player_statistics.flg_r_bet OR cash_hand_player_statistics.cnt_r_raise > 0) and cash_hand_player_statistics.flg_showdown, 1, 0])

cnt_r_bet_raise_hands:
sum(if[ (cash_hand_player_statistics.flg_r_bet OR cash_hand_player_statistics.cnt_r_raise > 0), 1, 0])

Could you please guide me on how to create this custom statistic in Hand2Note?
Help for creating expression from custom stat in PT4 Quote
05-24-2024 , 04:23 PM
Hello,

1. Here is an example of the default expression of the 'Won at Showdown' stat:
WonHandAtSDCases(Preflop any action) / WentToSDCases(Preflop any action) * 100

Inside the parentheses of the expression, we use a plain 'Preflop Any Action' stat.

2. In your case you should create a plain stat 'Player Bets or Player Raises' on the river:



3. And then create an expression using that stat:
WonHandAtSDCases(Bet or Raise River) / WentToSDCases(Bet or Raise River) * 100




5. If you need to create the WWSF stat after these actions, then use this expression:

WonHandCases(Bet or Raise River) / Cases(Bet or Raise River) * 100


Please note that you have to create plain stats and expressions separately, you cannot put an expression inside a plain stat.

Could you take a look at our guide for creating custom stats:​
https://hand2note3.hand2note.com/Hel...omStats/Plain/
https://hand2note3.hand2note.com/Hel...ts/Expression/
Help for creating expression from custom stat in PT4 Quote

      
m