PROTECTED SOURCE SCRIPT
Telah dikemas kini ๐ง STWP Dashboard (Bull Call Spread / Bear Put Spread)

________________________________________
๐ง STWP Options Strategy Dashboard (Bull Call Spread/ Bear Put Spread)
Author: simpletradewithpatience
Markets: NSE (India)
Best timeframe: 1-second chart
Built with: Pine Script v5
________________________________________
๐ Overview
A real-time options strategy dashboard tailored for NSE traders, designed for two-leg spreads:
โ Bull Call Spread โ Buy Lower Strike CE, Sell Higher Strike CE
โ Bear Put Spread โ Buy Higher Strike PE, Sell Lower Strike PE
This tool gives you a real-time, color-coded visual interface with:
Entry premiums & breakeven levels
Live LTPs & PnL
ROI & Risk: Reward
Smart Exit logic
Alerts for expiry, Greeks, and PnL events
Itโs fully manual, for educational and tracking use only โ not for automated trading.
________________________________________
๐ Key Features
โ Track Bull Call & Bear Put Spreads
โ Live LTP tracking via symbol input
โ Real-time PnL, breakeven, max profit/loss
โ ROI & Risk:Reward calculation
โ Smart Exit logic with trade verdicts
โ Invalidation logic with Reversal Exit
โ Manual input of Greeks (Delta, Gamma, Theta, IV%)
โ Greek-based alerts for Gamma Risk, IV Crush, Theta Decay
โ Days to Expiry (DTE) tracking
โ Fully customizable alert system
โ Clean, emoji-labelled dashboard UI
โ Built for Indian NSE options only
โ Requires 1-second chart for correct data
________________________________________
๐ Option Symbol Inputs (LTP Tracking)
โ Long Leg Symbol (Buy): Lower strike CE (Bull Call) or higher strike PE (Bear Put)
โ Short Leg Symbol (Sell): Higher strike CE (Bull Call) or lower strike PE (Bear Put)
โ Symbol Tips: Use TradingView's dropdown to select NSE option symbols like NSE:RELIANCE25JUL3000CE
โ ๏ธ Providing valid option symbols is crucial โ it powers all live tracking and calculations.
________________________________________
๐ Trade Setup Parameters
Spot Price at Entry
Long & Short Strike Prices
Buy Price (Long Leg)
Sell Price (Short Leg)
Lot Size & Number of Lots
Loss Bearable Amount (โน) โ Used by Smart Exit logic to issue early warnings
________________________________________
๐ Expiry Date Input
Expiry Year, Month, and Day
๐ฏ Used to calculate Days to Expiry (DTE) and enable:
โฑ๏ธ Expiry alerts like โLess than 2 Daysโ, โTheta Riskโ, and more
๐ Smart Exit logic adjusts based on time decay
________________________________________
๐ Greeks (Optional)
๐น Default Mode: Donโt Enter Greeks
๐น Optional Mode: Enter Greeks for both legs (Delta, Gamma, Theta, IV%)
๐ Enabling Greeks unlocks:
Net Delta, Gamma, Theta, IV
Greek-based warnings (e.g. Gamma Risk, Theta Risk)
A dashboard Greek Verdict:
โ๐ข Conservativeโ๐ก Moderate Riskโ๐ด Aggressive Risk
________________________________________
๐ Dashboard Display
๐ฏ Strategy Type (Bull or Bear Spread)
๐ Entry Premiums & Live LTPs
๐น Breakeven, Max Profit/Loss, Net Premium
๐ ROI % & Risk:Reward (with verdict)
๐ Real-time PnL using tick-by-tick data
๐ฆ Smart Exit verdict: Hold, Exit Soon, or Book Profit
๐ Reversal Exit Price (spread invalidation logic)
๐ Days to Expiry (DTE)
๐ Greek Data (if enabled) with Net & Average values
โ ๏ธ Greek Risk Verdict for managing directional risk
________________________________________
๐ Alert System (Built-in Alerts)
๐ฏ Target Profit Hit
โ Max Loss Reached
๐ Loss Bearable Limit Breached
๐ Hold Signal
๐ Book Loss / Exit Soon
โณ Expiry Nearing
โ ๏ธ Spread Invalidation Alert (via Reversal Price breach)
๐ฅ High Gamma Risk (if Gamma > ยฑ0.05)
๐ High IV Alert (if IV > 35%)
๐จ Combined Master Alert โ fires if any key condition is triggered
________________________________________
๐ Smart Exit System
โ๏ธ Context-aware, dynamic trade assistant
โ Analyses real-time market, PnL, expiry risk, reversal risk
โ Gives exit suggestions based on:
Time decay
Price invalidation
Breach of defined loss/profit thresholds
โ Keeps you objective โ no emotional exits
________________________________________
๐ Reversal Exit Logic
๐ Detects directional failure in spread structure
Bull Call Spread: Invalidation = Spot falls 25% of net premium below long strike
Bear Put Spread: Invalidation = Spot rises 25% of net premium above short strike
๐ Alerts you to exit even before loss appears
๐ฏ Designed for directional traders using spread logic
๐ก Acts as a breakdown or breakout filter
________________________________________
โ ๏ธ Important Notes
โ Built for NSE Options โ not for global exchanges
โ Only for Bull Call & Bear Put spreads
โ Use on 1-second chart only
โ Will not work properly on higher timeframes
โ Manual tool only โ doesnโt place trades
โ For educational and research use only
________________________________________
๐ฌ How to Use This Dashboard
Choose Your Strategy
โBull Call or Bear Put
Input Symbols & Strikes
โUse Tradingview dropdown to select accurate NSE option symbols
Enter Buy/Sell Prices
โAdd premiums, lot size, no. of lots
(Optional) Enable Greeks
โAdd Delta, Gamma, Theta, IV for both legs
Set Expiry Date
โYear, Month, Day โ activates DTE & expiry alerts
Monitor Dashboard
โLive PnL, Max P/L, ROI, R:R, Smart Exit, Reversal Levels
(Optional) Enable Alerts
โGet notified for PnL events, expiry risk, Greek risk, spread failure
________________________________________
๐ค Final Note
This tool was built with patience and care by simpletradewithpatience to help fellow options traders trade more objectively, systematically, and confidently.
Feel free to share feedback on Tradingview.
Happy Trading! ๐
Stay disciplined. Stay smart.
________________________________________
๐ Glossary
PnL โ Profit & Loss
LTP โ Last Traded Price
IV โ Implied Volatility
DTE โ Days to Expiry
ROI โ Return on Investment
R:R โ Risk to Reward Ratio
CE / PE โ Call / Put Option
SEBI โ Securities and Exchange Board of India
________________________________________
โ ๏ธ Disclaimer
This script is for educational and research purposes only.
I am not a SEBI-registered advisor.
No buy or sell recommendations are made.
Trading options involves significant risk.
Use proper risk management and always consult a licensed advisor if in doubt.
The author is not responsible for any financial losses incurred.
By using this tool, you agree to these terms.
________________________________________
๐ง STWP Options Strategy Dashboard (Bull Call Spread/ Bear Put Spread)
Author: simpletradewithpatience
Markets: NSE (India)
Best timeframe: 1-second chart
Built with: Pine Script v5
________________________________________
๐ Overview
A real-time options strategy dashboard tailored for NSE traders, designed for two-leg spreads:
โ Bull Call Spread โ Buy Lower Strike CE, Sell Higher Strike CE
โ Bear Put Spread โ Buy Higher Strike PE, Sell Lower Strike PE
This tool gives you a real-time, color-coded visual interface with:
Entry premiums & breakeven levels
Live LTPs & PnL
ROI & Risk: Reward
Smart Exit logic
Alerts for expiry, Greeks, and PnL events
Itโs fully manual, for educational and tracking use only โ not for automated trading.
________________________________________
๐ Key Features
โ Track Bull Call & Bear Put Spreads
โ Live LTP tracking via symbol input
โ Real-time PnL, breakeven, max profit/loss
โ ROI & Risk:Reward calculation
โ Smart Exit logic with trade verdicts
โ Invalidation logic with Reversal Exit
โ Manual input of Greeks (Delta, Gamma, Theta, IV%)
โ Greek-based alerts for Gamma Risk, IV Crush, Theta Decay
โ Days to Expiry (DTE) tracking
โ Fully customizable alert system
โ Clean, emoji-labelled dashboard UI
โ Built for Indian NSE options only
โ Requires 1-second chart for correct data
________________________________________
๐ Option Symbol Inputs (LTP Tracking)
โ Long Leg Symbol (Buy): Lower strike CE (Bull Call) or higher strike PE (Bear Put)
โ Short Leg Symbol (Sell): Higher strike CE (Bull Call) or lower strike PE (Bear Put)
โ Symbol Tips: Use TradingView's dropdown to select NSE option symbols like NSE:RELIANCE25JUL3000CE
โ ๏ธ Providing valid option symbols is crucial โ it powers all live tracking and calculations.
________________________________________
๐ Trade Setup Parameters
Spot Price at Entry
Long & Short Strike Prices
Buy Price (Long Leg)
Sell Price (Short Leg)
Lot Size & Number of Lots
Loss Bearable Amount (โน) โ Used by Smart Exit logic to issue early warnings
________________________________________
๐ Expiry Date Input
Expiry Year, Month, and Day
๐ฏ Used to calculate Days to Expiry (DTE) and enable:
โฑ๏ธ Expiry alerts like โLess than 2 Daysโ, โTheta Riskโ, and more
๐ Smart Exit logic adjusts based on time decay
________________________________________
๐ Greeks (Optional)
๐น Default Mode: Donโt Enter Greeks
๐น Optional Mode: Enter Greeks for both legs (Delta, Gamma, Theta, IV%)
๐ Enabling Greeks unlocks:
Net Delta, Gamma, Theta, IV
Greek-based warnings (e.g. Gamma Risk, Theta Risk)
A dashboard Greek Verdict:
โ๐ข Conservativeโ๐ก Moderate Riskโ๐ด Aggressive Risk
________________________________________
๐ Dashboard Display
๐ฏ Strategy Type (Bull or Bear Spread)
๐ Entry Premiums & Live LTPs
๐น Breakeven, Max Profit/Loss, Net Premium
๐ ROI % & Risk:Reward (with verdict)
๐ Real-time PnL using tick-by-tick data
๐ฆ Smart Exit verdict: Hold, Exit Soon, or Book Profit
๐ Reversal Exit Price (spread invalidation logic)
๐ Days to Expiry (DTE)
๐ Greek Data (if enabled) with Net & Average values
โ ๏ธ Greek Risk Verdict for managing directional risk
________________________________________
๐ Alert System (Built-in Alerts)
๐ฏ Target Profit Hit
โ Max Loss Reached
๐ Loss Bearable Limit Breached
๐ Hold Signal
๐ Book Loss / Exit Soon
โณ Expiry Nearing
โ ๏ธ Spread Invalidation Alert (via Reversal Price breach)
๐ฅ High Gamma Risk (if Gamma > ยฑ0.05)
๐ High IV Alert (if IV > 35%)
๐จ Combined Master Alert โ fires if any key condition is triggered
________________________________________
๐ Smart Exit System
โ๏ธ Context-aware, dynamic trade assistant
โ Analyses real-time market, PnL, expiry risk, reversal risk
โ Gives exit suggestions based on:
Time decay
Price invalidation
Breach of defined loss/profit thresholds
โ Keeps you objective โ no emotional exits
________________________________________
๐ Reversal Exit Logic
๐ Detects directional failure in spread structure
Bull Call Spread: Invalidation = Spot falls 25% of net premium below long strike
Bear Put Spread: Invalidation = Spot rises 25% of net premium above short strike
๐ Alerts you to exit even before loss appears
๐ฏ Designed for directional traders using spread logic
๐ก Acts as a breakdown or breakout filter
________________________________________
โ ๏ธ Important Notes
โ Built for NSE Options โ not for global exchanges
โ Only for Bull Call & Bear Put spreads
โ Use on 1-second chart only
โ Will not work properly on higher timeframes
โ Manual tool only โ doesnโt place trades
โ For educational and research use only
________________________________________
๐ฌ How to Use This Dashboard
Choose Your Strategy
โBull Call or Bear Put
Input Symbols & Strikes
โUse Tradingview dropdown to select accurate NSE option symbols
Enter Buy/Sell Prices
โAdd premiums, lot size, no. of lots
(Optional) Enable Greeks
โAdd Delta, Gamma, Theta, IV for both legs
Set Expiry Date
โYear, Month, Day โ activates DTE & expiry alerts
Monitor Dashboard
โLive PnL, Max P/L, ROI, R:R, Smart Exit, Reversal Levels
(Optional) Enable Alerts
โGet notified for PnL events, expiry risk, Greek risk, spread failure
________________________________________
๐ค Final Note
This tool was built with patience and care by simpletradewithpatience to help fellow options traders trade more objectively, systematically, and confidently.
Feel free to share feedback on Tradingview.
Happy Trading! ๐
Stay disciplined. Stay smart.
________________________________________
๐ Glossary
PnL โ Profit & Loss
LTP โ Last Traded Price
IV โ Implied Volatility
DTE โ Days to Expiry
ROI โ Return on Investment
R:R โ Risk to Reward Ratio
CE / PE โ Call / Put Option
SEBI โ Securities and Exchange Board of India
________________________________________
โ ๏ธ Disclaimer
This script is for educational and research purposes only.
I am not a SEBI-registered advisor.
No buy or sell recommendations are made.
Trading options involves significant risk.
Use proper risk management and always consult a licensed advisor if in doubt.
The author is not responsible for any financial losses incurred.
By using this tool, you agree to these terms.
________________________________________
Nota Keluaran
Updated - Columns added = Buying Price | Selling Price | Net LTPSkrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had โ ketahui lebih lanjut di sini.
๐ STWP | Mentor | Demand & Supply Specialist
๐ฏ Helping you become a self-reliant & independent trader
๐ Learn more: simpletradewithpatience.com
๐ฒ WhatsApp: wa.me/919987567889
๐ Trade with Clarity. Learn with Patience.
๐ฏ Helping you become a self-reliant & independent trader
๐ Learn more: simpletradewithpatience.com
๐ฒ WhatsApp: wa.me/919987567889
๐ Trade with Clarity. Learn with Patience.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had โ ketahui lebih lanjut di sini.
๐ STWP | Mentor | Demand & Supply Specialist
๐ฏ Helping you become a self-reliant & independent trader
๐ Learn more: simpletradewithpatience.com
๐ฒ WhatsApp: wa.me/919987567889
๐ Trade with Clarity. Learn with Patience.
๐ฏ Helping you become a self-reliant & independent trader
๐ Learn more: simpletradewithpatience.com
๐ฒ WhatsApp: wa.me/919987567889
๐ Trade with Clarity. Learn with Patience.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.