Contrarian Extremes: VIX + Put/Call (CPC, PCC)What this indicator does (in one line :) ):
It highlights sentiment extremes using only CPC, PCC , and VIX , so you can spot the moments when the market is most likely overreacting.
Most indicators try to “predict” price. This one is simpler, it tracks Fear vs Euphoria and marks the zones where emotions are stretched.
The 3 inputs behind it
INDEX:CPC (TotalPut/Call) --> broad options sentiment
USI:PCC --> equity/retail-style fear proxy
CBOE:VIX --> volatility stress / hedging pressure
What you’ll see on the chart
The script paints the background based on 3 regimes:
🫨 Panic --> extreme stress (capitulation-type conditions) --> 🎶 The background music is (Melancholy Man by The Moody Blues) 😨
😰 Fear / Risk-Off --> elevated fear --> defensive positioning
😌 Complacency / Calm --> low fear --> “everything is fine” mode --> 🎶 The background music is (What a Wonderful World by Louis Armstrong) 😁
All thresholds and colors are fully customizable in the Inputs, so you can also change the criteria to get higher or lower frequency signals on the chart.
How I personally interpret it (as a long-term investor)
In my backtests, this indicator behaves like a contrarian compass:
Fear / Panic zones often show up close to better long-term buy areas (not perfect timing, but good asymmetric entries).
Complacency zones often show up near better long-term reduce / take-profit areas (or at least be careful with fresh risk here).
This is not magic and it’s not a buy/sell button. Markets can stay fearful or complacent longer than you expect. But as a long-term investor , this helps you stop chasing hype and start scaling decisions around emotion extremes.
A simple long-term workflow:
Use Daily or Weekly timeframe.
When Fear/Panic appears: consider scaling in (DCA entries, add on confirmation, respect your risk limits).
When Complacency appears: consider scaling out, tightening risk, or being picky with new buys.
Always combine with basics: trend, levels, market structure, and risk management.
Where it tends to work best
Interestingly, this doesn’t only fit S&P/Nasdaq. It also behaves well on:
OANDA:XAUUSD & OANDA:XAGUSD
Large-cap stocks ( NASDAQ:AAPL NASDAQ:NVDA NASDAQ:MSFT NASDAQ:GOOG NASDAQ:AMZN NASDAQ:TSLA NASDAQ:META )
BINANCE:BTCUSD & BINANCE:ETHUSD
In general, it tends to work better (i.e. helps you more) in markets that move more on fear and greed and less on deep fundamental re-pricing.
⚠️ Disclaimer: educational tool only. No indicator is a guarantee. Use proper position sizing and understand the product you trade.
Indicador Pine Script®






















