Mentor Michael - Adaptive Regime Pro v1.0📌 Professional Entropy-Based Adaptive Trend System | Gold Optimized
Mentor Michael – Adaptive Regime Pro v1.0 is a professional-grade adaptive trend engine designed to automatically adjust to changing market conditions using entropy-driven volatility modeling.
This system is engineered especially for XAUUSD (Gold), where price behavior shifts rapidly between expansion and compression phases. Instead of using fixed moving averages or static volatility bands, this indicator dynamically adapts smoothing and structure based on real-time market regime detection.
The result is a clean, professional trend framework that measures both direction and quality.
🧠 Core Engine – Entropy-Based Market Regime Detection
At the heart of the system is an entropy calculation derived from:
• Logarithmic return dispersion
• Standard deviation vs mean normalization
• Controlled scaling between 0 and 1
This produces a normalized entropy value representing market uncertainty.
Low Entropy → Structured, directional market
High Entropy → Choppy, mean-reverting market
The system uses this value to drive all adaptive components.
📊 Adaptive EMA (Dynamic Smoothing Model)
Unlike traditional EMAs with fixed smoothing constants, this system modifies the alpha coefficient dynamically.
When entropy is high:
• EMA becomes more reactive
• Adjusts faster to noise
When entropy is low:
• EMA becomes smoother
• Better at riding sustained trends
This prevents lag during breakouts while avoiding overreaction during consolidation.
📦 Dynamic Volatility Bands (Dual Structure Model)
Two ATR-based envelopes are built around the adaptive EMA:
Inner Bands (Fast Reaction Zone)
Used for detecting regime shifts.
Price closing above inner upper band → Bullish regime
Price closing below inner lower band → Bearish regime
Outer Bands (Volatility Expansion Zone)
Track broader volatility expansion and serve as structural references.
Band width scales automatically based on trend strength.
Stronger trend → Wider bands
Choppy market → Narrower bands
This creates a volatility-aware structure instead of static channels.
🎯 Trend State Logic
The script maintains internal trend memory to avoid signal flickering.
A regime shift only occurs when price confirms beyond the inner band.
• Bullish Trend
• Bearish Trend
• Neutral State
This produces cleaner trend transitions and professional-level stability.
💪 Signal Strength Meter (0–100)
Signal Strength = (1 − Normalized Entropy) × 100
This converts volatility behavior into a measurable percentage.
High Score → Clean directional conditions
Low Score → Compression or indecision
Instead of guessing trend quality, you see it numerically.
🖥 Trend Dashboard Panel
The built-in dashboard (top-right corner) displays:
• Current Trend State
• Signal Strength (%)
• Entropy (%)
The panel updates in real time and can be toggled ON/OFF.
Designed for fast visual decision-making without clutter.
🎨 Visual Structure
• Adaptive color-coded EMA
• Dynamic layered volatility fills
• Optional bar coloring
• Controlled transparency for clean overlays
• Professional layout for live trading environments
The structure is designed to look premium and readable across all timeframes.
🔔 Alert System
Built-in alert conditions trigger on:
• Bullish Regime Shift
• Bearish Regime Shift
Alerts activate only when confirmed regime transitions occur.
Suitable for:
• Manual execution
• Automation
• Session monitoring
⚙️ Input Parameters Explained
Entropy Lookback
Controls regime sensitivity.
Lower values increase responsiveness.
Higher values produce smoother macro trends.
Fast Band Multiplier
Controls inner band width (signal sensitivity).
Slow Band Multiplier
Controls outer band width (volatility envelope scale).
Visual Controls
Custom colors, transparency, dashboard toggle, and bar coloring options.
💎 Optimized for XAUUSD (Gold)
Gold trends strongly but consolidates sharply.
This adaptive entropy structure is specifically tuned to handle that expansion-compression behavior.
Recommended for XAUUSD 4H:
Lookback: 22–28
Fast Multiplier: 1.6–1.9
Slow Multiplier: 3.2–3.8
Also performs well on:
• BTCUSD
• Major Forex pairs
• Indices
✅ Ideal For
• Trend-following traders
• Swing traders
• Volatility regime analysis
• Confluence with Order Blocks / FVG / Liquidity Sweeps
• Gold and Crypto trading
🔥 What Makes This Different?
Most indicators use:
• Fixed smoothing
• Static ATR bands
• No regime awareness
Adaptive Regime Pro:
• Measures entropy in real time
• Dynamically adjusts smoothing
• Scales volatility structure
• Quantifies trend strength objectively
• Maintains stable regime memory
It is not just a moving average —It is a volatility-aware adaptive regime system.
⚠️ Disclaimer
This script is provided for educational and analytical purposes only.
It does not provide financial or investment advice.
Always apply proper risk management.
Pine Script® インジケーター






















