I've completely lost track with those images, it looks like they are from different files as they appear
One thing present through out the all looks to be that your are testing the traded volume at a price from 2 seconds ago - that won't work for what you want.
For example if a price is trading near the top or the bottom of a range, there could be £100 traded at the current ltp, it might then move 2 ticks in 2 secs with less than £50 matched in the process and traded amount at the current ltp might be over £3000 which would cause your alert to trigger.
Other issues would be if a big bet arrives and wipes out several prices you'll be testing the final amounts matched at the last traded price which could be just a few quid against several hundred or even thousand from what's been traded at a price 2 secs ago and your alert won't triggered despite it being a large bet
You just need to be testing the selections traded volume against what it was 'X' seconds ago, there's two examples here which you could start with
viewtopic.php?f=66&t=16237
viewtopic.php?f=66&t=16754