Page 1 of 2

How to do a simple filter

PostPosted: Sun Aug 05, 2018 7:20 pm
by andees10
I'm trying to make a filter for when I RFI in position and get called by just the big blind. I can't figure it out. Also, is there any place I can get a PT4 filter tutorial? Thanks

Re: How to do a simple filter

PostPosted: Mon Aug 06, 2018 4:41 am
by Flag_Hippo
There isn't a simple filter you can use for the position of callers but you can do this in a custom report with an expression filter like this:

Code: Select all
cash_hand_summary.str_aggressors_p LIKE '80' and cash_hand_summary.str_actors_p LIKE '08'

You can use this expression filter by clicking on the filters link and selecting 'Add New Expression Filters' (substitute 'cash' with 'tourney' if you are in a tournament report). This particular filter is for a BTN raise/BB call and this post has more information on how the actors and aggressors strings work if you want to filter for different situations. Note that this filter does not specify Hero is on the button so you will need to add a simple filter for your own position or add that to the expression filter using cash_hand_player_statistics.position = 0.

Re: How to do a simple filter

PostPosted: Fri Jan 22, 2021 9:28 pm
by MOUSE85
Thank You

How to filter my position and villain

PostPosted: Wed Dec 01, 2021 10:16 pm
by yukihiro_ogawa
Flag_Hippo wrote:There isn't a simple filter you can use for the position of callers but you can do this in a custom report with an expression filter like this:

Code: Select all
cash_hand_summary.str_aggressors_p LIKE '80' and cash_hand_summary.str_actors_p LIKE '08'

You can use this expression filter by clicking on the filters link and selecting 'Add New Expression Filters' (substitute 'cash' with 'tourney' if you are in a tournament report). This particular filter is for a BTN raise/BB call and this post has more information on how the actors and aggressors strings work if you want to filter for different situations. Note that this filter does not specify Hero is on the button so you will need to add a simple filter for your own position or add that to the expression filter using cash_hand_player_statistics.position = 0.




Sorry for the content that has already been given.
I would like to extract a specific spot using PT4 and study it with wizard.
I would like to see not only the results but also the replay of the hand. Simple filter does not allow me to extract the hand, so please tell me how to do it, so that a PT4 beginner can understand...


The following is what I want to extract.
・BTN(hero) vs BB(villain) [SRP]
・BB(hero) vs BTN(villain) [SRP]

・BTN(hero) vs SB(villain) [3bet pot]
・SB(hero) vs BTN(villain) [3bet pot]

・UTG(hero) vs BTN(villain) [SRP]
・BTN(hero) vs UTG(villain) [SRP]

・UTG(hero) vs BB(villain) [SRP]
・BB(hero) vs UTG(villain) [SRP]

・SB(hero) vs BB(villain) [SRP and 3bet pot]
・BB(villain) vs SB(hero) [SRP and 3bet pot]

・BTN(hero) vs CO(villain) [3bet pot]
・CO(hero) vs BTN (villain) [3bet pot]

・BTN(hero) vs UTG(villain) [3bet pot]
・UTG(hero) vs BTN(villain) [3bet pot]

I'm sorry that this is a lot, but please help me! :(

Re: How to filter my position and villain

PostPosted: Thu Dec 02, 2021 1:25 pm
by Flag_Hippo
yukihiro_ogawa wrote:I would like to see not only the results but also the replay of the hand.

In PokerTracker 4 go to 'My Reports'. If you want to see your statistics for a set of data then create a 'Player' report and if you want to see/replay individual hands then create a 'Hand Report':

Guide: Creating My Reports

Next click the 'Filters' link, select 'Add New Expression Filters' and you can enter a custom expression filter.
yukihiro_ogawa wrote:The following is what I want to extract.

To build the filters you want you see this post for information on how the actors and aggressors strings work which is what determines the actions in a hand.
yukihiro_ogawa wrote:BTN(hero) vs SB(villain) [3bet pot]

Taking this as an example you are on the button (position 0) and villain is in SB (position 9) so these will be the numbers used in the filter. BTN is always 0, BB is always 8 and SB is always 9 and the other seats numbers are how far off the button that player is:

Guide: Seating In Reports

If BTN 2Bets and SB 3Bets then the aggressors string to test for will be '809'. The aggressors string always starts with the BB posting and the second number is the position of the 2bettor, the third number is the 3bettor and so on.

If BTN 2Bets and SB 3Bets and BTN calls then the actors string will be the order in which each player voluntarily put money in (whether calling or raising) so that would be '090' in this case.

So the custom filter for this spot is:

Code: Select all
cash_hand_summary.str_aggressors_p LIKE '809' and cash_hand_summary.str_actors_p LIKE '090'

Note that this filter does not specify you are the player on the button so you will need to add a built-in filter for your own position or add that to the expression filter using cash_hand_player_statistics.position = 0.

Code: Select all
cash_hand_player_statistics.position = 0 and cash_hand_summary.str_aggressors_p LIKE '809' and cash_hand_summary.str_actors_p LIKE '090'

You will also need to substitute all instances of 'cash' with 'tourney' if you are filtering in a tournament report.

Re: How to do a simple filter

PostPosted: Fri Dec 03, 2021 3:20 am
by yukihiro_ogawa
Thank you for your kindness.
By combining simple filter and advanced filter, I can specify the position x board texture, which makes my study much easier.
It's a waste of time when I was using PT4 only for HUD. I wish I had known about this hand extraction feature earlier.

Re: How to do a simple filter

PostPosted: Fri Dec 03, 2021 3:57 am
by yukihiro_ogawa
I'm sorry for asking so many times.
When specifying "6 max, 6players, UTG(hero) vs BB(villain),SRP", following the rules you mentioned above, I typed 「cash_hand_player_statistics.position = 3 and cash_hand_summary.str_aggressors_p LIKE '83' and cash_hand_summary.str_actors_p LIKE '38'」.
However, with the above conditional expression, I can't extract the hand. What is the problem?

Re: How to do a simple filter

PostPosted: Fri Dec 03, 2021 6:55 am
by Flag_Hippo
That filter is fine. Make sure you are not using any previous expression filters alongside this one and that you don't have conflicting built-in filters active otherwise please attach a screenshot of your entire PokerTracker 4 report window with all filters visible.

Re: How to do a simple filter

PostPosted: Fri Dec 03, 2021 10:38 am
by yukihiro_ogawa
I attached screenshots.We have confirmed that the following formulas work without problems.

・BTN(hero) vs BB(villain) [SRP]
cash_hand_player_statistics.position = 0 and cash_hand_summary.str_aggressors_p LIKE '80' and cash_hand_summary.str_actors_p LIKE '08'

・BB(hero) vs BTN(villain) [SRP]
cash_hand_player_statistics.position = 8 and cash_hand_summary.str_aggressors_p LIKE '80' and cash_hand_summary.str_actors_p LIKE '08'

・BTN(hero) vs SB(villain) [3bet pot]
cash_hand_player_statistics.position = 0 and cash_hand_summary.str_aggressors_p LIKE '809' and cash_hand_summary.str_actors_p LIKE '090'

・SB(hero) vs BTN(villain) [3bet pot]
cash_hand_player_statistics.position = 9 and cash_hand_summary.str_aggressors_p LIKE '809' and cash_hand_summary.str_actors_p LIKE '090'


However, not only UTG vs BB, but also SB vs BB is not working.


I have one more question, how should I express cold call?
Pleaze tell me about conditional expression for SRP for BTN vs CO as an example.

Re: How to do a simple filter

PostPosted: Fri Dec 03, 2021 11:54 am
by Flag_Hippo
yukihiro_ogawa wrote:I attached screenshots.

All the numbers need to be enclosed in single quotes but in your screenshot it looks like two types of characters are being used:

exp.PNG

Does it look like this in the filters that work?

yukihiro_ogawa wrote:I have one more question, how should I express cold call?
Pleaze tell me about conditional expression for SRP for BTN vs CO as an example.

CO open raising and BTN calling would be:

Code: Select all
cash_hand_summary.str_aggressors_p LIKE '81' and cash_hand_summary.str_actors_p LIKE '10'

highfalutin