OPEN-SOURCE SCRIPT
BB Squeeze Screener 15M

Purpose: Detects Bollinger Band squeeze conditions across symbols/timeframes for fast scanning in the TradingView Screener. Default timeframe = 15m, but can be duplicated for 1h / 4h / 1D columns.
How it works: computes a normalized BB width, compares it to its SMA and flags when width falls below the configured threshold (squeeze ON). Output = 1 (squeeze) or 0 (no squeeze).
Inputs: Timeframe, BB Length, SMA Length, Threshold. Use separate columns per timeframe for multi‑TF scanning.
Usage: Publish the script, add it as a Screener column, then filter for =1 and combine with Vol 24h / Market Cap filters to reduce noise. Good workflow: Mode = 15m (intraday), 1h (swing), 4h/1D (higher‑TF confirmations).
Notes: This is a volatility filter (not directional). Combine with momentum/volume filters or a breakout rule for entries. Backtest rules on your watchlist before live use.
Disclaimer: Educational tool only — not financial advice. Use proper risk management.
How it works: computes a normalized BB width, compares it to its SMA and flags when width falls below the configured threshold (squeeze ON). Output = 1 (squeeze) or 0 (no squeeze).
Inputs: Timeframe, BB Length, SMA Length, Threshold. Use separate columns per timeframe for multi‑TF scanning.
Usage: Publish the script, add it as a Screener column, then filter for =1 and combine with Vol 24h / Market Cap filters to reduce noise. Good workflow: Mode = 15m (intraday), 1h (swing), 4h/1D (higher‑TF confirmations).
Notes: This is a volatility filter (not directional). Combine with momentum/volume filters or a breakout rule for entries. Backtest rules on your watchlist before live use.
Disclaimer: Educational tool only — not financial advice. Use proper risk management.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.