Gamma Exposure (GEX):
Dealer Positioning Signals for Algo Trading

Gamma exposure measures how much option dealers must buy or sell to stay hedged as the market moves. That hedging either dampens price or amplifies it.

By David Bergstrom··13 min read

What Is Gamma Exposure (GEX)?

Gamma exposure (GEX) is a dollar-denominated estimate of how much stock or futures option dealers need to buy or sell to keep their books delta-neutral when the underlying moves. It is built from the gamma of every open option contract, weighted by open interest, and summed across strikes and expirations.

Market makers sell most of the options that retail and institutional traders buy, and they hedge those positions continuously. Whether that hedging leans against the market's move or with it depends on the sign of their net gamma. GEX condenses that into one number per day that we can use to build signals.

SqueezeMetrics, who popularized the metric, showed in their original white paper that realized S&P 500 volatility is lowest when GEX is high and rises sharply as GEX falls below zero. The largest intraday moves cluster in negative-gamma conditions. That relationship is what makes GEX useful as a regime signal for systematic strategies.

Positive vs. Negative Gamma: Two Regimes

Everything about GEX comes down to which side of zero it sits on, and how far.

POSITIVE GEX Dealers dampen the move NEGATIVE GEX Dealers amplify the move Sell rallies, buy dips to stay hedged Lower realized volatility, mean reversion, pinning Typical for: fading, range strategies, premium selling Buy rallies, sell dips to stay hedged Higher realized volatility, trends, larger moves Typical for: breakouts, trend following, wider stops BUILD ALPHA
🟢
Positive GEX

Dealers are net long gamma. As price rises they sell, as price falls they buy. Their hedging leans against the move, so ranges contract, moves fade, and price tends to pin near large strikes.

VS
🔴
Negative GEX

Dealers are net short gamma. They buy into rallies and sell into declines to stay hedged, which pushes price further in the direction it was already going. Volatility expands and trends extend.

Why This Matters for Strategy Design

The same breakout rule can be a great strategy in negative gamma and a losing one in positive gamma. A mean-reversion rule is the reverse. GEX hints at market environment and adds context a price-only backtest is missing.

Does the Relationship Still Hold? GEX vs. Next-Day Range, 2004 to 2026

The claim behind every GEX strategy is that dealer positioning predicts how much the market moves next. Claims like that deserve a check, so I ran it on the data Build Alpha ships: daily GEX and GEX500 against the next session's ES range and return, January 2004 through September 2026, 5,596 sessions.

Scatter plot of gamma exposure versus next day ES futures range in percent from 2004 to 2026 showing large ranges cluster at negative and low GEX
Every session since 2004. The big-range days sit at negative and low GEX. Spearman rank correlation −0.52.

The pattern is not subtle. Sorting sessions into GEX quintiles:

GEX quintileSessionsMean next-day rangeMedianNext-day return std dev
Q1 (lowest GEX)1,1202.60%2.05%2.03%
Q21,1191.50%1.31%1.09%
Q31,1191.26%1.07%0.87%
Q41,1191.09%0.94%0.76%
Q5 (highest GEX)1,1190.93%0.84%0.58%

The lowest-GEX quintile sees a next-day range nearly three times the highest quintile, and the relationship is monotonic across all five buckets. The 346 sessions where GEX was actually negative averaged a 3.6% next-day range against 1.3% for the rest. GEX500 gives the same picture with a slightly stronger rank correlation (−0.56).

Bar chart of mean next day ES range by GEX and GEX500 quintile showing a monotonic decline from lowest to highest gamma exposure
Mean next-day range by quintile, GEX (left) and GEX500 (right)

It Holds in Every Sub-Period

A relationship this well known could have been arbitraged away. This has not been (yet). Splitting the sample into three eras, the lowest quintile out-ranges the highest in each one, including the most recent:

Bar chart comparing next day range for lowest and highest GEX quintiles across 2004 to 2012, 2013 to 2019, and 2020 to 2026 sub-periods
Lowest vs. highest GEX quintile by era. Rank correlation was −0.43, −0.50, and −0.56 respectively, strongest in the newest data.

Is It Just Recent Volatility?

A fair objection. Let's check. GEX tends to be low after volatile days, and volatility clusters. To check that GEX adds something beyond "yesterday was wild," I measured next-day range relative to the prior 20-day ATR instead of in raw percent. The rank correlation shrinks but stays clearly negative (−0.20 for GEX, −0.25 for the SPX-options-only series), and the lowest quintile still out-ranges the highest by about 30%. GEX carries information that recent realized volatility alone does not.

What This Means for Strategy Design

Use GEX to size the expected move. Low or negative GEX is the environment for breakout entries, wider stops and targets, and smaller position size. High GEX is the environment for fading extremes, tighter targets, and premium selling. Pair GEX with your entry logic and let Build Alpha test which combinations hold up.

Method Notes

ES continuous contract, session close to session close, range measured as (high − low) divided by the prior close. GEX and GEX500 are the daily values Build Alpha ships, read at the 16:15 close and compared to the following session. The continuous contract is back-adjusted, so prices were de-adjusted with anchor points before computing percentages; the ATR-relative check is unaffected by that adjustment. Sessions before 2004 were excluded due to available data.

Where GEX Data Comes From

GEX is computed from the options chain, so anyone with strike-level open interest and a pricing model can build it. Several vendors publish a daily aggregate for the S&P 500, and Build Alpha ships gamma exposure as a built-in, pre-processed data series back to 2002 so you can use it as a signal without collecting or calculating anything.

Build Alpha carries two gamma exposure series, and most of the custom signals use both:

GEX

Gamma exposure computed from S&P 500 index (SPX) options. The single number most GEX research refers to.

GEX500

Gamma exposure aggregated across the options on all S&P 500 component stocks. A bottom-up view of the same market.

Index options and single-stock options are traded by different participants for different reasons, so the two series do not always agree. When both are high, dealer positioning is one-sided across the market. When they diverge, the gap can be telling.

GEX vs. GEX500: Why the Spread Matters

GEX VS GEX500 (ILLUSTRATIVE) Spread = GEX − GEX500 Narrow: series agree Widening: divergence expands Narrowing: divergence contracts GEX GEX500 Spread (sign, size, rate of change, rank, z-score) BUILD ALPHA
Illustrative. The shaded gap is the spread. Its sign, size, rate of change, percentile rank, and z-score each become a signal.

A single GEX reading can tell you the regime. Comparing two GEX series can tell you whether the regime is broad or narrow, and whether it is strengthening or unwinding. This gives four distinct things to measure:

  • Sign: is GEX above or below GEX500?
  • Size: how large is the gap in dollars, or as a ratio?
  • Change: is the gap widening or narrowing versus the prior period?
  • Rank: where does today's gap sit against the last year of readings?

Deriving Signals from GEX Data

Raw GEX is a dollar figure that drifts over the years as option volumes grow. A reading that was extreme in 2015 is ordinary today. So, exactly as with the COT Index, the useful signals come from normalizing the series first. The custom signal file uses four techniques:

Percentile Rank

Where does today's value sit relative to the prior 252 periods, roughly one year of daily data? Above the 90th percentile is an extreme high, at or below the 10th an extreme low. This is the GEX equivalent of the COT Index.

Z-Score

How many standard deviations is today's value from its 252-period mean? Beyond +2 or −2 is statistically rare and flags the most stretched positioning.

NORMALIZING GEX: PERCENTILE AND Z-SCORE BANDS (ILLUSTRATIVE) 90th percentile (252) 10th percentile (252) +2σ −2σ Raw GEX levels drift over years. Percentile rank and z-score over a rolling window make "high" and "low" comparable across regimes. BUILD ALPHA

Moving Average Comparison

Is the spread, or the ratio, above or below its own 20-period average? A simple trend read on positioning rather than on price.

New Highs and New Lows

Is GEX at a 20-period high or low? Is it above both of the prior two readings? These catch positioning momentum, which often leads a volatility regime change.

GEX Signals in Build Alpha

Build Alpha includes gamma exposure data as a built-in signal source. Search "GEX" in the signal filter to find the available signals, usable as entries, exits, or strategy filters, no coding required. The 36 custom signals below extend that set and load alongside the built-in ones:

Build Alpha custom indicator interface showing 36 gamma exposure GEX signals loaded for algorithmic trading strategy generation
The 36 custom GEX signals loaded in Build Alpha's Custom Indicators list

Custom GEX Signals: 36 Signals in 5 Families

Below is a set of 36 custom signals that turn the two GEX series into testable conditions. They are organized into five families. Every lookback and threshold (the $2.5B spread level, the 0.30 ratio, the 90th and 10th percentiles, the 20-period windows) is a parameter you can optimize in Build Alpha.

4
Absolute Levels
Sign and dollar size of the spread
6
GEX vs. GEX500 Spreads
Direction and trend of the gap
6
Ratios
GEX divided by GEX500
12
Percentile & Z-Score Extremes
Statistically rare readings
8
Momentum & New Highs/Lows
Positioning breaking out
1. Absolute Levels 4 signals
  • Spread_PositiveGEX is greater than GEX500, so GEX − GEX500 > 0.
  • Spread_NegativeGEX is less than GEX500, so GEX − GEX500 < 0.
  • AbsSpread_Above_2500MAbsolute difference between GEX and GEX500 exceeds $2.5B.
  • AbsSpread_Below_2500MAbsolute difference between GEX and GEX500 is below $2.5B.
2. GEX vs. GEX500 Spreads 6 signals
  • Spread_WideningGEX − GEX500 is larger than it was on the prior period, so the divergence is expanding.
  • Spread_NarrowingGEX − GEX500 is smaller than it was on the prior period, so the divergence is contracting.
  • Spread_Above_SMA20The GEX − GEX500 spread is above its 20-period moving average.
  • Spread_Below_SMA20The GEX − GEX500 spread is at or below its 20-period moving average.
  • GEXpct_Above_GEX500pctGEX's percentile rank is higher than GEX500's percentile rank, each measured over 252 periods.
  • GEXpct_Below_GEX500pctGEX's percentile rank is lower than GEX500's percentile rank.
3. Ratios 6 signals
  • Ratio_Above_030GEX / GEX500 ratio is above 0.30.
  • Ratio_Below_030GEX / GEX500 ratio is below 0.30.
  • Ratio_Above_SMA20The GEX / GEX500 ratio is above its 20-period moving average.
  • Ratio_Below_SMA20The GEX / GEX500 ratio is at or below its 20-period moving average.
  • RatioPct_Above_90thThe GEX / GEX500 ratio is above its 90th percentile over 252 periods.
  • RatioPct_Below_10thThe GEX / GEX500 ratio is at or below its 10th percentile over 252 periods.
4. Percentile and Z-Score Extremes 12 signals
  • GEX_Above_90thPercentileGEX is above its 90th percentile over the prior 252 periods.
  • GEX_Below_10thPercentileGEX is at or below its 10th percentile over the prior 252 periods.
  • GEX500_Above_90thPercentileGEX500 is above its 90th percentile over the prior 252 periods.
  • GEX500_Below_10thPercentileGEX500 is at or below its 10th percentile over the prior 252 periods.
  • SpreadPct_Above_90thThe GEX − GEX500 spread is above its 90th percentile over 252 periods.
  • SpreadPct_Below_10thThe GEX − GEX500 spread is at or below its 10th percentile over 252 periods.
  • Zscore_GEX_aboveGEX has a z-score greater than +2 over a 252-period window.
  • Zscore_GEX_belowGEX has a z-score at or below −2 over a 252-period window.
  • Zscore_GEX500_aboveGEX500 has a z-score greater than +2 over a 252-period window.
  • Zscore_GEX500_belowGEX500 has a z-score at or below −2 over a 252-period window.
  • Zscore_spread_aboveThe GEX − GEX500 spread is more than +2 standard deviations above its recent norm.
  • Zscore_spread_belowThe GEX − GEX500 spread is at or below −2 standard deviations from its recent norm.
5. Momentum and New Highs / New Lows 8 signals
  • GEX_Above_Max_Prior2Current GEX is greater than both of the prior two GEX values.
  • GEX_Below_Min_Prior2Current GEX is below both of the prior two GEX values.
  • GEX500_Above_Max_Prior2Current GEX500 is greater than both of its prior two values.
  • GEX500_Below_Min_Prior2Current GEX500 is below both of its prior two values.
  • GEX_NewHigh_20GEX is at a new 20-period high.
  • GEX_NewLow_20GEX is at a new 20-period low.
  • GEX500_NewHigh_20GEX500 is at a new 20-period high.
  • GEX500_NewLow_20GEX500 is at a new 20-period low.
Download the Custom GEX Signals
Place the file in your BuildAlpha folder. Rename your existing CustomIndicators.xml first so you don't overwrite your own signals!
Download ↓
Want to keep your existing custom signals too? Upload both XML files (these signals and your current CustomIndicators.xml) to an AI assistant and ask it to merge them. Merging two XML files is a simple task for AI. Then place the merged file, named exactly CustomIndicators.xml, back into your BuildAlpha folder.

GEX Trading Strategy Example

GEX describes the S&P 500 options market, but the signals are not limited to trading the S&P 500. Dealer gamma is a read on market-wide risk appetite and volatility, and that context carries into other assets. Here is a strategy Build Alpha generated automatically on Gold futures using GEX signals as entry conditions:

Build Alpha automatically generated trading strategy equity curve on Gold futures using gamma exposure GEX signals as entry conditions
Automatically generated strategy on Gold futures, GEX signals used as entry conditions

Any market or symbol in Build Alpha can use these signals. Equity indices are the obvious fit, but metals, bonds, currencies, and individual stocks all respond to the same swings in market-wide dealer positioning.

💡 Best Practice: GEX as Regime Filter, Not Trigger

The highest-value use of GEX is as a contextual filter. Let price signals generate the entry and let GEX decide whether the environment is right for it: breakouts only in negative gamma, fades only in positive gamma, or no new risk when the spread is at a 252-period extreme. Use Build Alpha's "required signal" setting to force a GEX condition before any entry fires, and pair it with market breadth or news event signals for even richer context.

Validate Before You Trust It

Thirty-six signals with adjustable thresholds is a large search space. Some combinations will look excellent by chance. Run the survivors through Build Alpha's robustness tests, especially the noise test and parameter permutation, before deploying anything built on GEX. No different than other strategy.

Takeaways

✓ Key Takeaways

  1. GEX measures dealer hedging pressure. Positive gamma dampens moves, negative gamma amplifies them
  2. On 2004 to 2026 ES data, the lowest GEX quintile out-ranges the highest nearly 3 to 1 the next day, and the effect holds in every sub-period
  3. Comparing two GEX series adds sign, size, change, and rank of the spread as separate signals

💡 Need to Know

  1. Raw GEX drifts over time. Normalize with percentile rank or z-score before comparing across years
  2. GEX works as a filter on price strategies and on any market, not only the S&P 500
  3. Build Alpha ships GEX data built in, plus the 36 custom signals above, no coding required

Gamma Exposure FAQ

Gamma exposure is a dollar estimate of how much option dealers must buy or sell to stay delta-neutral as the underlying moves. It is calculated from the gamma and open interest of every open option contract. Positive GEX means dealer hedging leans against price moves; negative GEX means it leans with them.
In positive GEX, dealers sell as price rises and buy as it falls, which suppresses volatility and encourages mean reversion. In negative GEX, dealers buy rallies and sell declines, which amplifies moves and produces larger ranges and trends.
GEX is gamma exposure computed from S&P 500 index (SPX) options. GEX500 is gamma exposure aggregated across the options on all S&P 500 component stocks. The custom signals in this guide compare the two as a spread and a ratio, and normalize each with percentile rank and z-score.
Yes. On ES data from 2004 through September 2026, the lowest GEX quintile averaged a 2.6% next-day range against 0.9% for the highest quintile, and the pattern held in every sub-period tested.
Yes. GEX describes S&P 500 dealer positioning, but that is a read on market-wide risk appetite and volatility. The example in this guide is a Gold futures strategy. Any market or symbol in Build Alpha can use the signals as entries, exits, or filters.
Raw GEX is a dollar figure that grows over time as option volumes grow, so a level that was extreme years ago is ordinary today. Ranking against the prior 252 periods, or measuring in standard deviations, makes readings comparable across years.
No. The downloadable file loads into Build Alpha's Custom Indicators list and works alongside the built-in signals. Every threshold and lookback can be adjusted or optimized in the interface, and finished strategies export to NinjaTrader, TradeStation, MetaTrader, and other platforms.

Related Reading

Build Alpha algorithmic trading software desktop for building and validating GEX based strategies
Build Alpha: discover, validate, and export GEX-based strategies with no coding
David Bergstrom Build Alpha founder and quantitative strategy developer

David Bergstrom

Founder, Build Alpha

A decade-plus in professional trading as a market maker and quantitative strategy developer at a high-frequency trading firm with a CME seat and consulting for CTAs and RIAs. Self-taught C++, C#, and Python programmer specializing in data science, machine learning, and trading strategy development.

What Traders Say About Build Alpha

Trader testimonial about Build Alpha gamma exposure and alternative data signals
User review of Build Alpha algorithmic trading platform
Positive feedback on Build Alpha alternative data signals
Build Alpha review on options-derived trading strategy generation
Trader recommending Build Alpha futures strategy tools
Review of Build Alpha genetic algorithm strategy generator
Algorithmic trader praising Build Alpha strategy automation
Build Alpha review for systematic trading strategy development
Positive testimonial about Build Alpha portfolio construction
Trader feedback on Build Alpha automated strategy generation
Build Alpha user review highlighting robustness testing
Quantitative trader endorsing Build Alpha trading software
Build Alpha testimonial on Monte Carlo simulation and validation
Trader praising Build Alpha walk forward optimization tools
Build Alpha customer review on automatic trading system generation
User feedback on Build Alpha no-code strategy builder
Professional trader testimonial about Build Alpha platform
Latest Build Alpha user review on GEX data workflow

Trade with Dealer Positioning Context

GEX data built in. 36 custom signals. Point-and-click strategies for any market. No coding required.

No coding needed

Stop Wasting Time
Coding, Testing, Coding, Testing…

Build Alpha’s Genetic Algorithm uses your inputs to create 1000s of trading strategies in seconds

View Demo
Recent Posts
Get updates & ideas
Learn more about BA & get exclusive insights