OPEN-SOURCE SCRIPT
Market Sentiment Suite: PCCE + VIX + Signals

📊 Market Sentiment Suite: PCCE + VIX + Signals
Identify fear, greed, and turning points in the market.
This script combines the CBOE Put/Call Ratio (PCCE) with the VIX volatility index percentile to visualize crowd sentiment and highlight potential market tops and bottoms.
🔍 Key Features
Dual-indicator design: PCCE + normalized VIX percentile
Color-coded zones for Greed (<0.6) and Fear (>1.2)
Automatic alert signals when sentiment reaches extremes
Live sentiment table displaying real-time PCCE and VIX data
Works seamlessly on SPX, SPY, QQQ, or any major index
🧠 How to Use
When PCCE > 1.2 and VIX percentile > 80%, fear is extreme → possible market bottom
When PCCE < 0.6 and VIX percentile < 20%, greed is extreme → possible market top
Perfect for contrarian traders, sentiment analysts, and swing traders
✨ Best Timeframe: Daily
⚙️ Markets: SPX / SPY / QQQ / Global Indexes
📈 Type: Contrarian Sentiment Indicator
Identify fear, greed, and turning points in the market.
This script combines the CBOE Put/Call Ratio (PCCE) with the VIX volatility index percentile to visualize crowd sentiment and highlight potential market tops and bottoms.
🔍 Key Features
Dual-indicator design: PCCE + normalized VIX percentile
Color-coded zones for Greed (<0.6) and Fear (>1.2)
Automatic alert signals when sentiment reaches extremes
Live sentiment table displaying real-time PCCE and VIX data
Works seamlessly on SPX, SPY, QQQ, or any major index
🧠 How to Use
When PCCE > 1.2 and VIX percentile > 80%, fear is extreme → possible market bottom
When PCCE < 0.6 and VIX percentile < 20%, greed is extreme → possible market top
Perfect for contrarian traders, sentiment analysts, and swing traders
✨ Best Timeframe: Daily
⚙️ Markets: SPX / SPY / QQQ / Global Indexes
📈 Type: Contrarian Sentiment Indicator
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.