0DTE Options - Iron Condor & ButterflyTo help options traders:
Plan and structure Iron Condor or Butterfly spreads in “Setup Mode.”
Track live trades, including P&L, breach risk, and strike distances, in “Live Mode.”
Visualize the trade on the price chart with profit zones, breakeven lines, strike markers, and alerts.
Evaluate market conditions using IV Rank, ATR-based range modeling, and modeled Delta approximation.
Essentially, it turns your TradingView chart into an options risk graph + planning terminal.
⚙️ Core Modes of Operation
🧱 1. Setup Mode
Used for planning new trades. It automatically suggests strikes based on:
ATR (volatility proxy)
IV Rank
Target Delta
Chosen risk tier (High / Mid / Low / Delta)
You can:
Preview recommended short and long strikes.
See estimated credit, width, and risk/reward ratios in a setup table.
Auto-feed these calculated strikes into the Live Mode to track them later.
Example Use:
Before market open, choose Setup Mode → Mid Risk Tier → see what strike widths and credits make sense for the day.
📈 2. Live Mode
Used to track real trades you’ve already opened.
You can:
Paste your real trade data (strikes, credits, etc.) into the 📋 paste field.
Or auto-feed from Setup Mode (if “Auto-Feed” is enabled).
The indicator then plots:
Short/long strikes
Breakevens
Profit/loss zone
Real-time breach detection and delta drift
Alerts when price nears your strikes or exits your safe zone.
Example Use:
After opening an Iron Condor on SPX, paste in 626,628,620,618,1.20,1, and the chart visually shows your safe range and warning zones.
🧮 Built-In Calculations
1. IV Rank (Volatility Environment)
Uses a 20-day log return volatility model to calculate IV Rank (percentile of volatility over the last 252 bars).
You can use this automatically or manually override it if you have data from your broker.
→ High IV Rank (>50) = better for selling Iron Condors (more premium).
2. ATR (Average True Range)
Measures short-term volatility to estimate expected daily price movement.
Used in Setup Mode to model distance between strikes.
3. Strike Calculations (Setup Mode)
Based on risk tier:
High Risk → wide wings, high credit, high potential drawdown
Mid Risk → balanced setup
Low Risk → narrow wings, safer but less credit
Delta Mode → based purely on target delta (e.g., 0.20)
Uses ATR × multiplier to determine how far short strikes should be from current price.
4. Credit Estimation
Based on strike width × IV Rank multiplier:
IV > 50 → 30% of width
IV 30–50 → 25%
IV < 30 → 20%
5. Profit & Loss Modeling
The indicator computes:
Max Profit:
Iron Condor → credit × 100 × contracts
Butterfly → (wing width − debit) × 100 × contracts
Max Loss:
Iron Condor → width − credit
Butterfly → debit × 100 × contracts
Breakevens:
Iron Condor → short strikes ± credit
Butterfly → body ± debit
Current P&L: Approximated by where the underlying is relative to the short/long strikes.
6. Delta Modeling
Estimates each short strike’s modeled delta based on how far it is from current price.
Displays total delta balance to show directional bias.
If Delta drifts too high → market imbalance → consider rolling or adjusting.
7. Breach Detection System
Automatically classifies your trade as:
🟢 In Range: Price between short strikes (safe zone).
🟠 Near Breach: Price close to short strike (risk zone).
🔴 Breached: Price outside long strike (stop or adjust zone).
This dynamically changes color in your profit box and info label.
🎨 Visual Components
Element Meaning Color
Red Line Put side strikes 🔻 Red
Green Line Call side strikes 🔺 Green
Yellow Dotted Lines Breakevens 🟡 Yellow
Green Box Profit zone 🟩 Light green
Orange Box Adjustment zone (near breach) 🟧 Orange
Red Box Breach zone 🟥 Red
White Line Current price ⚪ White
Optional labels display strike details and distances (e.g., “📉 Short Put: 620 – 5 pts away”).
📊 Setup Table (Setup Mode Only)
Displays a grid comparing all risk tiers:
Tier Short Call Short Put Width Est. Credit R:R
High 632 614 4.0 $1.20 0.43
Mid 630 616 3.0 $0.90 0.43
Low 628 618 2.0 $0.60 0.43
Highlighted row = selected risk tier.
This lets you compare how wide/narrow each setup is before committing to a trade.
🧾 Info Box (Live Mode)
Displays real-time stats such as:
🔶 IRON CONDOR | 1 Contract
📊 Calls: 626 / 628 | Puts: 620 / 618
💵 Credit: $1.20 | 💰 Profit: $120 | 🔴 Loss: $180
⬆️ BE: 627.2 | ⬇️ BE: 618.8
📍 Current: $623 | 💵 P&L: +$35.00 (+29.1%)
📏 To Short Call: 3 | To Short Put: 3
📊 Delta: 0.05 | IV Rank: 56% (FAVORABLE)
🔴 BREACH STATUS: In Range
🚨 Alerts
The indicator generates TradingView alerts for:
⚠️ Approaching Call Zone → nearing short call
⚠️ Approaching Put Zone → nearing short put
🛑 Stop Loss Triggered → current P&L exceeds loss threshold
🟠 Near Breach → price entering adjustment zone
🔴 Breached → price outside protection (long strikes)
These alerts can be used with TradingView notifications or webhooks.
🧠 How to Use It Step-by-Step
A. Planning (Setup Mode)
Set mode to “Setup.”
Adjust:
Risk Tier (High / Mid / Low / Delta)
Target Delta (0.15–0.30 recommended)
Strike Interval (e.g., 1.0 or 5.0)
Check Setup Table → see suggested strikes & credits.
Optionally toggle Auto-Feed → Live to send to live mode later.
B. Executing (Broker)
Confirm and enter your trade in your brokerage (use the strikes shown).
Record your strikes, net credit/debit, and number of contracts.
C. Tracking (Live Mode)
Switch to “Live” mode.
Paste your strikes in the 📋 Paste Data field:
Iron Condor Example: 626,628,620,618,1.20,1
Butterfly Example: 600,620,640,2.50,2
The chart updates:
Lines = your strikes
Boxes = profit/risk zones
Labels = strike info, distance to price
Info box = P&L, delta, IV rank, breach status
Set alerts for automatic notifications.
D. Managing the Trade
When the chart turns orange or red, you’re approaching or breaching a strike.
Use this signal to roll, hedge, or close your trade.
Monitor Gamma Risk: warning appears when price nears short strikes (explosive delta risk).
📌 Summary
Feature Description
Mode Switching Plan (Setup) or Track (Live)
IV Rank & ATR Modeling Estimates volatility environment
Auto Strike Planning Suggests strikes based on risk/delta
Visual Range Map Profit, breakeven, and adjustment zones
Real-Time Alerts Warns when nearing or breaching strikes
Trade Info Box Displays live risk, reward, delta, IV, and P&L
Setup Table Compares setups across risk tiers
Fully Configurable Works for Iron Condors or Butterflies
Options
ATM Pulse (Arjo)ATM Pulse (Arjo) — Real-Time ATM Options Sentiment & Trend Strength Indicator
Overview
ATM Pulse (Arjo) is an options analytics and trend overlay tool that automatically detects the At-The-Money (ATM) strike for NIFTY, BANKNIFTY , or any selected stock.
It merges Call–Put Volume Ratio (CPVR) sentiment analysis with a Chandelier Exit trend overlay to help traders visualize both market bias and trend direction in a single chart.
Concepts & Logic
ATM Auto Detection
The script calculates the current ATM strike by rounding the underlying’s price to the nearest strike interval (e.g., 50 for NIFTY, 100 for BANKNIFTY). It then requests live option-chain data for that strike.
Call–Put Volume Ratio (CPVR)
The Call-Put Volume Ratio (CPVR) is calculated as the call volume divided by the put volume.
CPVR > 1.25 → Bullish dominance (Calls stronger)
CPVR < 0.75 → Bearish dominance (Puts stronger)
0.75–1.25 → Neutral sentiment
This ratio helps interpret real-time option-market positioning.
Chandelier Exit Trend Overlay
Using Average True Range (ATR) , the overlay plots dynamic trailing stops and visual trend zones:
🟢 Green: Uptrend continuation zone
🔴 Red: Downtrend continuation zone
A color change signals possible momentum reversal.
Combination of CPVR and Chandelier Exit
CPVR gauges option-market sentiment
Chandelier Exit confirms price-action direction
When both align (e.g., bullish CPVR + green Chandelier zone), it strengthens directional conviction. Divergent readings may signal indecision or early reversals.
How to Use
Open any NIFTY, BANKNIFTY , or stocks chart.
Add ATM Pulse (Arjo) to the chart.
Select your expiry date — the script auto-detects the ATM strike and displays:
C: Call LTP
P: Put LTP
CPVR: Call/Put Volume Ratio label
Watch the Chandelier Exit colors:
🟢 Green = Bullish trend
🔴 Red = Bearish trend
Combine CPVR bias + trend color for confirmation.
If CPVR is above 1.25 and trend color green → More bullish activity (Calls stronger).
If CPVR is below 0.75, and trend color red→ More bearish activity (Puts stronger).
If CPVR is between 0.75 and 1.25 and the trend color is gray/mixed → Neutral
Practical Use Case
The script continuously updates the ATM strike, CPVR , and trend overlay in real time.
It provides a clear visual snapshot of how option volumes align with price momentum , ideal for intraday or short-term directional traders.
Disclaimer
This tool is for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading signals.
Happy Trading. ARJO
Iron Condor & Butterfly VisualizerIt helps you visualize and manage your option spread by:
Plotting strike prices and breakeven lines directly on the chart.
Showing profit/loss zones, adjustment zones, and alerts when price nears critical levels.
Calculating risk/reward, probability of profit, theta decay, IV condition, and trade score.
🎯 2. Inputs & Configuration
You input your trade details as a comma-separated string:
For an Iron Condor
ShortCall, LongCall, ShortPut, LongPut, Credit, Contracts, Target%
Example: 626,628,620,618,1.20,1,30
For a Butterfly Spread
LowerWing, Body, UpperWing, Debit, Contracts, Target%
Example: 600,620,640,2.50,2,50
The indicator automatically parses this and knows which strategy type you selected.
You can also control:
Visuals (profit zones, breakevens, labels)
Risk (stop loss %, adjustment zones)
Account/risk sizing
Market conditions (IV Rank, current IV, DTE)
⚙️ 3. Data Parsing & Strategy Recognition
The code reads your pasted string, splits it by commas, and determines:
Which strikes are short vs long (or wings/body for Butterfly)
Whether the strategy is credit (Iron Condor) or debit (Butterfly)
Calculates net credit/debit, contract size, and profit target
📈 4. Profit/Loss Calculations
It dynamically calculates:
Max Profit
Iron Condor: net credit × 100 × contracts
Butterfly: (wing width − debit) × 100 × contracts
Max Loss
Iron Condor: difference between strikes minus credit
Butterfly: debit × 100 × contracts
Breakeven points
Iron Condor: short strikes ± net credit
Butterfly: body ± debit
Current P&L relative to the live price (close).
⚖️ 5. Risk & Position Sizing
It checks:
Stop-loss trigger (% of max loss)
Adjustment alert if price nears short strikes
Recommended contract size based on account size and % risk per trade
Actual % of account at risk
⏱️ 6. Time Decay & IV Analysis
If you input days to expiration, it shows:
Theta (approx daily time decay)
Decay progress bar (% of 30-day cycle)
IV condition:
Green: favorable (>50 IV Rank)
Yellow: neutral (30–50)
Red: poor (<30)
🧮 7. Trade Scoring
It gives a Trade Score (0–100) based on:
IV Rank (favorable market)
Risk/Reward ratio
Probability of profit
Default 20 baseline points
This helps gauge whether the setup is statistically attractive.
🧠 8. Visualizations
When the indicator runs, it draws on your chart:
Lines
Red = short strikes
Orange dashed = long strikes
Yellow dotted = breakeven levels
Boxes
Green = profit zone
Orange shaded = adjustment zones (approaching danger)
Labels (optional)
Strike labels (call/put prices)
Info box summarizing:
Profit, loss, risk/reward
Breakevens, theta, target, gamma risk flag
🚨 9. Alerts
The script triggers TradingView alerts when:
Price nears call or put adjustment zones
Profit target is hit
Stop loss is hit
These help you manage the trade without constant monitoring.
🧭 10. In Practice
You’d:
Copy the option strikes and trade details from your broker or analyzer.
Paste them into 📋 PASTE YOUR TRADE DATA HERE.
The indicator plots:
Profit/loss region
Adjustment warnings
Key metrics
Alerts if your trade is in danger or near target.
Price Action Bar Counter for Crypto Traders标注美股开收盘时间的K线辅助指标,自动调整夏令时与冬令时,适用于5m、15m、30m与1h级别。
Highlights U.S. stock market open and close times with automatic DST adjustment.
Best used on 5m, 15m, 30m, and 1h charts.
Livelli OI-PNCOI-PNC Levels is a script that displays the open interest (OI) and net short positions (PNC) of a selection of 20 of the most significant stocks in terms of traded value on the Italian market.
PNC are indicated by red dotted lines starting from the close of the last reported change date;
The most significant open interest by number of contracts (Top 10 Calls and Top 10 Puts) are displayed using labels, all on a single line (Strike, CALL, PUT);
A summary table can be activated.
the data is hardcoded using static arrays and must be updated periodically. Data updated of 03/11/2025
########### Italiano ############
Livelli OI-PNC è uno script che permette di visualizzare gli open interest (OI) e le Posizioni Nette Corte (PNC) di una selezione di 20 titoli tra i più significativi per controvalore movimentato del mercato italiano.
Le PNC vengono indicate tramite Linee tratteggiate rosse che partono dal close della data di ultima variazione comunicata;
Sono riportati tramite labels, gli Open Interest più significativi per num.Contratti (Top 10 Call e top 10 Put) tutto su una unica riga per ogni strike (Strike, CALL, PUT);
E' attivabile una Tabella di riepilogo.
Poiché Pine Script non può leggere direttamente file da URL esterni, i dati sono hardcorati tramite array statici e vanno aggiornati periodicamente. Dati aggiornati al 03/11/2025
EMA921// ─────────────────────────────────────────────
// Notes for Publishing
// ─────────────────────────────────────────────
// This script plots EMA 9 and EMA 21 with trend shading.
// Colors: EMA 9 = Orange, EMA 21 = White
// Ideal for short-term trend following & entries.
korea time with 200 korea time
start time
08
09
17
18
23
00
This script makes it easier to look at the charts
The time automatically displays even if you don't bother to bring the mouse by hand
Now you can see the time intuitively
Run a very happy trading session
India Vix based Strangle StrikesA clean Nifty–VIX dashboard that converts India VIX into expected daily moves, price ranges, and suggested strangle strikes. Includes VIX %, expanded 1.2× range, and smart rounded strike levels for options trading.
This script provides a professional on-chart dashboard that converts India VIX into actionable trading levels for Nifty. It calculates the VIX-based expected daily move, projected price ranges, expanded 1.2× ranges, and suggested strangle strike prices. Includes clean formatting, color-coded sections, and real-time updates.
Ideal for traders using straddles, strangles, intraday volatility models, range-bound setups, and options-based risk management.
1.2x expanded range is better success probability, may keep 20% of strangle value as stop loss.
The vix based system is intended to give approx. 70%+ success rate.
3-Phasen-Scanner (BPS / BWB / Neutral) – exakt wie TV-EMA3-Phasen-Scanner (BPS / BWB / Neutral) – exakt wie TV-EMA
SPX 0dte Options TableSPX 0DTE Options Table Indicator 📊
Version: Pine Script v6
Description: A real-time table overlay for 0DTE SPX options, showing strikes, prices, and volumes for calls/puts. Perfect for intraday traders spotting high-volume opportunities!
Perfect for fast look up for options premium ( Real time data required $2/month)
Key Features
Dynamic Table: Displays current SPX price, call/put strikes (e.g., 5700C/5600P), last prices, and volumes in a clean overlay.
Custom Strikes: 1-15 per side (default: 8), with increments of 5+ (default: 10). Strikes rounded to multiples of 10.
Strike Offset: Fixed (default: 0) or dynamic based on remaining trading hours (US session: 9:30 AM-4:00 PM ET, e.g., 6+ hours = ±40).
SPX Handling: Fixed value (default: 6850) or dynamic from open (default: 60-min timeframe).
Data Fetch: OPRA tickers on last bar; customizable timeframe (default: 1-min).
Volume Alerts: Trigger on > threshold (default: 600) if price ≥$1. JSON alerts with ET timestamp.
Customization: Table position, colors, text size (tiny/small/normal/large).
Optimizations: Array-based; weekend-aware; real-time focus.
Limitations: Needs OPRA data access; no historicals; use fixed SPX to avoid open-update errors.
US Standard Quarterly Option Expirations accounting US HolidaysUS Standard Quarterly Option Expirations accounting US Holidays
NWOG/NDOG - HOKO (Public Version)This indicator shows you the intervals between the start of the week and the new day, and it is useful for everyone and everyone can use it.
Session Vertical Lines – WIB (Consistent)Session Line by farisradifana
Give the Session on Indonesian Time :
Asian Session : 6 A.M
London Session : 2 P.M
New York Session : 7 P.M
RSI + MFI + VolumeIndicator shows RSI + MFI + Volume in one panel, marks divergences separate for wicks and bodies, green dots shows where MFI and RSI are oversold
Price Above PDH - Complete Multi-Confirmation Alert
Cashapp $jmoskyhigh
Initial Breakout: Must have ALL confirmations to even start counting
During Hold Period: If ANY confirmation fails at ANY bar, the counter RESETS to zero
Must Re-qualify: If confirmations fail, must cross PDH again with all confirmations to restart
Alert Only Fires: When ALL confirmations are continuously met for the ENTIRE hold period
3. Visual Feedback:
Green background: Above PDH + ALL confirmations present
Red background: Above PDH but MISSING one or more confirmations
Red X above bar: Shows when a confirmation is lost during breakout (counter resets)
Green triangle with "✓ ALL": Alert triggered after full confirmation period
4. Example Scenario:
Scenario 1 - SUCCESS:
Bar 1: Price crosses PDH, Volume spike, MA bullish, Above VWAP → Counter = 1
Bar 2: Still above PDH, ALL confirmations still met → Counter = 2
Bar 3: Still above PDH, ALL confirmations still met → Counter = 3
Bar 4: Still above PDH, ALL confirmations still met → Counter = 4
Bar 5: Still above PDH, ALL confirmations still met → Counter = 5 → ALERT!
Scenario 2 - FAILURE (resets):
Bar 1: Price crosses PDH, Volume spike, MA bullish, Above VWAP → Counter = 1
Bar 2: Still above PDH, ALL confirmations still met → Counter = 2
Bar 3: Still above PDH, but volume drops below threshold → RESET Counter = 0
Bar 4: Still above PDH, ALL confirmations back → Counter = 1 (starts over)
5. Info Panel:
Shows which specific confirmations are failing
"OFF" displayed for disabled confirmations
Big "ALL CONFIRMED" row shows overall status
Warning message if confirmations are lost during breakout
This ensures you only get alerts when the setup is truly strong with ALL confirmations maintained throughout the entire hold period! 🎯
MACD (classic) + Divergences (wicks & bodies, fast/slow)macd with divergences. Wicks + bodies. Two settings for right bar
Option Buying Strategy By Raj PandyaThis strategy is designed for intraday trading on BankNifty using a powerful confluence of trend, structure and momentum. It combines the 9-period Exponential Moving Average (EMA) with Daily Traditional Pivot Points to identify high-probability breakout trades.
A Long (CALL) signal is generated when price crosses and closes above both the 9 EMA and the Daily Pivot Point (PP), confirming upward trend strength. A Short (PUT) signal triggers when price crosses and closes below the 9 EMA and PP, signaling downside momentum. To reduce false signals, the strategy uses RSI with a moving average filter to ensure momentum aligns with price action.
Risk management is built-in with previous candle high/low stop-loss, a fixed 50-point target, and an automatic trailing stop system to protect profits on trending days. This helps capitalize on strong momentum while managing risk effectively.
This strategy works best on the 5-minute timeframe and is optimized for BankNifty futures/options. It aims to capture clean directional moves around key intraday value levels used by institutional traders.
X C/P VPDescription
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.
Zarattini Intra-day Threshold Bands (ZITB)This indicator implements the intraday threshold band methodology described in the research paper by Carlo Zarattini et al.
Overview:
Plots intraday threshold bands based on daily open/close levels.
Supports visualization of BaseUp/BaseDown levels and Threshold Upper/Lower bands.
Optional shading between threshold bands for easier interpretation.
Usage Notes / Limitations:
Originally studied on SPY (US equities), this implementation is adapted for NSE intraday market timing, specifically the NIFTY50 index.
Internally, 2-minute candles are used if the chart timeframe is less than 2 minutes.
Values may be inaccurate if the chart timeframe is more than 1 day.
Lookback days are auto-capped to avoid exceeding TradingView’s 5000-bar limit.
The indicator automatically aligns intraday bars across multiple days to compute average deltas.
For better returns, it is recommended to use this indicator in conjunction with VWAP and a volatility-based position sizing mechanism.
Can be used as a reference for Open Range Breakout (ORB) strategies.
Customizations:
Toggle plotting of base levels and thresholds.
Toggle shading between thresholds.
Line colors and styles can be adjusted in the Style tab.
Intended for educational and research purposes only.
This indicator implements the approach described in the research paper by Zarattini et al.
Note: This implementation is designed for the NSE NIFTY50 index. While Zarattini’s original study was conducted on SPY, this version adapts the methodology for the Indian market.
Methodology Explanation
This indicator is primarily designed for Open Range Breakout (ORB) strategies.
Base Levels
BaseUp = Maximum of today’s open and previous day’s close
BaseDown = Minimum of today’s open and previous day’s close
Delta Calculation
For the past 14 trading days (lookbackDays), the delta for each intraday candle is calculated as the ab
solute difference from the close of the first candle of that day.
Average Delta
For a given intraday time/candle today, deltaAvg is computed as the average of the deltas at the same time across the previous 14 days.
Threshold Bands
ThresholdUp = BaseUp + deltaAvg
ThresholdDown = BaseDown − deltaAvg
Signals
Spot price moving above ThresholdUp → Long signal
Spot price moving below ThresholdDown → Short signal
Tip: For better returns, combine this indicator with VWAP and a volatility-based position sizing mechanism.
NY Open 5 minute Range (5m Box Extended)Draws a box around the first 5 minute candle for the New York session.
PG ATM Strike Line with Call & Put PremiumsPine Script: ATM Strike Line with Call & Put Premiums (Simplified)This Pine Script for TradingView displays the At-The-Money (ATM) strike price, futures price, call/put premiums (time value), and two ratios—Premium Ratio (PR) and Volume Ratio (VR)—for a user-selected underlying asset (e.g., NIFTY, BANKNIFTY, or stocks). It helps traders gauge near-term market direction using options data.How the Script WorksInputs:Expiry: Select year (e.g., '25), month (01–12), day (01–31) for option expiry (e.g., '251028').
Timeframe: Choose data timeframe (e.g., Daily, 15-min).
Symbol: Auto-detects chart symbol or select from Indian indices/stocks.
Strike: Auto-ATM (based on futures) or manual strike input.
Interval: Auto (e.g., 100 for NIFTY) or custom strike interval.
Colors: Customizable for ATM line, labels (Futures Price, CPR, PPR, VR, PR).
Calculations:Futures Price (FP): Fetches front-month futures price (e.g., NSE:NIFTY1!).
ATM Strike: Rounds futures price to nearest strike interval.
Option Data: Retrieves Last Traded Price (LTP) and volume for ATM call/put options (e.g., NSE:NIFTY251028C24200).
Call Premium (CPR): Call LTP minus intrinsic value (max(0, FP - Strike)).
Put Premium (PPR): Put LTP minus intrinsic value (max(0, Strike - FP)).
Premium Ratio (PR): PPR / CPR.
Volume Ratio (VR): Put Volume / Call Volume.
Visuals:Draws ATM strike line on chart.
Displays labels: FP (futures price), CPR (call premium), PPR (put premium), VR, PR.
VR/PR labels: Red (≥ 1.25, bearish), Green (≤ 0.75, bullish), Gray (0.75–1.25, neutral).
Updates on last confirmed bar to avoid redraws.
Using PR and VR for Market DirectionPremium Ratio (PR):PR ≥ 1.25 (Red): High put premiums suggest bearish sentiment (expect price drop).
PR ≤ 0.75 (Green): High call premiums suggest bullish sentiment (expect price rise).
0.75 < PR < 1.25 (Gray): Neutral, no clear direction.
Use: High PR favors bearish trades (e.g., buy puts); low PR favors bullish trades (e.g., buy calls).
Volume Ratio (VR):VR ≥ 1.25 (Red): High put volume indicates bearish activity.
VR ≤ 0.75 (Green): High call volume indicates bullish activity.
0.75 < VR < 1.25 (Gray): Neutral trading activity.
Use: High VR suggests bearish moves; low VR suggests bullish moves.
Combined Signals:High PR & VR: Strong bearish signal; consider put buying or call selling.
Low PR & VR: Strong bullish signal; consider call buying or put selling.
Mixed/Neutral: Use price action or support/resistance for confirmation.
Tips:Combine with technical analysis (e.g., trends, levels).
Match timeframe to trading horizon (e.g., 15-min for intraday).
Monitor FP for context; check volatility or news for accuracy.
ExampleNIFTY: FP = 24,237.50, ATM = 24,200, CPR = 120.25, PPR = 180.50, PR = 1.50 (Red), VR = 1.30 (Red).
Insight: High PR/VR suggests bearish bias; consider bearish trades if price nears resistance.
Action: Buy puts or exit longs, confirm with price action.
Conclusion: This script provides a concise tool for options traders, showing ATM strike, premiums, and PR/VR ratios. High PR/VR (≥ 1.25) signals bearish sentiment, low PR/VR (≤ 0.75) signals bullish sentiment, and neutral (0.75–1.25) suggests indecision. Combine with technical analysis for robust trading decisions in the Indian options market.
Integrated Volatility Intelligence System (IVIS)"Integrated Volatility Intelligence System (IVIS)", shorttitle="VolMind™: Adaptive Volatility Intelligence for Modern Markets"
QQQ Price Levels + Custom LevelsThis indicator projects QQQ price levels onto any chart — ideal for traders who monitor Nasdaq futures (NQ), QQQ ETF, or correlated tech stocks.
It helps visualize where QQQ sits relative to your current instrument and lets you fully customize your view with user-defined colored levels.
QQQ Ladder Projection
Automatically plots a range of evenly spaced QQQ levels around the current QQQ price.
Adjustable multiplier for spacing.
Configurable line style (solid/dashed/dotted), color, and label offset.
Labels show “QQQ ” and move dynamically with chart scaling.
Six User-Defined QQQ Levels
- Type in up to six specific QQQ prices (e.g. key support/resistance or psychological levels).
- Each level has independent color, line width, and line style controls.
- Default theme: 3 red levels (resistance) and 3 green levels (support).
- Lines are projected onto the current chart’s price scale, even if it’s not QQQ.
Colored Overlay Labels
- Labels on the main QQQ ladder automatically recolor at your selected levels.
- A small box overlays the original label, matching your chosen line color for clear visual emphasis.
Dynamic Updates
- Choose to update on every tick or once per candle close.
- Compatible with intraday or higher-timeframe charts.






















