Currently we check on each candle if the conditions are met. If this is the case, we pass the order.
If we have a candle
(current) that meets the conditions, we will also look at the new condition.
With this new condition we will look at the candle -1; -2; - 3 ... if there was an intersection and if this intersection met or not the conditions.
there had been an intersection on a previous candle and this intersection did not meet the conditions then the order is not passed on the
If there was no intersection on the previous candles, the order is passed on the current candle.
If there had been an
intersection on a previous candle that met the conditions then we place the order on the current candle.