PROTECTED SOURCE SCRIPT

Hemera Regime Switch PRO

334
Hemera Regime Switch PRO is a Market Regime Detector designed to help traders avoid the #1 mistake: using the wrong strategy in the wrong market condition.
This script does not produce random buy/sell spam. Instead, it classifies the market into clear regimes and provides a clean dashboard to guide decision-making.

✅ What it does (Market Regime Detection)

This indicator identifies the current market environment using:

Trend structure (EMA bias + slope)

Trend strength (ADX)

Volatility compression/expansion (Bollinger Band Width%)

Normalized volatility state (ATR%)

Confidence scoring (0–100)

It classifies price action into 4 regimes:

SQUEEZE (volatility compression / consolidation)

EXPANSION (volatility breakout / momentum phase)

TREND (directional continuation environment)

RANGE (mean-reversion / choppy market)

🟨 Automatic Squeeze Box + Breakout Levels

When SQUEEZE is detected, the indicator automatically draws a Squeeze Box (range boundaries):

Upper boundary = potential bullish breakout trigger

Lower boundary = potential bearish breakout trigger

This helps traders define structure and avoid overtrading inside consolidation.

⚡ Breakout + Retest Signals (higher probability)

To reduce fake breakouts, the script supports:

Breakout alerts (confirmed candle close outside the box)

Retest alerts (price revisits the boundary and holds)

Retest confirmations are typically more reliable than chasing the first breakout candle.

📊 Dashboard Panel (clean & readable)

The top-right dashboard displays:

REGIME (Squeeze / Expansion / Trend / Range)

BIAS (Bull/Bear based on EMA)

PLAYBOOK (what strategy fits the regime)

ADX & EMA Slope%

BB Width%

ATR% & VOL state

CONFIDENCE %

🎯 How to use (simple rules)

1) REGIME = SQUEEZE
Wait for breakout. Use the Squeeze Box boundaries as reference.
Best entries often come from Breakout + Retest.

2) REGIME = TREND / EXPANSION
Prioritize trend-following. Bias helps you stay aligned with direction.

3) REGIME = RANGE
Expect more mean-reversion behavior. Avoid trend-chasing inside ranges.

🔔 Alerts (TradingView compatible)

Available alert conditions include:

Squeeze Breakout Up / Down

Breakout Retest Up / Down

Regime Changes (Squeeze/Expansion/Trend/Range)

These alerts can be forwarded to Telegram via webhook/bot solutions.

⚠️ Disclaimer

This indicator is an educational market-structure tool and does not guarantee profits. Always use risk management and confirm entries with your own trading plan.

If you like this script, please leave a 👍 and add to favorites — it helps a lot.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.