OPEN-SOURCE SCRIPT
X ATM Option Ladder Premium (1DTE Dynamic Wings)

X ATM Option Ladder Premium is a specialized options-market visualization tool designed for intraday tracking of at-the-money (ATM) option premiums in index ETFs such as QQQ and SPY.The script dynamically identifies the ATM contract on every bar and plots real-time call-versus-put premium differences, with columns for positive/negative diffs and markers (blue dots for positive, red squares for negative) to represent upward price ticks in the option premiums.By analyzing premium levels and direction data from multiple strikes within a dynamic ± range (approximating 0.25 delta wings for 1DTE), the indicator produces a real-time histogram that reflects how premium skew evolves relative to the underlying price.Complementary status tables display the active strike, ladder position, IV-derived wing depth, and warnings when the underlying moves outside the monitored range.Core FeaturesDynamic ATM selection – Each bar automatically maps to the option contract closest to the underlying’s price.Bidirectional premium comparison – Visual separation of call and put premiums (optional columns), with premium diff as the primary histogram and “up” markers highlighting contracts trading above their prior close.Multi-strike ladder analysis – Samples strikes within IV-adjusted wings (±2-5 points typical for 1DTE at 15-25% IV) from the defined center to capture skew and momentum near the money; uses VIX1D for real-time IV approximation.Optimized data calls – Uses tuple requests to minimize request.security() load, enabling a wider ladder within TradingView limits.Session awareness – Restricts processing to the 9:30 AM – 4:15 PM ET option-trading window.Status dashboard – Displays date, active strike, warning flags (“⚠︎ / •outside”), wing parameters (e.g., “±3 (VIX1D=20%)”), and ladder details directly on chart.Use CaseThe indicator is intended for intraday traders and options-premium analysts who want to visualize how short-term pricing dynamics and sentiment migrate across the ATM region as the underlying moves. Typical applications include:Monitoring real-time call/put premium imbalances to detect skew shifts, put-call parity deviations, or implied vol divergences.Identifying premium clustering near the money—where theta decay or gamma effects can signal underlying price acceleration or pinning.Detecting when price exits the monitored ladder (⚠︎ / •outside), signaling a potential regime change or requiring manual recentering.Integrating premium flow into broader volatility or ETF models (e.g., VIX alignment or QQQ/SPY skew confirmation for straddle/strangle trades).Technical NotesStatic-center architecture ensures historical consistency: prior bars remain fixed even after re-centering.Ladder depth is dynamically computed for 1DTE 0.25Δ wings via VIX1D IV (fallback to fixed ±3); capped at ±5 to stay under TradingView’s security-call limits.auto_nudge is enabled to smoothly align the selected lane with the active ATM without requiring user intervention.Indicator is optimized for 1-minute to 5-minute charts; use overlay = false to preserve scale clarity. Manual 1DTE expiry input required (e.g., YYMMDD format).
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.