What is wrong with this streak code?

newtrader101

Well-Known Member
#1
Close(-1)
lower than
Open(-1)

and

Close(0)
higher than
Open(0)
and

Close(0)
higher than equal to
Open(-1)
and

Open(0)
lower than equal to
Close(-1)

and
Close(-1)
higher than
EMA(close, 200, -1)

Strategy:
LONG ENTRY ON 1 HOUR when
Color-changing Engulfing candle (previous red, current green
When above 200 EMA

It did not give any entry signal for past year on USDINR for 1 hour chart backtest.