OPEN-SOURCE SCRIPT

VIX - SKEW Divergence

Aktualisiert
The CBOE VIX is a well-known index representing market expectations for volatility over the next 30 days.
The CBOE SKEW is an index reflecting the perceived tail risk over the next 30 days.

When the SKEW rises over a certain level (~140/150), that means investors are hedging their exposure with options, because they are worried about an incoming market crash or a "black swan". If that happens when the VIX is very low and apparently there is no uncertainty, this can warn of a sudden change in direction of the market. You will see for yourself that an increasing divergence often anticipates a sharp fall of leading stock indexes, usually within two to four months.
This is probably not very relevant for the short-term trader but mid/long-term traders and market analysts may find it useful to clearly visualize the extent of the distance between the VIX and the SKEW. For that reason, I wrote this highly customizable script with which you can plot the two indexes and fill the space within them with a color gradient to highlight the maximum and minimum divergence. Additionally, you can fill the beneath VIX area with four different colors. It is also possible to plot the divergence value itself, so if you want you can draw trendlines and support/resistance levels on it.

Please note that the divergence per se doesn't predict anything and it's meant to be used synergistically with other technical analysis tools.

More informations here:
cboe.com/us/indices/dashboard/vix/
cboe.com/us/indices/dashboard/skew/
Versionshinweise
Added a table to show the latest percentage change. The table will not be shown on intraday charts.
Versionshinweise
Updates:

1) Added the average line of the divergence, which can be useful to analyze the historical relationship between the two indexes by comparing it to the current divergence. By default, the line represents the median value over a certain period, but you can use a moving average instead, choosing from Simple Moving Average (MA), Exponential Moving Average (EMA), and Weighted Moving Average (WMA). It is better using the median rather than a moving average, because the relationship between the two indexes is not necessarily linear or trending over time. Additionally, extreme values or outliers in the data may significantly affect the results of a moving average calculation, leading to less accurate conclusions.

2) Added another row on the table, which shows the value of the distance between the current divergence and its average.

3) Improved the menu.

4) Cleaned the code and improved its overall appearance.
analysisblack-swancrashforecastingmarket-analysispullbacksentimentSTOCK-INDEXstock-marketTAIL-RISKtechnical-analysisVolatility

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss