Hi, I’m trying to scan that N number of consecutive candles are bullish and above 20EMA. I used a forloop to scan and I’m not getting a correct result. Can someone please tell me if you see a problem with my code? or is there other way to code it? Thank you.