BOLLINGER SQUEEZE help me script it.

hi,

the strategy is “bollinger bands squeeze” you might have heard made by john bollinger it uses indicator such as bollinger bands width ,bollinger %b and volume.
OBJECTIVES:
STEP ONE - IDENTIFY THE SQUEEZE
the entry criteria for this is bollinger bands should squeeze you can identify the squeeze from indicator bollinger bands width you might have to alter it a bit to identify the squeeze (on timetotrade web based platform they had a indicator name “minimum in range” and they combined it with bollinger bands width thats how they identified the squeeze )
STEP TWO - THE BREAK OF THE UPPER BANDS
The break of the upper bands could be seen in bollinger bands %b
STEP THREE - HIGHER VOLUME THEN PREVIOUS BARS EITHER ON THE BREAK OF THE UPPER/LOWER BAND OR IMMEDIATELY FOLLOWING THE TWO BARS OF THE BREAK
The volume should be highest of the session or at least should be highest from previous few bar and above average in general in any given time frame this should be either on the break of the upper/lower band