OPEN-SOURCE SCRIPT

Pivot Squeeze Indicator

356
The Pivot Squeeze Indicator is an oscillator that identifies when markets are "squeezed" between recent pivot highs and lows, then signals when they're ready to make their next big move.

How it Works
The indicator calculates the percentage distance between the current price and the most recent pivot high vs. pivot low. When this distance gets compressed (small), the market is "squeezed" and building energy. When it expands rapidly, you get your breakout signal.
The indicator adapts to current market volatility using four different modes:
- ATR-Based
- Bollinger Bands
- Keltner Channels
- Fixed %

What to Look For
🟠 Orange Background = Squeeze Zone

Market is compressed between recent pivots
Low volatility, building pressure

🟢 Green Breakout = Bullish Signal

Price breaking out above recent highs
Momentum shifting upward
Time to look for long opportunities

🔴 Red Breakout = Bearish Signal

Price breaking down below recent lows
Momentum shifting downward
Time to look for short opportunities

Using Histogram Colors:

Green bars = Bullish territory (closer to recent highs)
Red bars = Bearish territory (closer to recent lows)
Orange bars = Squeeze conditions (compressed between pivots)

Using MA Line:
When Histogram bars cross below or above MA Line in opposite direction, it might be good time to exit.

Default Settings: ATR-based thresholds with 14-period lookback - works great out of the box, but feel free to experiment with the different threshold modes to find what works best for your trading style! Recommended to use with other indicators to confirm signals

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.