Well, I'm not sure that I will recommend to use these divergence blocks. The truth is that I made them somewhere in 2011 or 2012 and they remained the same since them, even I don't know how they work now 🙂
Otherwise you can play with some Variables and giving some state of the strategy that way. Let's say you have one variable with type "int", such variable can have any integer value - 0, 1, 2, 3... - you decide which number means what. Those Flags block are pretty much the same thing, so you decide. I guess you need to need to reset the Variable/Flag after certain number of candles. So, what if you actually use a Variable that is from type "datetime" and you store the Time of the event in it? Then you can compare that time with the current time and decide whether the signal was too old or not.