Coding for EMA 8 and RSI 14 needed

 

Hi,

Need Help

Can any one code template / EA for following conditions.

Buy = EMA 8, Close > EMA 8 , Open + RSI (14) in Uptrend + RSI (14) >=50

Sell = EMA 8, Close < EMA 8 , Open + RSI (14) in Downtrend + RSI (14) <=50


Pl. see attached files


No SL and TP, Buy Exit = Sell, Sell Exit = Buy

Thanks in advance.
Files:
Buy.JPG  183 kb
Sell.JPG  196 kb