OPEN-SOURCE SCRIPT
Regime Radar — Trend vs Volatile [AlphaGroup.Live]

⚡ Regime Radar — Trend vs Volatile [AlphaGroup.Live]
Markets switch personalities. Some weeks they trend relentlessly. Other times they chop, fake out, and punish breakout traders.
This tool tells you — at a glance — whether an asset is in TREND, VOLATILE, or MIXED mode across multiple timeframes.
🔑 How it works
The engine scores every timeframe on two dimensions:
Trend Score (directional persistence):
• Efficiency Ratio (straight vs noisy moves)
• Normalized ADX (directional movement strength)
• Positive autocorrelation (persistence of returns)
Volatile Score (chop / mean reversion):
• 1 − Efficiency Ratio (lack of direction)
• Frequency of outside bars (indecision candles)
• Negative autocorrelation (flip-flop behavior)
Then it compares the difference:
• TREND if Trend − Volatile > thWeak
• VOLATILE if Trend − Volatile < −thWeak
• MIXED if the difference is inside [−thWeak, +thWeak]
Strength comes from how far apart the scores are:
• Strong if |diff| ≥ thStrong
• Weak if thWeak ≤ |diff| < thStrong
• Neutral if |diff| < thWeak
🖼️ What you see
• Yellow candles mark outside bars (both high & low broken) → “non-decision” events.
• A dashboard table prints your chosen timeframes with verdicts like:
5m VOLATILE Strong
15m VOLATILE Weak
1h TREND Neutral
4h TREND Weak
D VOLATILE Neutral
W TREND Strong
M TREND Strong
• Optional Bias column shows the numeric difference (Trend − Volatile).
💡 Why use it
• Spot when trend-following systems (crossovers, inside bar breakouts) are favored.
• Spot when reversal systems (RSI2, MinMax, Bollinger plays) are favored.
• Check regime alignment across intraday, swing, and macro frames.
• Avoid trading a TREND system in a VOLATILE regime (and vice versa).
⚡ Want more setups?
Get 100 battle-tested trading strategies FREE here:
👉 alphagroup.live/100-trading-strategies
No excuses. No guesswork. The market tells you its regime. Listen — and adapt.
📌 Tags
trenddetection, volatility, regimefilter, trendfilter, rangetrading, meanreversion, priceaction, chartpatterns, riskmanagement, tradingdashboard, forex, crypto, stocks, scalping, swingtrading
Markets switch personalities. Some weeks they trend relentlessly. Other times they chop, fake out, and punish breakout traders.
This tool tells you — at a glance — whether an asset is in TREND, VOLATILE, or MIXED mode across multiple timeframes.
🔑 How it works
The engine scores every timeframe on two dimensions:
Trend Score (directional persistence):
• Efficiency Ratio (straight vs noisy moves)
• Normalized ADX (directional movement strength)
• Positive autocorrelation (persistence of returns)
Volatile Score (chop / mean reversion):
• 1 − Efficiency Ratio (lack of direction)
• Frequency of outside bars (indecision candles)
• Negative autocorrelation (flip-flop behavior)
Then it compares the difference:
• TREND if Trend − Volatile > thWeak
• VOLATILE if Trend − Volatile < −thWeak
• MIXED if the difference is inside [−thWeak, +thWeak]
Strength comes from how far apart the scores are:
• Strong if |diff| ≥ thStrong
• Weak if thWeak ≤ |diff| < thStrong
• Neutral if |diff| < thWeak
🖼️ What you see
• Yellow candles mark outside bars (both high & low broken) → “non-decision” events.
• A dashboard table prints your chosen timeframes with verdicts like:
5m VOLATILE Strong
15m VOLATILE Weak
1h TREND Neutral
4h TREND Weak
D VOLATILE Neutral
W TREND Strong
M TREND Strong
• Optional Bias column shows the numeric difference (Trend − Volatile).
💡 Why use it
• Spot when trend-following systems (crossovers, inside bar breakouts) are favored.
• Spot when reversal systems (RSI2, MinMax, Bollinger plays) are favored.
• Check regime alignment across intraday, swing, and macro frames.
• Avoid trading a TREND system in a VOLATILE regime (and vice versa).
⚡ Want more setups?
Get 100 battle-tested trading strategies FREE here:
👉 alphagroup.live/100-trading-strategies
No excuses. No guesswork. The market tells you its regime. Listen — and adapt.
📌 Tags
trenddetection, volatility, regimefilter, trendfilter, rangetrading, meanreversion, priceaction, chartpatterns, riskmanagement, tradingdashboard, forex, crypto, stocks, scalping, swingtrading
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。