PROTECTED SOURCE SCRIPT
์—…๋ฐ์ดํŠธ๋จ

๐Ÿง  STWP Options Strategy Dashboard (Strangle)

130
________________________________________
๐Ÿง  STWP Options Strategy Dashboard (Long/Short Strangle)
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 Strangles:
โœ… Long Strangle โ†’ Buy OTM CE + Buy OTM PE
โœ… Short Strangle โ†’ Sell OTM CE + Sell OTM PE

This tool offers a tick-by-tick visual dashboard to monitor:
Live premiums, PnL, breakeven levels, expiry decay, and Greeks.
It is designed **for manual use only** โ€” no trade automation.
Ideal for strategy tracking, education, and decision support.

________________________________________

๐Ÿ“Œ Key Features
โœ… Long & Short Strangle support
โœ… Real-time tracking of CE & PE legs (LTPs, PnL, Premium)
โœ… Max Loss / Profit calculator
โœ… Breakeven range calculator
โœ… Risk:Reward verdict (dynamic logic)
โœ… Smart Exit logic with trade-specific warnings
โœ… Reversal Exit logic based on spot compression
โœ… Optional manual Greeks input (Delta, Gamma, Theta, IV)
โœ… Greek-based bias: Bullish / Bearish / Neutral
โœ… Days to Expiry (DTE) calculator
โœ… Clean dashboard UI (emoji-labeled)
โœ… Built for Indian NSE Options
โœ… Designed to run on **1-second chart only**

________________________________________

๐Ÿ“Œ Option Symbol Inputs (LTP Tracking)
โœ… Call Symbol: OTM CE (above spot)
โœ… Put Symbol: OTM PE (below spot)
๐ŸŽฏ Symbol Tips: Use NSE format like `NSE:RELIANCE25JUL3050CE` and `PE`
โš ๏ธ Valid option symbols are critical for accurate PnL tracking

________________________________________

๐Ÿ“Œ Strategy Parameters
- Call & Put Strike Prices
- Buy/Sell Premiums for both legs
- Lot Size & Number of Lots
- Loss Bearable Amount (โ‚น)
- Expiry Date & Time (used for DTE tracking)

________________________________________

๐Ÿ“Œ Smart Exit Logic
๐Ÿง  A dynamic assistant that checks:
โœ… Profit Target Hit
โŒ Loss Threshold Breach
โณ Expiry nearing with no breakout
๐ŸŸก Partial Profit Zone

๐Ÿ“‰ Guides the trader to avoid emotional decisions.
All messages are suggestive only โ€” no trade recommendations.

________________________________________

๐Ÿ“Œ Reversal Exit Logic (Strangle Specific)
๐Ÿ” Detects if spot is trapped between the call/put strikes
โžก๏ธ If no breakout from the average strike zone, exit is suggested
โš ๏ธ Helps prevent theta decay trap in Long Strangles

________________________________________

๐Ÿ“Œ Greeks (Optional Input)
๐Ÿ”น Manual input for Delta, Gamma, Theta, and IV for both legs
๐Ÿ” Dashboard shows:
- Net Delta: Directional Bias
- Net Gamma: Volatility Risk
- Net Theta: Time Decay Risk
- Avg IV: Vol Crush or Low IV Warning
- Verdict: ๐ŸŸข Strong / ๐ŸŸก Moderate / โŒ Risky

________________________________________

๐Ÿ“Œ Dashboard Display
๐Ÿ“ˆ Strategy Type: Long or Short Strangle
๐Ÿ’น Call & Put Premiums (Entry vs LTP)
๐Ÿ“Š Total Net Premium
๐Ÿ“‰ Real-time PnL
๐Ÿ“ Breakeven Range (Lower & Upper)
๐Ÿง  Smart Exit verdict
๐Ÿ” Reversal Exit guidance
๐Ÿ“† Days to Expiry (DTE)
๐Ÿ“Š R:R Ratio & Quality Verdict
๐Ÿ“ Greeks Summary + Risk Flags (if enabled)
์Šค๋ƒ…์ƒท
________________________________________

โš ๏ธ Important Notes
โœ… Built for NSE Options only
โœ… Designed for Long/Short Strangle strategies
โœ… Use on 1-second chart only
โŒ Will not function correctly on higher timeframes
โœ… This is a manual dashboard โ€” **no orders or automation**
โœ… For educational, research, and tracking use only
โŒ Not financial advice or a trading recommendation

________________________________________

๐Ÿ’ฌ How to Use This Dashboard
1๏ธโƒฃ Choose your strategy: Long or Short Strangle
2๏ธโƒฃ Enter valid CE & PE symbols (OTM strikes)
3๏ธโƒฃ Fill in strike prices and premiums (Buy/Sell)
4๏ธโƒฃ Optionally enter Greeks (Delta, Gamma, etc.)
5๏ธโƒฃ Set your expiry date
6๏ธโƒฃ Monitor PnL, risk zones, exit suggestions
7๏ธโƒฃ Use alerts (if enabled) for major thresholds

________________________________________

๐Ÿค 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.
________________________________________
๋ฆด๋ฆฌ์ฆˆ ๋…ธํŠธ
Update: Now you can select if new trade or running trade just before entering greeks and output will be sown in Trade Outcome cell in the table.

์Šค๋ƒ…์ƒท

๋ฉด์ฑ…์‚ฌํ•ญ

์ด ์ •๋ณด์™€ ๊ฒŒ์‹œ๋ฌผ์€ TradingView์—์„œ ์ œ๊ณตํ•˜๊ฑฐ๋‚˜ ๋ณด์ฆํ•˜๋Š” ๊ธˆ์œต, ํˆฌ์ž, ๊ฑฐ๋ž˜ ๋˜๋Š” ๊ธฐํƒ€ ์œ ํ˜•์˜ ์กฐ์–ธ์ด๋‚˜ ๊ถŒ๊ณ  ์‚ฌํ•ญ์„ ์˜๋ฏธํ•˜๊ฑฐ๋‚˜ ๊ตฌ์„ฑํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์ด์šฉ ์•ฝ๊ด€์„ ์ฐธ๊ณ ํ•˜์„ธ์š”.