14&21EMA crosover abov 3&7EMA crosover for bullish and 14&21EMA crosover below 3&7EMA crosover for berish pls give code

As per the above given condition

Buy Script:

CROSSOVER(EMA(CLOSE,14),EMA(CLOSE,3)) AND CROSSOVER(EMA(CLOSE,21),EMA(CLOSE,7))

Sell Script:

CROSSOVER(EMA(CLOSE,3),EMA(CLOSE,14)) AND CROSSOVER(EMA(CLOSE,7),EMA(CLOSE,21))