I need a Tradescript code for Bollinger Squeeze on any Stock . The squeeze must be 4 or less than 4 . The code must identify a Stock that closed with this squeeze on the previous day or a Stock that is in the squeeze limit on the current day .
Multi-day squeeze cannot be identified; only intraday signals can be generated using Tradescript code.
REF ( BBT ( CLOSE, 20, 2, SIMPLE ) , 1 ) < REF ( KCT ( 20, SIMPLE, 1.5 ) , 1 )