PROTECTED SOURCE SCRIPT
Option Strike Previous Day high and Low

This script automatically plots the previous day’s High and Low levels for a selected Call (CE) and Put (PE) option contract.
It is designed to help options traders quickly identify important price zones without having to fetch or calculate them manually.
Mandatory to Input expiry like. YYMMDD
Mandatory to Input Strike like. 25350
✨ Key Features:
• Automatically requests previous day High/Low for CE and PE of the chosen strike.
• Full-width horizontal lines for clear visibility across the entire chart.
• Configurable appearance: dashed/solid lines, custom width, and label placement (left/right).
• Optional manual level input for custom support/resistance marking.
• Debug mode available to show the tickers and requested values.
⚙️ How to Use:
1. Choose the underlying root (e.g., NIFTY), expiry (YYMMDD), and strike price.
2. Select whether you want to show CE, PE, or both.
3. Adjust label offset to position tags near the chart’s right edge.
4. Use the manual level input if you want to mark an additional reference line.
💡 Why it’s useful:
Option traders often rely on previous day’s option Highs and Lows as intraday reference zones for support, resistance, and breakout levels. This script makes those levels instantly visible and consistently updated, saving time and reducing manual charting errors.
📌 Notes:
• Works on any timeframe chart of the underlying.
• For best use, apply on the underlying index/stock chart, not on the option itself.
• This script does not generate trading signals or make predictions; it provides levels for reference.
It is designed to help options traders quickly identify important price zones without having to fetch or calculate them manually.
Mandatory to Input expiry like. YYMMDD
Mandatory to Input Strike like. 25350
✨ Key Features:
• Automatically requests previous day High/Low for CE and PE of the chosen strike.
• Full-width horizontal lines for clear visibility across the entire chart.
• Configurable appearance: dashed/solid lines, custom width, and label placement (left/right).
• Optional manual level input for custom support/resistance marking.
• Debug mode available to show the tickers and requested values.
⚙️ How to Use:
1. Choose the underlying root (e.g., NIFTY), expiry (YYMMDD), and strike price.
2. Select whether you want to show CE, PE, or both.
3. Adjust label offset to position tags near the chart’s right edge.
4. Use the manual level input if you want to mark an additional reference line.
💡 Why it’s useful:
Option traders often rely on previous day’s option Highs and Lows as intraday reference zones for support, resistance, and breakout levels. This script makes those levels instantly visible and consistently updated, saving time and reducing manual charting errors.
📌 Notes:
• Works on any timeframe chart of the underlying.
• For best use, apply on the underlying index/stock chart, not on the option itself.
• This script does not generate trading signals or make predictions; it provides levels for reference.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.