Thanks for the reply.
Can you please clarify an example of exactly what stat you want to build?
This is want I want.
Vs a 3 bet when open raised
EP Fold to 3Bet from blinds
EP Fold to 3Bet from ip
MP Fold to 3Bet from blinds
MP Fold to 3Bet from ip
CO Fold to 3Bet from blinds
CO Fold to 3Bet from ip
BTN Fold to 3Bet from blinds
SB Fold to 3Bet from ip
EP Call to 3Bet from blinds
EP Call to 3Bet from ip
MP Call to 3Bet from blinds
MP Call to 3Bet from ip
CO Call to 3Bet from blinds
CO Call to 3Bet from ip
BTN Call to 3Bet from blinds
SB Call to 3Bet from ip
EP 4Bet vs blinds
EP 4Bet vs ip
MP 4Bet vs blinds
MP 4Bet vs ip
CO 4Bet vs blinds
CO 4Bet vs ip
BTN 4Bet vs blinds
SB 4Bet vs ip
You can display any stat by position in the HUD using HUD Properties, so you don't need a custom stat for "by position", to check for "cash_hand_player_statistics.position = 0" for example.
Because this is the first time I use PT4 and PT4 syntax so I dont know much about it, I was thinking that first I need to know if they open raised in a specific position so I can use that later with fold, call or raise.
I saw that you could set position in the hud profile but when I looked in columns I only found cnt_p_rfi_btn, cnt_p_rfi_ep so I created cnt_p_rfi_co, cnt_p_rfi_mp, cnt_p_rfi_ep.
Did you find out about the SUM(if[ xxx, 1, 0 ]) construct? That is described in the tutorial that Kraada linked you to.
Yea I saw it its a if then else expression.
I found this column for example.
cnt_p_3bet_def_action_fold_when_open_raised_ip
Number of times player folded to a 3bet when having open raised and in position on the player who made the 3bet.
Sounds like what I need for my rfi then fold to 3bet from ip.
sum(if[char_length(cash_hand_summary.str_aggressors_p) >= 3 and cash_hand_player_statistics.enum_p_3bet_action='F' AND cash_hand_player_statistics.flg_p_first_raise AND
substring(cash_hand_summary.str_aggressors_p from 3 for 1)::int >
cash_hand_player_statistics.position, 1, 0])
I want to re edit this for EP Fold to 3Bet from ip.
But I dont have a guide so I dont know what these mean.
cash_hand_summary.str_aggressors_p
cash_hand_player_statistics.enum_p_3bet_action='F'
cash_hand_player_statistics.flg_p_first_raise
substring(cash_hand_summary.str_aggressors_p from 3 for 1)::int
So its hard to use it and re edit the column.
So by useing cash_hand_player_statistics.position=3 will this be valid for EP?
sum(if[char_length(cash_hand_summary.str_aggressors_p) >= 3 and cash_hand_player_statistics.enum_p_3bet_action='F' AND cash_hand_player_statistics.flg_p_first_raise AND
substring(cash_hand_summary.str_aggressors_p from 3 for 1)::int >
cash_hand_player_statistics.position=3, 1, 0])