OPEN-SOURCE SCRIPT
TTM SQUEEZE with ALERT by NM

// ######################################################################################
// This script was created because the original TTM Squeeze script
// did trigger when only one of the Bollinger Bands was
// in the Keltner channel. It now gives the option to use it as was
// or to force it to only give a signal when both BB are in the Keltner channels
//
// Furthermore an alert was added to fire when we are squeezing
// no matter which option your choose (original or strict)
//
// To create an alert, click on the alerts in the right column on your screen
// then click on the +button to add an alert.
// Select from the conditions "CTTV Squeeze" and "Once per bar close"
// Keep in mind that you set this alert for one instrument and one particular time frame
//
// If you would have any questions, contact me :
// TradingView : @Nico.Muselle
// ######################################################################################
How to start using this script ?
1. Add this script to your favorites
2. Click on the Indicator-button on the top bar of your chart
3. Click on Favorites and find CTTV TTM
Do also check out my other indicators :
PS : Sorry about the messy chart - Bottom indicators show the TTM Squeeze, top one being the original posted here, bottom one being the more strict option.
// This script was created because the original TTM Squeeze script
// did trigger when only one of the Bollinger Bands was
// in the Keltner channel. It now gives the option to use it as was
// or to force it to only give a signal when both BB are in the Keltner channels
//
// Furthermore an alert was added to fire when we are squeezing
// no matter which option your choose (original or strict)
//
// To create an alert, click on the alerts in the right column on your screen
// then click on the +button to add an alert.
// Select from the conditions "CTTV Squeeze" and "Once per bar close"
// Keep in mind that you set this alert for one instrument and one particular time frame
//
// If you would have any questions, contact me :
// TradingView : @Nico.Muselle
// ######################################################################################
How to start using this script ?
1. Add this script to your favorites
2. Click on the Indicator-button on the top bar of your chart
3. Click on Favorites and find CTTV TTM
Do also check out my other indicators :
- Percentage change -

- Power Moving Average Pro - (use Moving Averages of higher time frames on lower time frame charts) -

- Power Moving Average - (use 1 moving average of a higher time frame on the current time frame) -

- BitFinex Longs vs. Shorts -

- Relative Strength Index Direction -

- Reversal Candles -
![[NM] Reversal Candles v01](https://s3.tradingview.com/s/sQcoF9i6_mid.png)
- EMADiff -
![[NM] EMADiff v01 - an indicator for everyone !](https://s3.tradingview.com/u/UbdP6RvN_mid.png)
- Improved Linear Regression Bull and Bear Power v02 -
![[NM]Improved Linear Regression Bull and Bear Power v02](https://s3.tradingview.com/g/GQZct22g_mid.png)
- Improved Linear Regression Bull and Bear Power v01 -
![[RS][NM]Improved Linear Regression Bull and Bear Power v01](https://s3.tradingview.com/4/4X2icV1L_mid.png)
PS : Sorry about the messy chart - Bottom indicators show the TTM Squeeze, top one being the original posted here, bottom one being the more strict option.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Check out my FREE indicator scripts:
► tradingview.com/u/Profit_Through_Patience/
► tradingview.com/u/Profit_Through_Patience/
Exención de responsabilidad
La información y las publicaciones no pretenden ser, ni constituyen, asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Check out my FREE indicator scripts:
► tradingview.com/u/Profit_Through_Patience/
► tradingview.com/u/Profit_Through_Patience/
Exención de responsabilidad
La información y las publicaciones no pretenden ser, ni constituyen, asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.