OPEN-SOURCE SCRIPT
Mis à jour GEX Levels for NQ/NDX/QQQ Gamma Exposure

DESCRIPTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A professional framework for Gamma Exposure analysis on NASDAQ-100 instruments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT THIS INDICATOR DOES
This indicator visualizes key strategic levels derived from Gamma Exposure (GEX) analysis — the zones where dealer hedging flows create measurable support and resistance.
What you see:
- Call Walls — resistance zones where dealers hedge against upside
- Put Walls — support zones where dealers hedge against downside
- Zero Gamma — the structural pivot between mean-reversion and trend
- Expected Move bands — statistical range boundaries
- GEX Histogram — gamma distribution profile directly on chart
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WORKS OUT OF THE BOX
The indicator ships with pre-loaded 5DTE weekly GEX levels — add it to your chart and you'll see levels immediately. No setup, no copy/paste needed. We refresh the built-in data every week.
If you have access to more frequent data (0DTE, intraday), paste it into the GEX Data field in settings — your data always takes priority. Clear the field to fall back to the built-in weekly levels.
Pre-loaded PDH/PDL reflect the session at time of update. Fresh daily structure levels require pasting updated data.
Daily 0DTE data updates available soon via invite-only version — DM for early access.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
KEY FEATURES
▸ Ticker Switcher
Select NQ, NDX, or QQQ directly in settings.
Data converts automatically (NQ-NDX spread: 40 pts, QQQ ≈ NDX/40).
One script, three instruments.
▸ GEX Profile Histogram
See gamma distribution as horizontal bars on your chart.
Instantly spot where positioning clusters.
▸ Color Themes
Choose between Boreal, Classic, or Lady Trader palettes.
▸ Level Toggles
Show/hide level groups independently:
GEX Levels | System Levels | Structure Levels
▸ Rich Tooltips
Hover for details: GEX values, Call/Put ratio, Hold/Break probabilities.
▸ Flip Detection
When price crosses a level, it automatically updates role and style (solid → dashed).
▸ GEX Threshold Filter
Hide weak levels below a minimum magnitude to focus on significant zones.
▸ Smart Level Distribution
Levels are equally split above/below spot, with closest levels always protected from max limit.
▸ Alert System
Get notified when price crosses key GEX levels. Alerts are pre-configured for the built-in 5DTE levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO READ THE LEVELS
Each line represents a zone where price reaction is statistically probable:
- Thick solid lines = level not yet crossed
- Dashed lines = level flipped (price crossed through)
- Cyan/Teal or Green = potential support (Put Walls)
- Pink/Red = potential resistance (Call Walls)
- Gray = structural levels (Zero Gamma, Vol Bands, PDH/PDL)
The indicator shows structure, not predictions.
Use it to identify where the market is likely to react — not which direction it will go.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PRO TIP: CONFLUENCE
This tool is most powerful when combined with your own analysis.
Highest-probability setups occur when GEX levels align with:
Price action zones (support/resistance, order blocks)
Volume Profile (HVN/LVN, VWAP)
Technical structure (prior highs/lows, trend lines)
One level alone is information. Confluence is edge.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This tool is for informational and educational purposes only.
It does not constitute financial advice. Trading involves significant risk.
Past structure does not guarantee future behavior.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DATA FORMAT REFERENCE (for DIY users)
The GEX Data input field accepts a formatted string: L:levels|P:profile
— L: section = level lines on the chart
— P: section = GEX profile bars (horizontal histogram)
— Separated by |P:
LEVELS (L: section):
strike,type,label,tooltip,magnitude — separated by semicolons
— strike: price in NQ terms (integer)
— type: CW (Call Wall), PW (Put Wall), ZG (Zero Gamma), MP (Max Pain), EH/EL (Expected Move), VH/VL (Vol Bands), PDH/PDL/PWH/PWL (Structure)
— label: display name
— tooltip: hover text (use ~ for line breaks)
— magnitude: GEX in millions (0 for non-GEX levels)
PROFILE (P: section):
strike,score,sign — separated by semicolons
— score: -10 to 10
— sign: 1 = call-dominant, -1 = put-dominant
DIY workflow:
— Get a delayed options chain (any broker or public data provider)
— Filter to target expiry
— For each strike: Gamma via Black-Scholes, then GEX = Gamma × OI × 100 × Spot²
— Rank by magnitude, normalize scores 0-10
— Paste into Settings → GEX Data
Latest Levels Update 2026-03-08 - 5DTE Exp
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A professional framework for Gamma Exposure analysis on NASDAQ-100 instruments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT THIS INDICATOR DOES
This indicator visualizes key strategic levels derived from Gamma Exposure (GEX) analysis — the zones where dealer hedging flows create measurable support and resistance.
What you see:
- Call Walls — resistance zones where dealers hedge against upside
- Put Walls — support zones where dealers hedge against downside
- Zero Gamma — the structural pivot between mean-reversion and trend
- Expected Move bands — statistical range boundaries
- GEX Histogram — gamma distribution profile directly on chart
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WORKS OUT OF THE BOX
The indicator ships with pre-loaded 5DTE weekly GEX levels — add it to your chart and you'll see levels immediately. No setup, no copy/paste needed. We refresh the built-in data every week.
If you have access to more frequent data (0DTE, intraday), paste it into the GEX Data field in settings — your data always takes priority. Clear the field to fall back to the built-in weekly levels.
Pre-loaded PDH/PDL reflect the session at time of update. Fresh daily structure levels require pasting updated data.
Daily 0DTE data updates available soon via invite-only version — DM for early access.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
KEY FEATURES
▸ Ticker Switcher
Select NQ, NDX, or QQQ directly in settings.
Data converts automatically (NQ-NDX spread: 40 pts, QQQ ≈ NDX/40).
One script, three instruments.
▸ GEX Profile Histogram
See gamma distribution as horizontal bars on your chart.
Instantly spot where positioning clusters.
▸ Color Themes
Choose between Boreal, Classic, or Lady Trader palettes.
▸ Level Toggles
Show/hide level groups independently:
GEX Levels | System Levels | Structure Levels
▸ Rich Tooltips
Hover for details: GEX values, Call/Put ratio, Hold/Break probabilities.
▸ Flip Detection
When price crosses a level, it automatically updates role and style (solid → dashed).
▸ GEX Threshold Filter
Hide weak levels below a minimum magnitude to focus on significant zones.
▸ Smart Level Distribution
Levels are equally split above/below spot, with closest levels always protected from max limit.
▸ Alert System
Get notified when price crosses key GEX levels. Alerts are pre-configured for the built-in 5DTE levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO READ THE LEVELS
Each line represents a zone where price reaction is statistically probable:
- Thick solid lines = level not yet crossed
- Dashed lines = level flipped (price crossed through)
- Cyan/Teal or Green = potential support (Put Walls)
- Pink/Red = potential resistance (Call Walls)
- Gray = structural levels (Zero Gamma, Vol Bands, PDH/PDL)
The indicator shows structure, not predictions.
Use it to identify where the market is likely to react — not which direction it will go.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PRO TIP: CONFLUENCE
This tool is most powerful when combined with your own analysis.
Highest-probability setups occur when GEX levels align with:
Price action zones (support/resistance, order blocks)
Volume Profile (HVN/LVN, VWAP)
Technical structure (prior highs/lows, trend lines)
One level alone is information. Confluence is edge.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This tool is for informational and educational purposes only.
It does not constitute financial advice. Trading involves significant risk.
Past structure does not guarantee future behavior.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DATA FORMAT REFERENCE (for DIY users)
The GEX Data input field accepts a formatted string: L:levels|P:profile
— L: section = level lines on the chart
— P: section = GEX profile bars (horizontal histogram)
— Separated by |P:
LEVELS (L: section):
strike,type,label,tooltip,magnitude — separated by semicolons
— strike: price in NQ terms (integer)
— type: CW (Call Wall), PW (Put Wall), ZG (Zero Gamma), MP (Max Pain), EH/EL (Expected Move), VH/VL (Vol Bands), PDH/PDL/PWH/PWL (Structure)
— label: display name
— tooltip: hover text (use ~ for line breaks)
— magnitude: GEX in millions (0 for non-GEX levels)
PROFILE (P: section):
strike,score,sign — separated by semicolons
— score: -10 to 10
— sign: 1 = call-dominant, -1 = put-dominant
DIY workflow:
— Get a delayed options chain (any broker or public data provider)
— Filter to target expiry
— For each strike: Gamma via Black-Scholes, then GEX = Gamma × OI × 100 × Spot²
— Rank by magnitude, normalize scores 0-10
— Paste into Settings → GEX Data
Latest Levels Update 2026-03-08 - 5DTE Exp
Notes de version
Weekly 5dte levels updated at 26.03.15Notes de version
Last update: 2026-03-23 | Expiry: 5DTE | Next update: ~2026-03-29Notes de version
Bux Fix on NQ/NDX conversionNotes de version
Last update: 2026-03-29 | Expiry: 5DTE | Next update: ~2026-04-05Notes de version
26.04.05 Weekly 5DTE levels updateNotes de version
2026-04-12 Latest 5DTE Weekly Levels UpdatedNotes de version
Weekly updated at 2026-04-19Notes de version
2026-04-27 weekly updateNotes de version
2026.05.04 Weekly 5dte updateNotes de version
2026-05-11 Weekly 5DTE updateNotes de version
v7.2 — Feature parity with the ES/SPX/SPY indicatorThis release brings the NQ/NDX/QQQ indicator up to the same feature
set as the ES/SPX/SPY one. Existing users keep the same indicator on
their charts — just refresh after the Update Publication to get the
new tools.
What's new
• Breakout Structure (BOS): automatic BOdl / BOds markers with +FVG
annotations on H1, H4, D, W and M timeframes.
• Session Boxes: visual ranges for Asia / Europe / Pre-Open / RTH /
Opening Range / Close.
• Session AVWAP: VWAP anchored to each session open, plus optional
per-session deviation bands.
• Confluence Zones: highlights clusters of multiple levels (GEX +
system + structure) inside ±5% of prev-day ATR.
• Smarter alerts: the alert system now reads from the live BOS levels
so the price triggers stay in sync with the weekly publish — no
more hand-coded thresholds.
What's unchanged
• Display Ticker (NQ / NDX / QQQ) auto-scales every level (NDX =
futures − spread, QQQ = (futures − spread) / 40).
• Built-in weekly 5-DTE NQ levels stay the default; paste a custom
string in "Live GEX Override" to use your own snapshot.
• All filters (Max Levels, Show Only Near Price, Min GEX Threshold)
remain available and unchanged.
Notes de version
2026-05-18- weekly 5DTE updateNotes de version
2026-06-01- Weekly 5DTE Lev UpdateNotes de version
2026-06-08 weekly 5DTE updateNotes de version
2026-06-22- Weekly 5DTE GEX levels updatedNotes de version
• Wall flip state (per wall, single state per side):- CW non-flipped → 2 consecutive 5m closes ABOVE strike → flipped
- CW flipped → 2 consecutive 5m closes BELOW strike → restored
- PW symmetric
The 5m close stream is fetched via request.security("5") so the rule
behaves identically on a 1m, 5m, or 1h display chart.
• Visual treatment of flipped walls:
- Color preserved (CW = nature pink, PW = nature cyan). No more cross-
fade between colorPos/colorNeg based on price position.
- Line width drops by 1 (min 1) — "weakened in its current role".
- Label gains a "↺" suffix; tooltip explains "Flipped Res → Sup (2× 5m
close beyond)" or "Flipped Sup → Res", vs "Resistance" / "Support"
in the normal state.
• New "Label Side" input (Colors & Style group) — choose Left or Right.
Right anchors the label past the profile bars so it overlaps neither
candles nor profile. Left is the historical placement (default).
• Default line width 1 → 2 so the flipped width-1 cue is visible out of
the box without forcing the user to bump their style.
• All horizontal levels (walls, system, structure) now render with
extend=extend.both — visually connects the Right-side label to the line
crossing the chart.
5DTE Levels are updated at 2026-06-27
Notes de version
Weekly 5DTE Updated at 2026-07-06Notes de version
Weekly 5DTE updated 2026-07-13Notes de version
Bug fix: QQQ level scaling — plus a bonus, today's 0DTE levels baked into the default, valid until market close on 2026-07-21Notes de version
Minor Bug FixesNotes de version
IOS/Mobile encoding problem (uppercase/lowercase) issue solvedScript open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.