Two crossovers at the same time... I will suggest to use only 1, and the other condition to be <. So you will have:
Condition 1: MA8 x< MA21
Condition2: MA8 < MA55
If MA8 is < than MA55 now, it crossed it below somewhere in the past candles for sure, otherwise MA8 would be above MA55.