Sup guys?
So today I wanna make a 3bet blind vs blind stat for 3bs and nai. So for 3bs I want any sizing that is greater than 40% of the effective stack sizes to count as a 3bet shove while anything lower than 40% is a 3bet nai. additionally I want it the stat to only count vs sizings that are 4.5x or lower. The stats should also be for diff stack sizes so I need to know how to decide the effective stack size of the small blind and the big blind.
Last of all its very important that the stat only counts for blind vs blind meaning if its 3handed the button must have folded pre.
How do I write this code? PS: I have experience with making more simple stats in the past just that this one is a bit more complicated so just the code of one of the columns and its counter column should be enough as explaination.