OPEN-SOURCE SCRIPT

Options levels

141
Overview
Options Levels 🎯 plots 13 key institutional and options-based levels directly on your chart — including Call Wall, Put Wall, Gamma Flip, Whales Pivot, five Whale levels, and Sigma deviation bands (σ¹ / σ²).
It’s designed for both intraday and swing traders, offering a clean visual structure with elegant emoji labels, flexible visibility controls, and precise right-edge extensions for each line.

✨ Key Features
  • Single structured input with 13 ordered levels:
    CallWall, PutWall, GammaFlip, Whales Pivot, Whale1..Whale5, Upperσ1, Upperσ2, Lowerσ1, Lowerσ2
  • Expressive emoji labels (🟢, 🔴, ⚖️, 🌑, 🐋, σ¹/σ²) optimized for dark themes.
  • Right-edge alignment: each line extends exactly to its label — no infinite lines.
  • Group visibility toggles:
    Critical Levels → Call Wall, Put Wall, Gamma Flip, Whales Pivot
    Whale Levels → Whale 1–5
    Sigma Bands → Upper/Lower σ¹ and σ²
  • Dynamic line-length multipliers that emphasize key levels.
  • Built-in alert conditions:
    • Price crossing above the Call Wall
    • Price crossing below the Put Wall


⚙️ Inputs & Settings
  • 📋 Level List (string): comma-separated list of 13 numeric values.
    Example: [6750,6700,6739,6729,6687,6641,6654,6636,6715,6798,6856,6682,6625]
  • 🎨 Appearance
    • Base line length (bars)
    • Label visibility toggle
    • Line thickness
    • Extend line and label to the right
    • Distance (bars) between last candle and label
  • 👁️ Visibility Controls
    • Toggle Critical, Whale, or Sigma levels independently


🚀 How to Use
  1. Paste your list of 13 ordered levels into the input field.
  2. Adjust base length and thickness according to your timeframe.
  3. Enable “Extend to the right” to position labels neatly beyond the last candle.
  4. Use visibility toggles to focus on specific level groups (e.g., hide Whale Levels for short-term setups).
  5. Optionally enable alerts to track price breakouts above/below Call and Put Walls.


The plotted levels are derived from aggregated options flow data, institutional positioning, and volatility-based deviations (σ). They serve as reference zones rather than predictive signals, helping visualize where liquidity and dealer hedging pressure may cluster.

📖 Level Definitions
  • Call Wall 🟢 — The strike with the highest call open interest; potential resistance area.
  • Put Wall 🔴 — The strike with the highest put open interest; potential support area.
  • Gamma Flip ⚖️ — Level where total gamma exposure changes sign; may reflect a shift in dealer hedging behavior.
  • Whales Pivot 🌑 — Represents the average institutional positioning from the previous trading day, reflecting where large option flows were most concentrated.
  • Whale Levels 🐋 — High-premium or large-volume strikes typically linked to institutional activity.
  • Upper σ¹ / σ² 📈 — One and two standard deviations above spot; potential overextension zones.
  • Lower σ¹ / σ² 📉 — One and two standard deviations below spot; potential mean-reversion zones.


Levels are manually input by the user. This script is a visual reference, not a predictive model.

⚠️ Notes
  • Levels are user-provided (not calculated by this script).
  • The indicator does not issue buy/sell signals or provide performance guarantees.
  • Designed purely as a visual aid for contextual market reference.
  • Optimized with barstate.islast for performance (draws only at the latest bar).


Disclaimer:
This indicator is for educational and visual purposes only. It does not generate buy/sell signals or guarantee future results. User-provided levels are meant for contextual reference only.

Developed for traders who rely on market structure and options flow context. Feedback and suggestions are welcome.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.