OPEN-SOURCE SCRIPT
Diupdate Bollinger Squeeze Alert - NY Open Window

This indicator identifies a **Bollinger Squeeze** condition where the Bollinger Bands contract inside the Keltner Channel.
A squeeze usually means the market is in a low-volatility compression phase. This can sometimes happen before a larger volatility expansion or breakout move.
This script is designed especially for traders who want to monitor squeeze conditions around the **New York market open**.
### What this indicator does
The indicator checks whether:
**Bollinger Upper Band is below Keltner Upper Channel**
and
**Bollinger Lower Band is above Keltner Lower Channel**
When both conditions are true, the Bollinger Bands are fully inside the Keltner Channel, meaning a squeeze is active.
The script also includes a time filter so alerts only trigger during the selected New York open window.
Default alert window:
**8:30 AM to 10:30 AM New York time**
### Main features
* Detects active Bollinger Squeeze conditions
* Uses Bollinger Bands and Keltner Channels together
* Includes a New York time-based alert window
* Highlights the chart background when a valid squeeze is active
* Provides alert options for:
* Squeeze active during the NY open window
* New squeeze starting during the NY open window
* Works on futures, indices, stocks, ETFs, and other instruments
### Suggested use
This indicator can be useful for traders who monitor compression before volatility expansion, especially near the US market open.
For example, on ES futures, a trader may use this to identify when the market is compressed between **8:30 AM and 10:30 AM New York time** and then watch for a possible breakout or volatility expansion.
### Important note
This indicator does not predict direction.
It only identifies volatility compression.
A squeeze can break upward, downward, or fail completely. It should be combined with price action, volume, market context, trend, support/resistance, and proper risk management.
### Disclaimer
This script is for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any security, futures contract, or option. Trading involves risk, and past performance does not guarantee future results. Always do your own research and manage risk carefully.
A squeeze usually means the market is in a low-volatility compression phase. This can sometimes happen before a larger volatility expansion or breakout move.
This script is designed especially for traders who want to monitor squeeze conditions around the **New York market open**.
### What this indicator does
The indicator checks whether:
**Bollinger Upper Band is below Keltner Upper Channel**
and
**Bollinger Lower Band is above Keltner Lower Channel**
When both conditions are true, the Bollinger Bands are fully inside the Keltner Channel, meaning a squeeze is active.
The script also includes a time filter so alerts only trigger during the selected New York open window.
Default alert window:
**8:30 AM to 10:30 AM New York time**
### Main features
* Detects active Bollinger Squeeze conditions
* Uses Bollinger Bands and Keltner Channels together
* Includes a New York time-based alert window
* Highlights the chart background when a valid squeeze is active
* Provides alert options for:
* Squeeze active during the NY open window
* New squeeze starting during the NY open window
* Works on futures, indices, stocks, ETFs, and other instruments
### Suggested use
This indicator can be useful for traders who monitor compression before volatility expansion, especially near the US market open.
For example, on ES futures, a trader may use this to identify when the market is compressed between **8:30 AM and 10:30 AM New York time** and then watch for a possible breakout or volatility expansion.
### Important note
This indicator does not predict direction.
It only identifies volatility compression.
A squeeze can break upward, downward, or fail completely. It should be combined with price action, volume, market context, trend, support/resistance, and proper risk management.
### Disclaimer
This script is for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any security, futures contract, or option. Trading involves risk, and past performance does not guarantee future results. Always do your own research and manage risk carefully.
Catatan Rilis
Changed the time band colour to green for better visibility Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.