OPEN-SOURCE SCRIPT
Option Price SR (csgnanam)

## ⚖️ Disclaimer
This script is provided for **educational and analytical purposes only**.
It does not constitute financial advice.
Use proper risk management and trade responsibly.
---
## 📌 Indicator Concept & Trading Logic
This is a rule-based reference indicator designed to interpret **option price behavior** using **previous-day derived equilibrium levels**.
The indicator helps traders classify the market into **range-bound, breakout, or invalid trade zones** by observing how **ATM Call (CE) and Put (PE)** prices react around these levels.
All levels are **fixed for the trading day** and recalculated only on the next session.
---
## 📊 Core Levels Explained
The indicator plots the following **daily-anchored reference levels**:
* **PDH / PDL** – Previous Day High / Low of the option
* **PDC** – Previous Day Close
* **100% AVG (Breakout Zone)**
Average of previous-day CE and PE prices for the same strike
* **75% AVG (Midzone)**
Balance / decision zone
* **50% AVG (Support Zone)**
Lower acceptance / decay boundary
These levels act as **reaction zones**, not prediction lines.
---
## 🧠 Market Interpretation Logic
### 1️⃣ Range-Bound Market Condition
* When **both ATM CE and ATM PE** are **trading within the 100% AVG (Breakout) level**,
the market has a **high probability of remaining range-bound**.
* Premium expansion is limited on both sides.
* Ideal environment for **non-directional strategies**.
---
### 2️⃣ Breakout Validation
* A **true directional move** requires **asymmetry** between CE and PE.
* If **one side moves into breakout**, the **opposite side must stay suppressed**.
**Example:**
* If **CE breaks down below Midzone**,
then **PE must be above Breakout or at least above Midzone**.
* The same logic applies inversely for PE breakdowns.
This confirms **capital rotation**, not random premium decay.
---
### 3️⃣ Midzone (75%) – Reversal Watch Area
* The **Midzone** is a **high-probability reaction area**.
* Many intraday reversals initiate from this level.
* Price acceptance or rejection here defines:
* Continuation
* Mean reversion
* Failed breakout
This zone should be **closely monitored for structure and volume behavior**.
---
### 4️⃣ Support Zone (50%) – Trade Invalidation
* When an option price trades **below the Support (50%) level**:
* That option side becomes **non-tradable**
* Premium strength is lost
* Risk increases significantly
Trades **below support** are considered **low probability** and should be avoided.
---
## ⚠️ Important Usage Notes
* This indicator is **not a buy/sell signal generator**
* It is a **context and decision-filter tool**
* Best used in combination with:
* Price action
* Structure
* Spot/index behavior
* Time-of-day context
All levels are **session-anchored** and do **not repaint intraday**.
---
## 🎯 Intended Use Case
* Intraday option traders
* ATM / near-ATM focus
* Range vs directional market identification
* Premium behavior analysis
* Trade filtering and risk control
---
This script is provided for **educational and analytical purposes only**.
It does not constitute financial advice.
Use proper risk management and trade responsibly.
---
## 📌 Indicator Concept & Trading Logic
This is a rule-based reference indicator designed to interpret **option price behavior** using **previous-day derived equilibrium levels**.
The indicator helps traders classify the market into **range-bound, breakout, or invalid trade zones** by observing how **ATM Call (CE) and Put (PE)** prices react around these levels.
All levels are **fixed for the trading day** and recalculated only on the next session.
---
## 📊 Core Levels Explained
The indicator plots the following **daily-anchored reference levels**:
* **PDH / PDL** – Previous Day High / Low of the option
* **PDC** – Previous Day Close
* **100% AVG (Breakout Zone)**
Average of previous-day CE and PE prices for the same strike
* **75% AVG (Midzone)**
Balance / decision zone
* **50% AVG (Support Zone)**
Lower acceptance / decay boundary
These levels act as **reaction zones**, not prediction lines.
---
## 🧠 Market Interpretation Logic
### 1️⃣ Range-Bound Market Condition
* When **both ATM CE and ATM PE** are **trading within the 100% AVG (Breakout) level**,
the market has a **high probability of remaining range-bound**.
* Premium expansion is limited on both sides.
* Ideal environment for **non-directional strategies**.
---
### 2️⃣ Breakout Validation
* A **true directional move** requires **asymmetry** between CE and PE.
* If **one side moves into breakout**, the **opposite side must stay suppressed**.
**Example:**
* If **CE breaks down below Midzone**,
then **PE must be above Breakout or at least above Midzone**.
* The same logic applies inversely for PE breakdowns.
This confirms **capital rotation**, not random premium decay.
---
### 3️⃣ Midzone (75%) – Reversal Watch Area
* The **Midzone** is a **high-probability reaction area**.
* Many intraday reversals initiate from this level.
* Price acceptance or rejection here defines:
* Continuation
* Mean reversion
* Failed breakout
This zone should be **closely monitored for structure and volume behavior**.
---
### 4️⃣ Support Zone (50%) – Trade Invalidation
* When an option price trades **below the Support (50%) level**:
* That option side becomes **non-tradable**
* Premium strength is lost
* Risk increases significantly
Trades **below support** are considered **low probability** and should be avoided.
---
## ⚠️ Important Usage Notes
* This indicator is **not a buy/sell signal generator**
* It is a **context and decision-filter tool**
* Best used in combination with:
* Price action
* Structure
* Spot/index behavior
* Time-of-day context
All levels are **session-anchored** and do **not repaint intraday**.
---
## 🎯 Intended Use Case
* Intraday option traders
* ATM / near-ATM focus
* Range vs directional market identification
* Premium behavior analysis
* Trade filtering and risk control
---
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
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 de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
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.