Hi, How do you code a pullback that you limit a number of bearish candles? I looked in the library but can’t find anything I could modify… Say, I look for stocks to trend above 20EMA then pulls back. Here, I want at least two red candles down but no more than five. And how can I identify that swing high? I’d like to enter when this pullback breaks that swing high. Thank you.