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
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.