Price condition: the filter no longer checks whether the close is above or below the 20 EMA. It now uses this high/low state on the 20 EMA, with the EMA taken on High and on Low at the same period and timeframe you set for the fast EMA.
Red condition: the 20 EMA is below the 50 EMA and the state is DOWN. A light red candle (255,160,160) becomes red (200,50,100).
Blue condition: the 20 EMA is above the 50 EMA and the state is UP. A light blue candle (160,200,255) becomes blue (50,150,255).
The 20 vs 50 comparison: this stays as before, using the EMAs of close.
Everything else: unchanged, including the Jurik MACD, EMA 4/50 and standard MACD filter logic. The filter still only recolours those two light colours.