Like if A is or was true for some period of time then check conditions B
if condition B is true then enter trade.
What I am looking for is that condition A no longer needs to be true in order to look at condition B, it just has to have happened within some look back period.
Thanks for any suggestions. I would be curious to know maybe a few ways to go about this.

Comment