Help me with Crossover EMA 3 Ema10 Ema20, Buy - EMA 3 & Ema10 will cross Ema20, Sell- EMA 3 Ema10 will cross below Ema20

As per the above condition

Buy Script:

CROSSOVER(EMA(CLOSE,3),EMA(CLOSE,20)) AND CROSSOVER(EMA(CLOSE,10),EMA(CLOSE,20))

Sell Script:

CROSSOVER(EMA(CLOSE,20),EMA(CLOSE,3)) AND CROSSOVER(EMA(CLOSE,20),EMA(CLOSE,10))