OPEN-SOURCE SCRIPT
Mis à jour

X C/P VP

429
Description

The X C/P VP indicator visualizes intraperiod option flow dynamics for any selected call and put contracts. It plots the volume of both options as overlapping histograms, allowing traders to observe where liquidity and participation are concentrated.

A small dot appears above a bar only when the option’s closing price increases relative to the prior bar, providing an immediate visual cue of upward price pressure within volume spikes.
By combining these two layers—volume intensity and directional confirmation—the indicator makes it easy to spot where the market is actively repricing risk across the call/put structure.

Use Case

Designed for 0DTE and short-dated options, especially index ETFs such as QQQ or SPY.

Helps traders compare call vs. put participation to gauge sentiment skew and intraday balance.

Useful for monitoring volume surges tied to delta hedging, gamma shifts, or option repricing following volatility or directional moves.

Can be applied on 1-minute to 15-minute timeframes to observe how option volume evolves through key market sessions (e.g., open, midday, close).

Dots highlight periods where premium expansion accompanies increased volume—often an early sign of momentum or positioning bias.

Summary

X C/P VP serves as a lightweight, visually intuitive tool to read the rhythm of call and put activity intraday—offering an at-a-glance pulse of which side of the options market is taking control.
Notes de version
made it easier to enter contract and also then to change strike quickly. also created an aggregator toggle that takes data from ATM strike and added +-1 point data.
Notes de version
clean up setting page
Notes de version
added note at top
Notes de version
added QQQ and SPY actual price in upper right corner so can adjust strike more easily in real time for larger moves away from open
Notes de version
updated image
Notes de version
i think i have solve the automation issue. if automation is selected it should auto select 'today' contract date and also auto adjust the strike to the nearest ATM contract without having to monitor. not tested live yet so if it doesnt work please message me and switch off automated and enter the data as before
Notes de version
date is auto but still have to enter open strike. But from there you will get real ATM action as it will adjust bar to bar but there is a memory limitation to +-3 after which you have to change the center of gravity strike manually.
Notes de version
clean up table bottom right
Notes de version
re-ordered lower right table
Notes de version
fixed dot error
Notes de version
clean up
Notes de version
minor table clean up
Notes de version
minor clean up
Notes de version
de-activated

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.