OPEN-SOURCE SCRIPT

Volatility Inverse Correlation Candle

This is an educational tool that can help you find direct or inverse relations between two assets.

In this case I am using VIX and SPX .

The way it works is the next one :
So I am looking at the current open value of VIX in comparison with the previous close ( if it either above or below) and after on the SPX I am looking into the history and see for example which type of candle we had in respect with the opening value from VIX .

So for example, lets imagine that today is monday, and the weekly open value from VIX was higher than previous friday close value. Now I am going to see with the inverse correlation , if based on this idea, the current weekly candle from SPX finished in a bear candle.
The same can be applied for the bearish situation, so if we had an open from VIX lower than previous close, we are looking to check the SPX bull candle accuracy.

At the same time, for a different type of calculation I have added an internal lookup into heikin ashi values.



If you have any questions please let me know !
correlationinversenasdaqQQQSPX (S&P 500 Index)SPDR S&P 500 ETF (SPY) VIX CBOE Volatility IndexVolatilityVXN

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


🔻My Website: hercules.money/
🔻Blog: hercules.money/blog/
🔻Telegram : t.me/hercules_trading
🔻Discord: discord.gg/hudcJvcCAq
Also on:

Disclaimer