I need to check if a signal has come in exact 2 days / 2 sessions or not.
So it's simple to check the count of signals using
Sum(Ref(Buy,-1),750)
750 being the the count of 1 minute bars in 2 days (2 sessions). However, not all symbols trade for all those 750 bars. So it is prone to calculate for more than 2 days / 2 sessions.