OPEN-SOURCE SCRIPT

Tiki Gamma (GEX)

515

Tiki Gamma maps the options dealer hedging levels that may influence intraday price action — directly on your chart.

Options dealers hedge trillions in exposure every session. They typically hedge by buying or selling the underlying to stay delta-neutral. Theoretical models suggest that at strikes where large open interest concentrates, this hedging may be large enough to influence price. These flows can be systematic and large, and are often watched by institutional desks as potential structural support and resistance reference points.

This indicator draws manually provided levels. It does not calculate levels from live options data. It is a visualization tool for external data.

What It Draws

Call Walls & Put Walls — Overhead zones where theoretical dealer selling is heaviest. Below-market zones where theoretical dealer buying provides structural support. Call walls may resist upward moves; put walls, if broken, may lead to accelerated moves. Line thickness scales with strength so the dominant level is immediately visible.

Zero Gamma Flip — An important regime filter in modern markets. Above it, dealers may trade mean-reverting. Below it, they may trade amplifying.

Expert Configuration (Signal-to-Noise Ratio) — Ships with optimized configuration for high-conviction trading. We recommend limiting Walls and Absolute Gamma to 3 levels each at 80%+ strength to filter out noise, while keeping Large Gamma at a 5-level, 50% strength threshold to catch secondary intraday pivots.

Gamma Transition Band (Experimental) — The contested zone around the flip where dealer positioning is mixed. Price action inside this band is inherently noisier. These levels are currently in experimental beta.

Key Gamma Strike & Large Gamma — Potential areas of interest. Price may gravitate toward them. In trending sessions, they can act as checkpoint S/R. Optional strength percentages and GEX magnitude labels show which levels carry real weight.

Vanna Inflection — Where an IV expansion triggers forced delta rehedging independent of price movement. A level that is often monitored during gap opens and VIX events.

Speed Trap — Where a move lower may theoretically create disproportionate dealer selling. A level that may turn a pullback into a flush.

Max Pain — The settlement gravity point. The zone expands automatically near close as charm-driven delta unwinding theoretically strengthens into expiration — reflecting end-of-day pinning behavior.

Expected / Implied Move Bands — 1-SD and 2-SD statistical envelopes. Inside the box: mean reversion is plausible. Outside it: respect the move.

Visual Design

  • Regime Background — Chart can be configured to tint teal above the gamma flip (stabilizing), magenta below (amplifying). Off by default to minimize clutter.
  • Strength-Scaled Lines & Opacity — Dominant levels draw thicker and more opaque. Weaker levels fade. Hierarchy is visible without reading a single label.
  • HUD Dashboard — Compact overlay showing current regime, distance to nearest walls in implied-move units (sigma), and futures basis shift.
  • Proximity Highlighting — Zone opacity increases when price enters a level. The active level always stands out.
  • Max Pain Expansion — The max pain zone grows as charm effects strengthen into the close, reflecting real-time gravitational pull.
  • Price Axis Tags — Every level is tagged on the price axis for quick reference without chart clutter.
  • Futures Basis Shift — SPX/NDX levels mapped accurately onto ES/NQ charts. When in Prior Bar mode, the indicator dynamically calculates the exact, real-time basis offset using prior close data to ensure perfect, stable alignment. If the ticker is unmapped or Session Open mode is selected, it automatically falls back to your initially pasted Basis Shift.


Settings & Configuration

The indicator features deep customisation via its settings panel, grouped for ease of use:

  • Visibility — Toggle individual level types (Walls, GEX nodes, Vanna, Speed Trap, etc.), the HUD Dashboard, and Price Axis Labels. Choose between Level names, Prices, or both for on-chart labels.
  • Style — Adjust base Line Width and enable Strength scaling for width/opacity. Toggle GEX Magnitude ($) and Vol Resilience (↑/↓) arrows in labels. Select Label Alignment (Left vs Last Bar) and Format (Full vs Abbreviated). Configure Display Timezone for timestamped levels.
  • Level Filters — Fine-tune signal clarity by setting global and per-type "Min Strength %" thresholds. Use the "Max Total Levels" cap to limit the total number of lines drawn near price.
  • Colors & Opacity — Customise the color for every level category. Global sliders control base opacity for lines and shaded influence zones.
  • Visual Effects & Advanced — Configure Regime Background colors and opacity. Customise Advanced Max Pain settings, including the close-time target and the growth window for end-of-day expansion.


How It Works

Paste your formatted level data into the indicator's text input. Each level accepts optional metadata — strength, vol resilience, and GEX magnitude — so the indicator reflects the full depth of the pipeline output, not just price levels.

Open Source

Full source is published openly. Read it, fork it, learn from it. Every level type is documented in the script header with the theoretical dealer mechanics that drive it. The display layer is transparent.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.