How to set up a scanner for 55 day channel breakout for all FNO stocks

I want to set up a scanner which would scan all FNO stocks and show results for stocks breaking out of 55 day price channel

Thanks in advance

hElLO tRaDeR,

The Pi scanner is very much suited for scanning intraday candles. 

The Tradescript code for your requirement is, which ideally should work ( but has not been generating results on my scanner, please try it and update me)

SCRIPT:

HIGH = HHV(55)

Scanner Settings:

Periodicity = Hour

Bar Interval = 8

Days = 60

The is no predefined list for the full entire FnO stocks yet, you can load in the NIFTY50 list first and add the remaining manually on the same scanner.