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 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.
Check out my FREE indicator scripts:
► tradingview.com/u/Profit_Through_Patience/
► tradingview.com/u/Profit_Through_Patience/
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.
Check out my FREE indicator scripts:
► tradingview.com/u/Profit_Through_Patience/
► tradingview.com/u/Profit_Through_Patience/
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.