OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
Changed labelingScript de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.