Squeeze Momentum with Divergence

1 900
Squeeze Momentum Divergence is a modified version of the open-source “Squeeze Momentum Indicator [LazyBear]” originally published by LazyBear on TradingView.

Original indicator by LazyBear:
Squeeze Momentum Indicator [LazyBear]


The original indicator uses Bollinger Bands, Keltner Channels, and a linear-regression momentum histogram to identify squeeze conditions and momentum direction.

This version keeps the core squeeze momentum logic and adds a custom divergence-detection system. The indicator can detect regular bullish divergence, regular bearish divergence, hidden bullish divergence, and hidden bearish divergence between price and the squeeze momentum value.

Main additions in this version:
- Updated and restructured for Pine Script v6
- Regular bullish and bearish divergence detection
- Hidden bullish and bearish divergence detection
- Divergence lines in the indicator pane
- Optional divergence labels and lines on the price chart
- Signal line for momentum smoothing
- Alerts for bullish divergence, bearish divergence, squeeze start, and squeeze release

Credit:
The original Squeeze Momentum Indicator was created by LazyBear. This version adds custom divergence logic, additional visual tools, and alert conditions while keeping proper attribution to the original author.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.