Zerodha scanner not accepting my code

SET HC = (OPEN+HIGH+LOW+CLOSE)/4
SET HO = (REF(OPEN,1) + REF(CLOSE,1))/2
RSI (CLOSE, 8) > EMA(RSI (CLOSE,8),21)
AND
HC>MAXOF(REF(HO,1),REF(HO,2))
AND
MACD(5, 35, 9, SIMPLE) > MACDSignal(5, 35, 9, SIMPLE)
AND
HC>HO
AND
HC> EMA(CLOSE,7)

In back testing it is working fine… but when I put in scanner it generate error.
Any help would be appreciated

Multiple SET conditions not supported on the Pi Scanner due to a bug.