EMA – 9 and 21.
RSI – 20 BUY
and RSI - 80 SELL
EMA – 9 and 21.
RSI – 20 BUY
and RSI - 80 SELL
As per the above query your condition is not clear , you can customize according to requirement
Buy Script:
CROSSOVER(EMA(CLOSE,9),EMA(CLOSE,21)) AND RSI(CLOSE,14) > 20
Sell Script:
CROSSOVER(EMA(CLOSE,21),EMA(CLOSE,9)) AND RSI(CLOSE,14) < 80
please brief your condition clearly…