# Put/call Ratio

Put/call Ratio is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Put/call Ratio charts a Cboe put/call volume series (equity-only by default) smooths it with a 10-period SMA, and ranks the smoothed line against its own 252-bar distribution. Percentile bands at the 90th and 10th mark fear and complacency extremes with background highlights, a dashboard, and alerts on every extreme entry and exit, built for contrarian sentiment reads.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Apr 4, 2026.
- Access: free.
- Concepts: [Put/call Ratio](https://www.luxalgo.com/library/concept/put-call-ratio/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=f7vmgotc3imdm4vlef86yo58
- Page: https://www.luxalgo.com/library/indicator/put-call-ratio/

**Put/call Ratio** brings the classic options-sentiment gauge onto the chart as a self-calibrating series: raw [put/call ratio](https://www.luxalgo.com/library/concept/put-call-ratio/) prints appear as a faint context line, a 10-period simple average smooths them into a readable swing, and the smoothed line is ranked against its own rolling 252-bar distribution. Extremes are percentile-based rather than fixed (the 90th percentile marks the fear band, the 10th the complacency band), so the read adapts as typical levels drift, and the line's color slides with its percentile rank.

## How to Trade the Put/call Ratio?

- **Smoothed ratio above the fear band**: put activity is unusually heavy (crowd fear, treated as contrarian bullish). Extremes can extend, so most frameworks wait for price confirmation.
- **Smoothed ratio below the complacency band**: unusually light put demand (speculative appetite, a contrarian bearish warning).
- **Exit from an extreme**: the fall back inside the bands is what the exit alerts capture; background highlights shade the pane while an extreme holds.

A dashboard reports the selected series, latest readings, percentile rank, and sentiment state.

## Put/call Ratio Settings

- **Ratio Series** (default Equity-only (Cboe)): equity-only, index, total, or Custom via your own ticker.
- **Equity-only / Index / Total / Custom Ticker** (defaults USI:PCC, USI:PCI, USI:PC, USI:PCC).
- **Data Timeframe** (default D): higher-timeframe data is requested on confirmed bars only, so values do not repaint.
- **Smoothing** (default SMA, length 10): the average applied to the raw ratio.
- **Rolling Window** (default 252): the ranking lookback in chart bars, roughly one trading year on a daily chart.
- **Extreme Percentiles** (defaults 90 and 10): the band levels.
- Style and dashboard toggles cover the raw line, bands and median, gradient fill, extreme highlights, and placement.

## Frequently Asked Questions

### How does this differ from COT Analysis?

Both read positioning, but from different populations. [COT Analysis](https://www.luxalgo.com/library/indicator/cot-analysis/) tracks weekly futures positions by trader category, while the put/call ratio measures daily options volume (faster, and dominated by speculative flow in the equity-only series).

### Why percentile bands instead of fixed thresholds?

Fixed levels from decades past stop meaning anything as options market structure evolves. Ranking the smoothed ratio against its own recent distribution keeps "extreme" defined by current behavior.

### Which ratio series should I chart?

Equity-only is the standard crowd read. The index series sits structurally higher, its put volume dominated by institutional portfolio insurance rather than directional opinion; the total series blends both.

## Related indicators

- [Implied Volatility](https://www.luxalgo.com/library/indicator/implied-volatility/) (Breadth, Sentiment & External Data): markdown at https://www.luxalgo.com/library/indicator/implied-volatility.md
- [Volume Bubbles & Liquidity Heatmap](https://www.luxalgo.com/library/indicator/volume-bubbles-liquidity-heatmap/) (Breadth, Sentiment & External Data): markdown at https://www.luxalgo.com/library/indicator/volume-bubbles-liquidity-heatmap.md
- [Crypto Liquidation Heatmap](https://www.luxalgo.com/library/indicator/crypto-liquidation-heatmap/) (Breadth, Sentiment & External Data): markdown at https://www.luxalgo.com/library/indicator/crypto-liquidation-heatmap.md
- [Liquidation Levels](https://www.luxalgo.com/library/indicator/liquidation-levels/) (Breadth, Sentiment & External Data): markdown at https://www.luxalgo.com/library/indicator/liquidation-levels.md
- [Market Breadth Toolkit](https://www.luxalgo.com/library/indicator/market-breadth-toolkit/) (Breadth, Sentiment & External Data): markdown at https://www.luxalgo.com/library/indicator/market-breadth-toolkit.md
- [Bitcoin Power Law Clock](https://www.luxalgo.com/library/indicator/bitcoin-power-law-clock/) (Breadth, Sentiment & External Data): markdown at https://www.luxalgo.com/library/indicator/bitcoin-power-law-clock.md
- [Bitcoin Power Law](https://www.luxalgo.com/library/indicator/bitcoin-power-law/) (Breadth, Sentiment & External Data): markdown at https://www.luxalgo.com/library/indicator/bitcoin-power-law.md
- [Open Interest Inflows & Outflows](https://www.luxalgo.com/library/indicator/open-interest-inflows-outflows/) (Breadth, Sentiment & External Data): markdown at https://www.luxalgo.com/library/indicator/open-interest-inflows-outflows.md

---

Source: https://www.luxalgo.com/library/indicator/put-call-ratio/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
