OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
Changed the time band colour to green for better visibility Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.