Buy and sell on ema

Dear Sir,

I want to strategy for this condition

time frace 5 min = 1 candle

Buy if price goes above EMA 20,50,100, 135,200 (means price must cross all ema - Crossover)

Sell if price goes below EMA 20,50,100,135,200 (means price must cross all ema - Crossover)

And if I want to use for daily candle also give me strategy.

Sir, this will automatically buy or sell script or I have to do manually, plese guide

1 Like

As per the above condition

Buy Script:

LAST > EMA(CLOSE,20) AND LAST > EMA(CLOSE,50) AND LAST > EMA(CLOSE,100) AND LAST > EMA(CLOSE,135) AND LAST > EMA(CLOSE,200)

Sell Script:

LAST < EMA(CLOSE,20) AND LAST < EMA(CLOSE,50) AND LAST < EMA(CLOSE,100) AND LAST < EMA(CLOSE,135) AND LAST < EMA(CLOSE,200)

 use required time frame, and it gives you signals when the condition matches ,you have to act on the alerts for placing orders, this will not do automatically