Please help me with this code to Screeer for an hour
C1=Close>EMA20 and EMA50 and EMA200
c2=EMA20>EMA50 and EMA200
c3=EMA50>EMA200
Screener[C1 and C2 and C3 ]
Your code is fine for any timeframe.
What will make it to not work correctly is the use of a number of periods exceeding the limit, which is 256 bars with IG.
A 200-period EMA actually requires twice+ that number of bars to perform correct calculation, but the limit is 256, as I said.
I suggest that you either use roughly 80 periods or resort to a 200-period SMA.