OPEN-SOURCE SCRIPT

VIX Oscillator

Telah dikemas kini
OVERVIEW
Plots an oscillating value as a percentage, derived from the VIX and VIX3M. This can help identify broader market trends and pivots on higher time frames (ie. 1D), useful when making swing trades.

DATA & MATH
The VIX is a real-time index of expected S&P 500 volatility over the next 30 days, derived from option prices with near-term expirations. Similarly, the VIX3M measures expected volatility over the next 90 days.

Dividing one by the other yields an oscillating value, normalizing the relative strength of the expected volatility. Most commonly the VIX is divided by the VIX3M. However, because the VIX is inversely correlated to market sentiment (typically), this indicator divides the VIX3M by the VIX to visually correlate the plot direction with the anticipated market direction. Further, it subtracts 1.1 from the quotient to visually center the plot, and multiplies that difference by 100 to amplify the value as a percentage:
( VIX3M / VIX - 1.1 ) * 100

This variation makes identifying sentiment extremes easier within a buy-low-sell-high paradigm, where values below zero are bearish and values above zero are bullish.

PLOTS
Two plots are used, maximizing data fidelity and convenience. Candles are used to accurately reflect the quantized math and a Linear Regression is used to simplify contextualization. If you're not familiar with what a Linear Regression is, you can think of it like a better moving average. High / Low zones are also plotted to help identify sentiment extremes.

This combination allows you to quickly identify the expected sentiment (bullish / bearish) and its relative value (normal / extreme), which you can then use to anticipate if a trend continuation or pivot is more likely.

INPUTS
Candle colors (rise and fall)
Linear regression colors and length
Zone thresholds and zero line
Nota Keluaran
  • Added indicator page link to the top of the source code.
sentiment

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian