I want to limit exits in 1 hour bar

I want to set limits for exits for same 1 hour bar. My strategy uses high and low to generate signals.but i got no of signals in same bar. So i want to restrict no of exits not more than 1 for 1 hour bar. PleASE GUIDE.