OPEN-SOURCE SCRIPT

Put Credit Spread Combined Price Tracker

341
📊 Description
The Put Credit Spread Combined Price Tracker is an advanced options visualization and risk assessment workspace designed specifically for multi-position credit spread sellers. Instead of guessing your proximity to risk, this indicator maps your mathematical break-even thresholds directly onto your live asset candle chart while maintaining a real-time Black-Scholes Options Pricing Matrix Dashboard.
This tool is ideal for tracking individual or nested index options structures (such as SPX, NDX, or RUT) where precision risk boundary management is critical.
________________________________________
⚙️ How to Set Up Your Spreads
1. Add to Chart: Load the indicator on your target ticker (e.g., SPX).
2. Open Settings: Click the gear icon on the indicator name to open the configuration menu.
3. Configure Your Engine:
o Keep Enable Automated Volatility checked to let the script automatically extract a continuous historical volatility proxy, or uncheck it to key in your broker's implied volatility (IV %) reading manually.
4. Input Your Positions (Supports up to 4 Parallel Trades):
o Check the Box to enable a specific spread position.
o Short/Long Put Strike: Key in your exact leg boundaries.
o Premium Received: Enter the net premium collected per spread block (e.g., 5.00 for a $500 credit).
o Contracts Quantity: Enter your position size.
o Start/Exp Date: Key in your precise calendar execution parameters. The indicator automatically bounds the line drawings to your trade's specific lifecycle window.
________________________________________
📉 Reading the Chart Visuals
• Dashed Break-Even Lines: The script removes clutter by stripping out raw strike lines. Instead, it plots the absolute net financial break-even floor for each position (Short Strike - Premium Collected). If the market candles drop below this dashed line at expiration, the position enters a net loss state.
• Right-End Anchored Labels: Each active position features a dedicated text flag pinned directly to the right margin of your screen, letting you instantly match a specific break-even line to its designated position entry.
________________________________________
🧮 Understanding the Dashboard Table (Bottom-Right)
The tracking matrix evaluates your positions dynamically using a full Black-Scholes Options Pricing model loop on every price tick:
• Strikes (S/L): Displays your structured position boundaries for quick auditing.
• Current Mark: Shows what the option spread is worth right now in the open market before expiry, modeling continuous time decay (\(\theta \)) and underlying spot movements.
• Live Open P&L: Replicates your broker's dashboard. It dynamically updates using (Net Credit - Current Mark Value) * 100 * Qty. Cells turn Green for an open profit and Red for an open loss.
• Position Delta: Displays your aggregate Greeks exposure. Since put credit spreads are directionally bullish, this value will calculate as a net positive number.
• Current IV: Shows the exact annualized volatility proxy percentage fueling your options pricing calculations.
• Days Left: Counts down the exact localized time window remaining before contract expiration.
________________________________________

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.