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
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.