PROTECTED SOURCE SCRIPT
Box_Target_Option-SR_Price -(csgnanam)

This indicator combines an advanced Darvas-style Box breakout system with Option Price Support & Resistance levels. It is designed to identify valid consolidation phases and project clear profit targets while filtering out noise.
Key Features:
Smart Box Consolidation:
Automatically identifies consolidation zones using a "stability check" (Highs/Lows must hold for a user-defined period).
Noise Filter: Includes a Minimum Duration and Minimum Height % filter to ignore insignificant chop or tiny "doji" boxes.
Midline: Draws a solid black centerline in every box to help identify equilibrium.
Dual-Sided Targets (Pending Only):
Upon valid breakout, the script instantly projects Target 1 (1:1) and Target 2 (1:2) for BOTH Bullish and Bearish directions.
Smart Hiding: When price touches a specific target line (e.g., T1), that individual line is removed to keep the chart clean, showing only "Pending" targets.
Auto-Hide History:
Option to automatically delete completed boxes from the chart once Target 2 is hit, keeping your historical view clean.
Option Price SR Levels (Optional):
Includes a toggle to show Previous Day High/Low/Close.
For Option Charts Only (CE/PE): Calculates dynamic Support, Midzone, and Breakout levels by averaging the current option price with its opposite pair (e.g., CE + PE avg).
Key Features:
Smart Box Consolidation:
Automatically identifies consolidation zones using a "stability check" (Highs/Lows must hold for a user-defined period).
Noise Filter: Includes a Minimum Duration and Minimum Height % filter to ignore insignificant chop or tiny "doji" boxes.
Midline: Draws a solid black centerline in every box to help identify equilibrium.
Dual-Sided Targets (Pending Only):
Upon valid breakout, the script instantly projects Target 1 (1:1) and Target 2 (1:2) for BOTH Bullish and Bearish directions.
Smart Hiding: When price touches a specific target line (e.g., T1), that individual line is removed to keep the chart clean, showing only "Pending" targets.
Auto-Hide History:
Option to automatically delete completed boxes from the chart once Target 2 is hit, keeping your historical view clean.
Option Price SR Levels (Optional):
Includes a toggle to show Previous Day High/Low/Close.
For Option Charts Only (CE/PE): Calculates dynamic Support, Midzone, and Breakout levels by averaging the current option price with its opposite pair (e.g., CE + PE avg).
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.