How to do a simple filter

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

How to do a simple filter

Postby andees10 » Sun Aug 05, 2018 7:20 pm

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
andees10
 
Posts: 20
Joined: Thu Jan 05, 2017 8:32 pm

Re: How to do a simple filter

Postby Flag_Hippo » Mon Aug 06, 2018 4:41 am

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.
Flag_Hippo
Moderator
 
Posts: 12792
Joined: Tue Jan 31, 2012 7:50 am

Re: How to do a simple filter

Postby MOUSE85 » Fri Jan 22, 2021 9:28 pm

Thank You
MOUSE85
 
Posts: 3
Joined: Fri Aug 12, 2016 11:55 pm

How to filter my position and villain

Postby yukihiro_ogawa » Wed Dec 01, 2021 10:16 pm

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! :(
yukihiro_ogawa
 
Posts: 8
Joined: Wed Dec 01, 2021 12:57 pm

Re: How to filter my position and villain

Postby Flag_Hippo » Thu Dec 02, 2021 1:25 pm

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.
Flag_Hippo
Moderator
 
Posts: 12792
Joined: Tue Jan 31, 2012 7:50 am

Re: How to do a simple filter

Postby yukihiro_ogawa » Fri Dec 03, 2021 3:20 am

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.
yukihiro_ogawa
 
Posts: 8
Joined: Wed Dec 01, 2021 12:57 pm

Re: How to do a simple filter

Postby yukihiro_ogawa » Fri Dec 03, 2021 3:57 am

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?
yukihiro_ogawa
 
Posts: 8
Joined: Wed Dec 01, 2021 12:57 pm

Re: How to do a simple filter

Postby Flag_Hippo » Fri Dec 03, 2021 6:55 am

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.
Flag_Hippo
Moderator
 
Posts: 12792
Joined: Tue Jan 31, 2012 7:50 am

Re: How to do a simple filter

Postby yukihiro_ogawa » Fri Dec 03, 2021 10:38 am

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.
Attachments
スクリーンショット 2021-12-03 23.26.47.png
スクリーンショット 2021-12-03 23.26.17.png
yukihiro_ogawa
 
Posts: 8
Joined: Wed Dec 01, 2021 12:57 pm

Re: How to do a simple filter

Postby Flag_Hippo » Fri Dec 03, 2021 11:54 am

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'
Flag_Hippo
Moderator
 
Posts: 12792
Joined: Tue Jan 31, 2012 7:50 am

Next

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 3 guests

cron
highfalutin