Code for scan consolidation zone

Request you to provide code for number of stocks I can scan Extrime nerro trading range out of my stock

With the help of bolinger bands 

list

The Example of of Bolinger band are

CLOSE > BBT(CLOSE, 20, 2, EXPONENTIAL) OR CLOSE > BBM(CLOSE, 20, 2, EXPONENTIAL) OR CLOSE > BBB(CLOSE, 20, 2, EXPONENTIAL)

your condition is not clear please change Bolinger band parameters/ values according to your condition.