Sideways trend high breakout code

Hi @Streak

My requirement is to create a scanner to find stocks that were sideways/consolidating in the last few candles and a candle crosses above the highest high of the consolidated candles. How to write this?

Hi @Aayush_Chauhan247

I have created a scanner that will scan for stocks that are in a range for the last 20 candles and the current candle is higher than the highest high created in that range.

Click on the below link to view the scanner conditions.

Hope this helps.

Thanks !! Will deploy this for tomorrow