OPEN-SOURCE SCRIPT
Pulse Squeeze Matrix (PSM)

🚀 PULSE SQUEEZE MATRIX [PSM]
The Pulse Squeeze Matrix (PSM), engineered by gunebak4n, is a multi-layer volatility compression and breakout detection framework designed to identify high-probability expansion phases within structurally defined market ranges.
PSM is built on the principle that significant market movement originates from volatility contraction phases where energy accumulates across multiple dimensions simultaneously. By combining Fibonacci-based structural mapping, dual volatility squeeze detection, volume normalization, and momentum scoring, the system isolates compression zones that precede directional expansion.
Unlike conventional squeeze indicators that rely on a single volatility metric, PSM integrates multiple independent compression signals and validates them through volume pressure and trend context to reduce false breakout interpretation.
💡 CORE DESIGN PRINCIPLE
🧭 Multi-Dimensional Market Compression
PSM interprets the market as a layered compression system where price, volatility, and volume converge before expansion. True breakout conditions emerge only when these layers align structurally.
🧬 Structure–Volatility–Flow Interaction Model
The system evaluates three interacting components:
• Structure: Fibonacci-derived equilibrium zones
• Volatility: Bollinger Band width + ATR contraction
• Flow: volume z-score + momentum dynamics
The alignment of these components defines the probability of directional expansion.
💡 KEY FEATURES
📊 Fibonacci Structural Framework
Market structure is mapped using dynamic Fibonacci retracement levels (0.382, 0.5, 0.618) derived from a rolling high–low range. These levels act as probabilistic reaction zones for breakout and reversal behavior.
🧪 Dual Volatility Squeeze Engine
PSM detects compression using:
• Bollinger Band width contraction relative to recent extremes
• ATR suppression below its local mean
A valid squeeze state occurs only when both volatility conditions are simultaneously satisfied.
📦 Volume Z-Score Confirmation Layer
Volume activity is normalized using a z-score model to identify statistically significant participation spikes. Breakouts without volume confirmation are filtered out or downgraded.
📈 Momentum Pressure Scoring
Short-term price changes are smoothed via exponential momentum averaging and normalized against recent volatility of momentum, producing a relative pressure metric rather than absolute direction.
🧠 Breakout Context Filter
Breakout signals are defined as structural crossings of Fibonacci levels adjusted by ATR buffers, ensuring that only volatility-backed expansions trigger signal conditions.
🎨 Regime-Sensitive Candle Dynamics
Candlestick coloring reflects combined regime state:
• Compression regime: squeeze state highlighting
• Bull regime: price above long-term trend baseline
• Bear regime: price below long-term trend baseline
• Momentum intensity modulates transparency to reflect pressure strength
🔬 MATHEMATICAL STRUCTURE
Price displacement:
ΔP(t) = Close(t) − Close(t−1)
Structural range:
R = HighestHigh(n) − LowestLow(n)
Fibonacci levels:
Fₓ = High − R × x
Volatility compression:
BBWidth = (UpperBB − LowerBB) / SMA(Close)
ATR compression condition:
ATR(t) < SMA(ATR, n)
Squeeze condition:
S = (BBWidth in local contraction zone) ∧ (ATR compression)
Volume normalization:
Zv = (Volume − Mean(Volume)) / Std(Volume)
Momentum field:
M(t) = EMA(ΔP, k)
Normalized momentum pressure:
P(t) = M(t) / Mean(|M(t)|)
Breakout conditions:
BullBreak = Close crosses above (F0.382 + ATR buffer)
BearBreak = Close crosses below (F0.618 − ATR buffer)
This structure ensures that breakout signals only occur when structural, volatility, and participation conditions align simultaneously.
🛠️ USAGE FRAMEWORK
1. Volatility Compression Detection
Identify squeeze zones where both ATR and Bollinger Band width contract simultaneously, indicating energy accumulation.
2. Structural Breakout Mapping
Use Fibonacci levels as dynamic equilibrium zones to evaluate breakout validity and directional bias.
3. Volume-Validated Expansion
Prioritize signals where volume z-score exceeds baseline activity thresholds, confirming real participation.
4. Momentum Regime Interpretation
Monitor normalized momentum pressure to assess whether breakouts are sustained or fading.
5. Trend Context Filtering
Align signals with higher-timeframe trend bias (above/below moving average equilibrium) to reduce countertrend noise.
⚙️ SYSTEM CHARACTERISTICS
• Multi-layer volatility compression detection
• Fibonacci-based structural probability mapping
• Volume-normalized confirmation filtering
• ATR-adjusted breakout sensitivity control
• Momentum-regime adaptive interpretation
• Noise-reduced signal architecture across consolidation phases
📌 CREDIT
Pulse Squeeze Matrix (PSM) is developed by gunebak4n as a structural volatility compression and breakout detection framework for TradingView.
The system is designed for identifying statistically significant expansion phases emerging from multi-factor market compression, rather than isolated indicator-driven signals.
⚠️ DISCLAIMER
PSM is a probabilistic analytical model. It does not predict market outcomes or guarantee trading performance. All signals must be interpreted within a disciplined risk management framework and validated with broader market context.
The Pulse Squeeze Matrix (PSM), engineered by gunebak4n, is a multi-layer volatility compression and breakout detection framework designed to identify high-probability expansion phases within structurally defined market ranges.
PSM is built on the principle that significant market movement originates from volatility contraction phases where energy accumulates across multiple dimensions simultaneously. By combining Fibonacci-based structural mapping, dual volatility squeeze detection, volume normalization, and momentum scoring, the system isolates compression zones that precede directional expansion.
Unlike conventional squeeze indicators that rely on a single volatility metric, PSM integrates multiple independent compression signals and validates them through volume pressure and trend context to reduce false breakout interpretation.
💡 CORE DESIGN PRINCIPLE
🧭 Multi-Dimensional Market Compression
PSM interprets the market as a layered compression system where price, volatility, and volume converge before expansion. True breakout conditions emerge only when these layers align structurally.
🧬 Structure–Volatility–Flow Interaction Model
The system evaluates three interacting components:
• Structure: Fibonacci-derived equilibrium zones
• Volatility: Bollinger Band width + ATR contraction
• Flow: volume z-score + momentum dynamics
The alignment of these components defines the probability of directional expansion.
💡 KEY FEATURES
📊 Fibonacci Structural Framework
Market structure is mapped using dynamic Fibonacci retracement levels (0.382, 0.5, 0.618) derived from a rolling high–low range. These levels act as probabilistic reaction zones for breakout and reversal behavior.
🧪 Dual Volatility Squeeze Engine
PSM detects compression using:
• Bollinger Band width contraction relative to recent extremes
• ATR suppression below its local mean
A valid squeeze state occurs only when both volatility conditions are simultaneously satisfied.
📦 Volume Z-Score Confirmation Layer
Volume activity is normalized using a z-score model to identify statistically significant participation spikes. Breakouts without volume confirmation are filtered out or downgraded.
📈 Momentum Pressure Scoring
Short-term price changes are smoothed via exponential momentum averaging and normalized against recent volatility of momentum, producing a relative pressure metric rather than absolute direction.
🧠 Breakout Context Filter
Breakout signals are defined as structural crossings of Fibonacci levels adjusted by ATR buffers, ensuring that only volatility-backed expansions trigger signal conditions.
🎨 Regime-Sensitive Candle Dynamics
Candlestick coloring reflects combined regime state:
• Compression regime: squeeze state highlighting
• Bull regime: price above long-term trend baseline
• Bear regime: price below long-term trend baseline
• Momentum intensity modulates transparency to reflect pressure strength
🔬 MATHEMATICAL STRUCTURE
Price displacement:
ΔP(t) = Close(t) − Close(t−1)
Structural range:
R = HighestHigh(n) − LowestLow(n)
Fibonacci levels:
Fₓ = High − R × x
Volatility compression:
BBWidth = (UpperBB − LowerBB) / SMA(Close)
ATR compression condition:
ATR(t) < SMA(ATR, n)
Squeeze condition:
S = (BBWidth in local contraction zone) ∧ (ATR compression)
Volume normalization:
Zv = (Volume − Mean(Volume)) / Std(Volume)
Momentum field:
M(t) = EMA(ΔP, k)
Normalized momentum pressure:
P(t) = M(t) / Mean(|M(t)|)
Breakout conditions:
BullBreak = Close crosses above (F0.382 + ATR buffer)
BearBreak = Close crosses below (F0.618 − ATR buffer)
This structure ensures that breakout signals only occur when structural, volatility, and participation conditions align simultaneously.
🛠️ USAGE FRAMEWORK
1. Volatility Compression Detection
Identify squeeze zones where both ATR and Bollinger Band width contract simultaneously, indicating energy accumulation.
2. Structural Breakout Mapping
Use Fibonacci levels as dynamic equilibrium zones to evaluate breakout validity and directional bias.
3. Volume-Validated Expansion
Prioritize signals where volume z-score exceeds baseline activity thresholds, confirming real participation.
4. Momentum Regime Interpretation
Monitor normalized momentum pressure to assess whether breakouts are sustained or fading.
5. Trend Context Filtering
Align signals with higher-timeframe trend bias (above/below moving average equilibrium) to reduce countertrend noise.
⚙️ SYSTEM CHARACTERISTICS
• Multi-layer volatility compression detection
• Fibonacci-based structural probability mapping
• Volume-normalized confirmation filtering
• ATR-adjusted breakout sensitivity control
• Momentum-regime adaptive interpretation
• Noise-reduced signal architecture across consolidation phases
📌 CREDIT
Pulse Squeeze Matrix (PSM) is developed by gunebak4n as a structural volatility compression and breakout detection framework for TradingView.
The system is designed for identifying statistically significant expansion phases emerging from multi-factor market compression, rather than isolated indicator-driven signals.
⚠️ DISCLAIMER
PSM is a probabilistic analytical model. It does not predict market outcomes or guarantee trading performance. All signals must be interpreted within a disciplined risk management framework and validated with broader market context.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.