Filter for relative position?

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Re: Filter for relative position?

Postby tennishepcat » Fri Oct 25, 2013 3:36 pm

Is it equally as difficult getting this filter preflop?

The scenario I am interested in are the bubble stages for sit n go's, where I am facing an all in and am last to act.
tennishepcat
 
Posts: 6
Joined: Tue Dec 30, 2008 3:39 am

Re: Filter for relative position?

Postby BillGatesIII » Fri Oct 25, 2013 4:19 pm

I think it works :) In my previous post, only closing the action out of position to the last raiser was filtered. In the expression below I added in position filtering as well. The expression looks a little messy though :mrgreen:

Please keep in mind it only filters the last possibility to close the action. So for example, if you're the button and on the flop the SB checks and the CO bets, you cannot close the action because the SB has to act behind you. Then, if you call the bet of the CO and the SB raises and the CO calls or folds, you will be able to close the action. So this hand will go through the filter. Don't know if that's what you want? And there is no check for all in players.

Code: Select all
position = coalesce(
  (select min(chps.position)
   from cash_hand_player_statistics chps
   join cash_hand_summary chs on chps.id_hand = chs.id_hand
   where chs.id_hand = cash_hand_player_statistics.id_hand
   and chps.flg_f_saw
   and chs.cnt_players_f >= 3
   and char_length(chs.str_aggressors_f) >= 1
   and chps.position > substring(chs.str_aggressors_f from '.$')::int),
  (select min(chps.position)
   from cash_hand_player_statistics chps
   join cash_hand_summary chs on chps.id_hand = chs.id_hand
   where chs.id_hand = cash_hand_player_statistics.id_hand
   and chps.flg_f_saw
   and chs.cnt_players_f >= 3))
BillGatesIII
 
Posts: 740
Joined: Fri Dec 16, 2011 6:50 pm

Re: Filter for relative position?

Postby kraada » Fri Oct 25, 2013 4:24 pm

That is messy but looks like it should work :)
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Previous

Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 29 guests

cron