OPEN-SOURCE SCRIPT

Custom Volatility Strategy

Updated
The TTM Squeeze Indicator is a popular technical analysis tool designed to identify periods of consolidation and potential breakout points in the market. It helps traders recognize when a market is "squeezing" into a narrow range and about to make a significant move, either up or down.

How the TTM Squeeze Works:
Volatility Component (Bollinger Bands and Keltner Channels):

The TTM Squeeze is based on the relationship between Bollinger Bands (BB) and Keltner Channels (KC).
A "squeeze" occurs when the Bollinger Bands contract and move inside the Keltner Channels, indicating low volatility.
When the Bollinger Bands expand beyond the Keltner Channels, it signals the end of the squeeze and a potential start of a trending move.
Momentum Component:

The indicator uses a histogram to show the direction and strength of momentum.
Positive bars on the histogram indicate bullish momentum, while negative bars indicate bearish momentum.
Dots on the Zero Line:

Red dots: The market is in a squeeze (low volatility).
Green dots: The squeeze is released (increased volatility).
Release Notes
Updates in the script
Release Notes
Updates in the script
Bands and Channels

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer