OPEN-SOURCE SCRIPT

@WACC Volatility Weighted PUT/CALL Positions [SPX]

This indicator is based on Volatility and Market Sentiment. When volatility is high, and market sentiment is positive, the indicator is in a low or 'buy state'. When volatility is low and market sentiment is poor, the indicator is high.

The indicator uses the VIX as it's volatility input.

The indicator uses the spread between the Call Volume on SPX/SPY and the Put Volume.

This is pulled from CVSPX and PVSPX.

When volatility and put/call reaches a critical level, such as the levels present in a crisis or a sell off, the line will be green. See Sept 2015, 2008, and Feb 2018.

This level can be edited in the source code.


As the indicator is based on Put/Call, the indicator works best on larger time frames as the put/call ratio becomes a more discernible measure of sentiment over time.

BTCeminiESes1Oscillatorssp500indexSPX (S&P 500 Index)S&P 500 (SPX500)SPDR S&P 500 ETF (SPY) VIX CBOE Volatility IndexVolatilityVolume

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?

Disclaimer