OPEN-SOURCE SCRIPT
Stock Option Seller - Open Road

## 📌 Description — Open Road · Option Seller
**Open Road · Option Seller** is a structured decision-support indicator designed for **systematic option sellers** trading monthly credit spreads on large-cap Indian equities.
It converts price action, momentum, and volatility into a **clear, rules-based structure selection**:
* **Put Credit Spread**
* **Call Credit Spread**
* **Iron Condor**
* **Wait (no trade)**
The goal is simple:
Remove discretion and provide a **repeatable framework for directional and non-directional option selling**.
---
## ⚙️ Core Logic
The system is built on a **multi-factor scoring model**:
### 1. Trend Engine (3-factor scoring)
* EMA positioning (20/50)
* Short-term consistency (last 5 closes vs EMA)
* 21-day momentum
This produces a **Trend Score (-3 to +3)**:
* +3 → Strong Bullish
* -3 → Strong Bearish
* Between → Neutral / Lean bias
---
### 2. Market Condition Filters
* **RSI (14)**
* Identifies exhaustion and conflicts with trend
* **ADX (14)**
* Distinguishes trending vs range-bound environments
---
### 3. Structure Selection Logic
* **Low trend / extreme RSI → Iron Condor**
* **Trend + clean RSI + ADX confirmation → Directional spreads**
* **Conflict → No trade (WAIT)**
This ensures trades are taken only when **market structure is aligned**.
---
### 4. Strike & Risk Framework
* Uses **ATR-based wing sizing**
* Automatically rounds to practical strike intervals
* Provides **approximate strike suggestions** for:
* Short legs
* Hedge legs
---
## 📊 Visual Panels
The indicator includes 4 diagnostic panels:
1. **EMA Distance Panel**
→ Measures price positioning vs trend
2. **RSI Panel**
→ Highlights overbought / oversold regimes
3. **ADX Panel (+DI / -DI)**
→ Identifies trend strength and direction
4. **Trend Score Histogram**
→ Clean visual representation of directional bias
---
## 🧠 Signal Output
On the latest candle, the system displays a **decision panel** with:
* Trend classification
* Score (out of 3)
* RSI & ADX interpretation
* ATR + wing size
* Final structure recommendation
* Suggested strike levels
---
## 🎯 Designed For
* Monthly option sellers
* Systematic traders (rule-based execution)
* Traders who want to avoid discretionary bias
* Large-cap equity option strategies
Best suited for:
**RELIANCE, HDFCBANK, TCS, SBIN, AXISBANK (Daily timeframe)**
---
## ⚠️ Important Notes
* This is a **decision-support tool**, not a fully automated trading system
* Strike suggestions are **approximate** and should be validated with live option chain data
* Works best when combined with **risk management and position sizing discipline**
---
## 🧩 Philosophy
Most option sellers fail not because of strategy, but because of **inconsistent structure selection**.
Open Road enforces:
* When to sell directionally
* When to stay neutral
* When to not trade
That alone removes a large part of edge erosion.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.