OPEN-SOURCE SCRIPT

VIX Calm vs Choppy (Bar Version, VIX High Threshold)

65
This indicator tracks market stability by measuring how long the VIX stays below or above a chosen intraday threshold. Instead of looking at VIX closes, it uses VIX high, so even a brief intraday spike will flip the regime into “choppy.”

The tool builds a running clock of consecutive bars spent in each regime:

Calm regime: VIX high stays below the threshold

Choppy regime: VIX high hits or exceeds the threshold

Calm streaks plot as positive bars (light blue background).
Choppy streaks plot as negative bars (dark pink background).

This gives a clean picture of how long the market has been stable vs volatile — useful for trend traders, breakout traders, and anyone who watches risk-on/risk-off conditions. A table shows the current regime and streak length for quick reference.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.