OPEN-SOURCE SCRIPT
업데이트됨

GEX Levels Dashboard - ES/SPX/SPY Gamma Exposure

24 932
DESCRIPTION (main)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━

A professional framework for Gamma Exposure analysis on S&P 500 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

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

KEY FEATURES

▸ Ticker Switcher
Select ES, SPX, or SPY directly in settings.
Data converts automatically. 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.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

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.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ABOUT THE DATA

The script ships with a static GEX snapshot for demonstration purposes.
To update with fresh data, paste new values into the "GEX Data" input field in indicator settings.
The data format is documented in the input tooltip.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

CREDITS

Alert system contributed by @_prodigy_dev

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

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.


========================================================
RELEASE NOTES (publish these one at a time after publishing)
========================================================

v6.8 (Feb 2026)
- Fixed: Levels no longer disappear when price crosses them
- Closest levels to spot are now protected from max limit
- Profile bars always visible regardless of level filters
- Thanks to bwRT for reporting the turnover bug!

v6.5 (Jan 2026)
- NEW: GEX Threshold Filter — hide weak levels below a minimum magnitude
- NEW: Custom bar color picker for GEX Profile
- Default theme renamed to "Wall Street Classic"
- Bar colors inverted: Call=Bear, Put=Bull (more intuitive)
- Structure levels (PDH/PDL/PWH/PWL) now load correctly
- Credits: Alert system by @_prodigy_dev

v6.4 (Jan 2026)
- Levels now update via copy/paste — no need to re-download
- New unified data format: L:levels|P:profile
- Max visible levels selector (5/10/15/20/25/30/All)
- Rich tooltips with GEX values, C/P ratio, Hold/Break probabilities
- Flipped level colors now reflect current role
릴리즈 노트
v6.9 — PRE-LOADED 5DTE WEEKLY LEVELS

Nothing changes for users who paste their own data (0DTE or otherwise) — everything works exactly like before. This update adds a pre-loaded fallback so new users see levels immediately without any setup.

🆕 What's new:
— The indicator now ships with pre-loaded 5DTE GEX levels (refreshed weekly)
— New users: just add it to your chart, levels are already there
— Existing users: paste your data as usual, it always overrides the pre-loaded levels

📊 Current pre-loaded data:
— Update: 2026-03-02 at 00:10 CET
— Expiry: 5DTE weekly
— Includes: Call/Put Walls, Zero Gamma, Max Pain, Expected Move, Vol Bands, Structure (PDH/PDL/PWH/PWL) + full GEX profile bars

⚙️ Priority logic:
— GEX Data field has content → uses your data (0DTE, intraday, whatever you paste)
— GEX Data field is empty → falls back to pre-loaded 5DTE weekly levels
— Pre-loaded PDH/PDL reflect the session at time of update. Fresh daily structure levels require pasting updated data.

🔧 DIY — want to calculate your own?
— Get a delayed options chain (any broker or public data provider)
— Filter to your target expiry
— For each strike: Gamma via Black-Scholes, then GEX = Gamma × OI × 100 × Spot²
— Rank by magnitude, normalize scores 0-10
— Format the string as described below and paste into Settings → GEX Data

📐 DATA FORMAT REFERENCE

The full string is: L:levels|P:profile

— L: section = level lines on the chart
— P: section = GEX profile bars (horizontal histogram)
— Separated by |P:

LEVELS FORMAT (L: section):
Each level separated by semicolons:
strike,type,label,tooltip,magnitude

— strike: price in ES terms (integer)
— type: level category code (see below)
— label: display name
— tooltip: hover text (use ~ for line breaks)
— magnitude: GEX value in millions (0 for non-GEX levels)

Type codes:
— CW = Call Wall (resistance)
— PW = Put Wall (support)
— ZG = Zero Gamma
— MP = Max Pain
— EH = Expected Move High
— EL = Expected Move Low
— VH = Vol Band High
— VL = Vol Band Low
— PDH = Prior Day High
— PDL = Prior Day Low
— PWH = Prior Week High
— PWL = Prior Week Low

PROFILE FORMAT (P: section):
Each bar separated by semicolons:
strike,score,sign

— strike: price in ES terms
— score: magnitude from -10 to 10
— sign: 1 = call-dominant (resistance), -1 = put-dominant (support)

EXAMPLE:
L:5900,ZG,ZERO GAMMA,Zero Gamma~Key pivot,0;5920,CW,Call Wall,Strike: 5920~Tot GEX: 500M,500.0;5870,PW,Put Wall,Strike: 5870~Tot GEX: -300M,300.0|P:5850,-2.1,-1;5870,-3.5,-1;5920,4.2,1;5940,1.8,1
릴리즈 노트
Weekly 5DTE Levels updated at
2026-03-08
릴리즈 노트
Weekly update 26.03.15
릴리즈 노트
Last update: 2026-03-22 | Expiry: 5DTE | Next update: ~2026-03-29
릴리즈 노트
better SS visible Area
릴리즈 노트
Fixed glitch in Price Action levels
릴리즈 노트
Bug Fix on ES/SPX conversion
릴리즈 노트
Last update: 2026-03-29 | Expiry: 5DTE | Next update: ~2026-04-05
릴리즈 노트
26.04.05 Weekly 5DTE levels update
릴리즈 노트
v7.0

- NEW: Breakout Candles — confirmed BO Weekly, Daily, 4H and 1H
- NEW: Session Boxes — Asia, Europe, Pre-Market and US RTH range visualization
- NEW: Session AVWAP — anchored VWAP per session (Asia, EU, US, Prior Day) with extend lines and labels
- NEW: Confluence Detector — automatic multi-layer cluster detection with color-coded zones (3 / 4 / 5+ levels)
- NEW: Weekly GEX Data field — built-in EOW snapshot loads out of the box, no setup needed
- NEW: Live GEX Override — paste intraday data to override weekly snapshot instantly
릴리즈 노트
2026-04-12 Latest 5DTE Weekly Levels Updated
릴리즈 노트
Weeky updated af 2026-04-19
릴리즈 노트
2026-04-27 weekly update
릴리즈 노트
2026.05.04 Weekly update 5dte
릴리즈 노트
2026-05-11 - Weekly 5DTE update
릴리즈 노트
2026-05-18 Weekly 5DTE Update
릴리즈 노트
2026-06-01 Weekly 5DYE lev Update
릴리즈 노트
2026-06-08-weekly 5DTE update
릴리즈 노트
Bugfix - Latest Update Rolled to NQ/NDX/QQQ interface. Now back to > ES/SPX/SPY
릴리즈 노트
26-06-22 Weekly 5DTE gex levels updated
릴리즈 노트
• 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 by wall nature — whatever the active Color Theme
maps to colorPos (PW) and colorNeg (CW). No more cross-fade between
the two 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.

LEVELS are 5DTE up to date at current update 26-06-27
릴리즈 노트
Weekly 5DTE update at 2026-07-06
릴리즈 노트
Weekly 5DTE Gex levels updated at 2026-07-13

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.