OPEN-SOURCE SCRIPT
已更新 VIX High/Low Zones Pro

This Pine Script indicator, "VIX High/Low Zones Pro," plots the VIX (or VXN) directly on a separate pane beneath your chart, giving you a real-time read on market volatility conditions. The VIX line is color-coded dynamically — shifting from lime green at the calmest levels below 16, through orange in the 18–25 range, and into red and dark maroon as fear intensifies above 25 and 32 respectively. A set of key horizontal levels at 16, 18, 20, 22, 25, and 28 are drawn as dashed or dotted reference lines, and an optional moving average (default 50-period SMA) is overlaid on the VIX to help identify the broader trend in volatility. The VIX data can also be smoothed using a short-period SMA, EMA, or WMA to reduce noise, and a small label in the upper right displays the current VIX value along with a momentum arrow showing whether volatility is rising or falling.
The most actionable feature for trade filtering is the background shading, which turns red when VIX is above its moving average and green when it's below. This gives you a simple, visual bias signal — a red background suggests volatility is expanding and the market may be in a risk-off or trending-down environment, while a green background indicates volatility is contracting or subdued, favoring calmer, range-bound conditions. For MNQ traders, this crossover relationship between VIX and its MA can serve as a quick regime filter to adjust strategy selection or position sizing without having to manually interpret the raw VIX number on every bar.
The most actionable feature for trade filtering is the background shading, which turns red when VIX is above its moving average and green when it's below. This gives you a simple, visual bias signal — a red background suggests volatility is expanding and the market may be in a risk-off or trending-down environment, while a green background indicates volatility is contracting or subdued, favoring calmer, range-bound conditions. For MNQ traders, this crossover relationship between VIX and its MA can serve as a quick regime filter to adjust strategy selection or position sizing without having to manually interpret the raw VIX number on every bar.
版本注释
Changed labeling开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。