PROTECTED SOURCE SCRIPT
Cerber Market Regime Indicator

📊 CERBER MARKET REGIME INDICATOR
A versatile momentum indicator that helps identify market regimes using Rate of Change (ROC) analysis. Designed for visualizing momentum extremes and mean-reversion zones.
═══════════════════════════════════════
🔧 TWO MODES:
▸ Fixed Mode (Default)
Uses percentage-based ROC thresholds. Simple and intuitive - when momentum exceeds +10% or drops below -10%, the indicator signals extreme conditions.
▸ Z-Score Mode
Normalizes ROC using statistical z-score, automatically adapting to each asset's volatility. A reading of +1σ or -1σ represents one standard deviation from the mean, making thresholds consistent across different assets.
═══════════════════════════════════════
⚙️ KEY SETTINGS:
• ROC Lookback: Period for calculating rate of change (default: 30 bars)
• Z-Score Window: Rolling window for mean/std calculation (default: 60 bars)
• Top/Bottom Thresholds: Configurable levels for regime identification
═══════════════════════════════════════
📈 VISUAL ELEMENTS:
• Green line: Momentum above top threshold (bullish extreme)
• Red line: Momentum below bottom threshold (bearish extreme)
• Gray line: Neutral zone between thresholds
• Dashed lines: Threshold levels
• Shaded zone: Neutral trading range
• Info table: Current mode, settings, and live values
═══════════════════════════════════════
💡 USE CASES:
• Identify overbought/oversold conditions
• Spot mean-reversion opportunities
• Gauge momentum regime for trend strategies
• Compare momentum across different assets (Z-Score mode)
• Visualize market extremes for discretionary analysis
═══════════════════════════════════════
⚠️ DISCLAIMER:
This indicator is for visualization and educational purposes only. It does not generate trading signals and should not be used as the sole basis for trading decisions. Always conduct your own research and use proper risk management.
A versatile momentum indicator that helps identify market regimes using Rate of Change (ROC) analysis. Designed for visualizing momentum extremes and mean-reversion zones.
═══════════════════════════════════════
🔧 TWO MODES:
▸ Fixed Mode (Default)
Uses percentage-based ROC thresholds. Simple and intuitive - when momentum exceeds +10% or drops below -10%, the indicator signals extreme conditions.
▸ Z-Score Mode
Normalizes ROC using statistical z-score, automatically adapting to each asset's volatility. A reading of +1σ or -1σ represents one standard deviation from the mean, making thresholds consistent across different assets.
═══════════════════════════════════════
⚙️ KEY SETTINGS:
• ROC Lookback: Period for calculating rate of change (default: 30 bars)
• Z-Score Window: Rolling window for mean/std calculation (default: 60 bars)
• Top/Bottom Thresholds: Configurable levels for regime identification
═══════════════════════════════════════
📈 VISUAL ELEMENTS:
• Green line: Momentum above top threshold (bullish extreme)
• Red line: Momentum below bottom threshold (bearish extreme)
• Gray line: Neutral zone between thresholds
• Dashed lines: Threshold levels
• Shaded zone: Neutral trading range
• Info table: Current mode, settings, and live values
═══════════════════════════════════════
💡 USE CASES:
• Identify overbought/oversold conditions
• Spot mean-reversion opportunities
• Gauge momentum regime for trend strategies
• Compare momentum across different assets (Z-Score mode)
• Visualize market extremes for discretionary analysis
═══════════════════════════════════════
⚠️ DISCLAIMER:
This indicator is for visualization and educational purposes only. It does not generate trading signals and should not be used as the sole basis for trading decisions. Always conduct your own research and use proper risk management.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.