OPEN-SOURCE SCRIPT
Gamma Dealer (GEX) Flow

Gamma Dealer (GEX) Flow
A clean, high-signal way to map options-derived dealer-positioning levels directly onto your chart. This is a visualization tool — it draws levels you provide. It does not calculate levels from live options data and does not connect to any external feed. You supply the data; the script renders it clearly, with a strength-weighted visual hierarchy so the levels that matter stand out at a glance.
Why dealer-positioning levels matter
Options dealers carry enormous exposure across every session. To stay delta-neutral, they hedge by buying or selling the underlying as price moves. Widely followed theory suggests that at strikes where large open interest concentrates, this hedging activity may be significant enough to leave a footprint on intraday price action. Institutional desks often watch these zones as potential structural reference points — areas where price may stall, reverse, or accelerate.
This indicator gives you a disciplined, repeatable way to keep those reference points in front of you, without cluttering the chart.
What it draws
Put Walls — Below-market zones where theoretical dealer buying may provide structural support. If a major put wall breaks, downside moves can accelerate as that support gives way.
Call Walls — Overhead zones where theoretical dealer selling may be heaviest. Call walls may act as resistance and cap upward moves into that strike.
Flip Zones — The regime boundary many traders treat as a filter. Above it, dealer hedging may behave in a more mean-reverting fashion; below it, hedging may amplify moves. Drawn as a distinct dashed line so it never gets confused with a wall.
Magnets — Reference points price may gravitate toward, such as high-concentration strikes or settlement-gravity zones. Drawn dotted so they read as "pull toward," not "barrier."
Each level is theory-driven and provided as external context — the script's job is simply to render your levels faithfully and legibly.
Strength-weighted hierarchy
Not every level carries the same weight, so the indicator doesn't draw them all the same. Each level accepts an optional strength tier — MASSIVE, HEAVY, MOD, LIGHT — and line thickness scales accordingly. The dominant level on the chart is immediately obvious; minor levels stay visible but recede. You read the structure of the session at a glance, without parsing a single number.
Features
Simple paste-in format. Provide your levels as a single compact string (TYPE:PRICE:STRENGTH, comma-separated). The script parses and draws them automatically.
Smart stacked labels. When two level types land at (or near) the same price, their labels stack cleanly instead of overprinting — so a shared put-wall/magnet strike stays readable.
Sortable info table. A compact on-chart table lists every active level and lets you sort by price (high→low or low→high), by type, or by strength, with a visual strength bar for quick scanning. Four corner positions and three sizes.
Deduplicated lines. Multiple labels at one price still draw a single clean line, keeping the chart uncluttered.
Ten manual custom levels. Independent of the paste input, add up to ten of your own lines — full control of price, label, color, line style (solid/dashed/dotted), width, and label distance. Useful for your own S/R, VWAP anchors, prior-day levels, or anything else you track.
Extend toggle, label distance controls, timezone-agnostic rendering. Fine-tune how far lines run and where labels sit so the layout fits your workflow.
How to use it
The indicator ships pre-loaded with a set of illustrative sample levels, so it draws immediately when you add it — you can see the format and the visual language at work right away. To use your own:
Open the settings and replace the contents of Paste Levels with your formatted level string.
The script draws each level with color and thickness matched to its type and strength.
Use the info table to keep an ordered read of where price sits relative to the nearest walls, flip, and magnets.
Optionally enable any of the ten custom levels for your own reference lines.
The color language is intentional and consistent: green = put walls (support), red = call walls (resistance), yellow = flip zone (regime), purple = magnets (gravity) — so structure is legible the instant it loads.
Open source
The full source is published openly, in TradingView spirit — read it, review it, fork it, learn from it. The parsing and rendering layer is completely transparent: you can see exactly how every level is drawn and styled. This is a display and organization tool for level data you already have; how you generate that data is entirely up to you.
Disclaimer: This indicator is a visualization tool for educational and organizational purposes only. It does not calculate options data, does not provide signals, and is not financial advice. Dealer-hedging behavior is theoretical and markets may not respond to any given level. Always do your own research and manage risk accordingly.
A clean, high-signal way to map options-derived dealer-positioning levels directly onto your chart. This is a visualization tool — it draws levels you provide. It does not calculate levels from live options data and does not connect to any external feed. You supply the data; the script renders it clearly, with a strength-weighted visual hierarchy so the levels that matter stand out at a glance.
Why dealer-positioning levels matter
Options dealers carry enormous exposure across every session. To stay delta-neutral, they hedge by buying or selling the underlying as price moves. Widely followed theory suggests that at strikes where large open interest concentrates, this hedging activity may be significant enough to leave a footprint on intraday price action. Institutional desks often watch these zones as potential structural reference points — areas where price may stall, reverse, or accelerate.
This indicator gives you a disciplined, repeatable way to keep those reference points in front of you, without cluttering the chart.
What it draws
Put Walls — Below-market zones where theoretical dealer buying may provide structural support. If a major put wall breaks, downside moves can accelerate as that support gives way.
Call Walls — Overhead zones where theoretical dealer selling may be heaviest. Call walls may act as resistance and cap upward moves into that strike.
Flip Zones — The regime boundary many traders treat as a filter. Above it, dealer hedging may behave in a more mean-reverting fashion; below it, hedging may amplify moves. Drawn as a distinct dashed line so it never gets confused with a wall.
Magnets — Reference points price may gravitate toward, such as high-concentration strikes or settlement-gravity zones. Drawn dotted so they read as "pull toward," not "barrier."
Each level is theory-driven and provided as external context — the script's job is simply to render your levels faithfully and legibly.
Strength-weighted hierarchy
Not every level carries the same weight, so the indicator doesn't draw them all the same. Each level accepts an optional strength tier — MASSIVE, HEAVY, MOD, LIGHT — and line thickness scales accordingly. The dominant level on the chart is immediately obvious; minor levels stay visible but recede. You read the structure of the session at a glance, without parsing a single number.
Features
Simple paste-in format. Provide your levels as a single compact string (TYPE:PRICE:STRENGTH, comma-separated). The script parses and draws them automatically.
Smart stacked labels. When two level types land at (or near) the same price, their labels stack cleanly instead of overprinting — so a shared put-wall/magnet strike stays readable.
Sortable info table. A compact on-chart table lists every active level and lets you sort by price (high→low or low→high), by type, or by strength, with a visual strength bar for quick scanning. Four corner positions and three sizes.
Deduplicated lines. Multiple labels at one price still draw a single clean line, keeping the chart uncluttered.
Ten manual custom levels. Independent of the paste input, add up to ten of your own lines — full control of price, label, color, line style (solid/dashed/dotted), width, and label distance. Useful for your own S/R, VWAP anchors, prior-day levels, or anything else you track.
Extend toggle, label distance controls, timezone-agnostic rendering. Fine-tune how far lines run and where labels sit so the layout fits your workflow.
How to use it
The indicator ships pre-loaded with a set of illustrative sample levels, so it draws immediately when you add it — you can see the format and the visual language at work right away. To use your own:
Open the settings and replace the contents of Paste Levels with your formatted level string.
The script draws each level with color and thickness matched to its type and strength.
Use the info table to keep an ordered read of where price sits relative to the nearest walls, flip, and magnets.
Optionally enable any of the ten custom levels for your own reference lines.
The color language is intentional and consistent: green = put walls (support), red = call walls (resistance), yellow = flip zone (regime), purple = magnets (gravity) — so structure is legible the instant it loads.
Open source
The full source is published openly, in TradingView spirit — read it, review it, fork it, learn from it. The parsing and rendering layer is completely transparent: you can see exactly how every level is drawn and styled. This is a display and organization tool for level data you already have; how you generate that data is entirely up to you.
Disclaimer: This indicator is a visualization tool for educational and organizational purposes only. It does not calculate options data, does not provide signals, and is not financial advice. Dealer-hedging behavior is theoretical and markets may not respond to any given level. Always do your own research and manage risk accordingly.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.