OPEN-SOURCE SCRIPT
Regime Turbo System

This indicator is a “Regime Turbo System” that classifies the market into trend and volatility regimes across multiple timeframes. It combines multi‑timeframe trend detection, volatility filters, and an information panel to show the current market state clearly.
Trend regime: The script checks 60m, 30m, 15m, and 5m timeframes using both EMA200 and a Supertrend‑style filter. When all four timeframes agree up, it labels the environment as “UP”; when they all agree down, it labels “DOWN”; anything else is “MIXED”.
Volatility regime: It computes ATR percentile to label volatility as HIGH / NORMAL / LOW, and uses Bollinger Band width to detect “squeeze” (low‑volatility contraction). An “energy” measure based on recent price change identifies whether volatility is expanding or fading.
Regime zone: Combining trend and volatility, it classifies each bar into Long Zone, Short Zone, or Neutral. Long Zone requires aligned uptrend plus strong and rising volatility; Short Zone requires aligned downtrend plus strong but weakening volatility. Colored dots at the top of the pane mark these zones.
Info panel: A small table in the top‑right summarizes key states in real time: multi‑timeframe trend, volatility label, BB squeeze status, and expansion/fade of energy.
Plots: The lower part of the pane shows an ATR percentile histogram and the energy line so you can visually see changes in volatility and regime strength over time.
In short, you use this indicator to decide:
whether the market is in a strong bullish, strong bearish, or neutral regime,
whether volatility is high or low, compressing or expanding,
and then choose trend‑following or mean‑reversion tactics accordingly.
Trend regime: The script checks 60m, 30m, 15m, and 5m timeframes using both EMA200 and a Supertrend‑style filter. When all four timeframes agree up, it labels the environment as “UP”; when they all agree down, it labels “DOWN”; anything else is “MIXED”.
Volatility regime: It computes ATR percentile to label volatility as HIGH / NORMAL / LOW, and uses Bollinger Band width to detect “squeeze” (low‑volatility contraction). An “energy” measure based on recent price change identifies whether volatility is expanding or fading.
Regime zone: Combining trend and volatility, it classifies each bar into Long Zone, Short Zone, or Neutral. Long Zone requires aligned uptrend plus strong and rising volatility; Short Zone requires aligned downtrend plus strong but weakening volatility. Colored dots at the top of the pane mark these zones.
Info panel: A small table in the top‑right summarizes key states in real time: multi‑timeframe trend, volatility label, BB squeeze status, and expansion/fade of energy.
Plots: The lower part of the pane shows an ATR percentile histogram and the energy line so you can visually see changes in volatility and regime strength over time.
In short, you use this indicator to decide:
whether the market is in a strong bullish, strong bearish, or neutral regime,
whether volatility is high or low, compressing or expanding,
and then choose trend‑following or mean‑reversion tactics accordingly.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。