Intraday trading strategy in combination

I have made an ea to trade intraday in combination of adx, rsi, macd, stochastic, golden crossover, 5-10 ema crossover. kindly verify the code is correct or not

BUY SCRIPT
ADX(14) > 20 and DIP(14) > 20 AND RSI(CLOSE, 14) > 40 AND REF(MACDSignal(13, 26, 9, SIMPLE), 1) < REF(MACD(13, 26, 9, SIMPLE), 1) AND MACDSignal(13, 26, 9, SIMPLE) < MACD(13, 26, 9, SIMPLE) AND crossover(sma(close,50),sma(close,200)) AND CROSSOVER(EMA(CLOSE,5),EMA(CLOSE,10))
SELL SCRIPT
ADX(14) > 20 and DIN(14) > 20 AND RSI(CLOSE, 14) < 40 AND REF(MACDSignal(13, 26, 9, SIMPLE), 1) > REF(MACD(13, 26, 9, SIMPLE), 1) AND MACDSignal(13, 26, 9, SIMPLE) > MACD(13, 26, 9, SIMPLE) AND crossover(sma(close,200),sma(close,50)) AND CROSSOVER(EMA(CLOSE,10),EMA(CLOSE,5))

I have applied it on couple of script of equity cash and currency futures but not got single alert. Is the ea too much tight. Kindly anyone tell me which will be the correct combination for intraday trade

1 Like

The EA looks fine to me. However it is unlikely to trigger too many alerts because of golden crossover, which happens rarely.I don’t know what time-frame you are using, but usually two pairs of EMA crossovers are very rare(SMA50 crossing SMA200, and at the same time EMA5 crossing EMA10). My suggestion is change the EMA crossover to EMA condition: EMA(CLOSE,5)>EMA(CLOSE,10). That will probably give you more frequent alerts. I am assuming that you are using a 5-minute chart.

Thanks. I will try it

I took your conditions, and created a template in Kite. My guess is 10-min charts work best from what I saw in several stock charts

what is the correct code for above mentioned code by dibmon2012

Hi,

Can you please share the both scripts