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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.