GEX vs Max Pain: Two Magnets, Two Different Forces
Max gamma strike and max pain both produce magnet prices, but they read different forces. Knowing which to trust keeps you from over-fitting the wrong signal.
Jake Morrison8 min readTwo metrics on the options panel both claim to predict where the stock is going to settle: the Max Gamma Strike in the GEX Summary, and the Optimal Expiry Value in the Open Interest panel (industry name: max pain). They often agree. They sometimes disagree by 5–10%. When they disagree, knowing which one is the dominant force on the day changes the trade — and the answer depends on time-to-expiry, liquidity, and what kind of trader you are.
TL;DR
| Max Gamma Strike (GEX) | Max Pain (Optimal Expiry Value) | |
|---|---|---|
| What it measures | Where dealer hedging activity is most concentrated right now | Where settlement would minimize total intrinsic owed by option writers |
| Frequency | Continuous — pulls every trading minute | Discrete — settles into focus on expiration day |
| Inputs | Gamma × OI × spot² (greeks needed) | OI per strike + intrinsic-value math (no greeks) |
| Strongest when | Liquid names (SPY/QQQ/AAPL), short-dated options | Approaching expiration, names with concentrated OI walls |
| Failure mode | Noisy on illiquid names with junk IVs | Mute mid-cycle — mostly informative in the last week |
If both line up: high-conviction "this is the magnet". If they split, trust max gamma intra-day for shorter horizons; trust max pain into the final 48 hours of expiry.
What the Max Gamma Strike actually measures
When a customer buys a call from a market maker, the MM is now short that call. To stay delta-neutral, they buy ∆ shares as a hedge. As price moves, ∆ changes (gamma), so the MM keeps adjusting share inventory.
The Max Gamma Strike is the strike where that hedging activity is most concentrated. Two things drive it: (1) gamma is largest for at-the-money contracts mathematically — the BS gamma curve peaks there, and (2) the strike with the most contracts × largest gamma per contract has the most shares being shuffled around by dealers per 1% spot move. Combined, this strike is where dealers continuously buy-low / sell-high to stay flat. That's a mean-reverting force on price as long as cumulative GEX is positive at that level.
It's a continuous signal. It pulls on the tape every minute the option market is open, with the strongest grip in the last hour of the last trading day before expiration.
What Max Pain actually measures
Max Pain ignores greeks entirely. It asks one question: "If we settled at price S today, how much intrinsic value would option writers collectively owe holders?" Then it scans every listed strike as a candidate settlement value and picks the one that minimizes the total payout.
The story for why this is a magnet is older and more contested. It comes in two flavors:
- The cynical version: option writers (often market makers) have an incentive for the stock to settle at max pain because they collectively profit most there. Whether they can or do *push* price toward it is debated — the data shows correlation, but causation is muddy.
- The mechanical version: max pain *correlates* with the strike where dealer hedging unwinds cleanest at expiration. As deep ITM options settle, dealers sell their hedge shares; as deep OTM options expire worthless, dealers buy back puts they were short. The net flows often happen to converge at or near the max-pain strike, because that's where the OI distribution sits.
Either way, max pain is most useful into expiration day. Mid-cycle (T-30, T-60), it's mostly noise.
Why the strikes can differ
The math is asymmetric. Max gamma sums *across strikes* at one strike row. Max pain sums *across all strikes* for each candidate settlement value. So:
- Asymmetric OI between calls and puts at one strike → max gamma can spike there (pure gamma magnitude) without being where max pain lands (max pain depends on the *cross* — total intrinsic across the whole chain).
- OTM clustering → max pain tends to land between the largest call-OI strike and the largest put-OI strike, pulled toward whichever side has more intrinsic to pay out. Max gamma can sit anywhere there's concentrated gamma, including ATM strikes that don't sit between OI walls.
- Time decay: gamma is largest for short-dated ATM. So 0DTE/weekly contracts dominate max gamma. Max pain doesn't depend on time at all — only on OI math. A 0DTE expiration can have a max gamma strike that looks nothing like its max pain.
- Dealer positioning sign: max gamma is signed (calls positive, puts treated as negative GEX from the dealer perspective). Max pain is unsigned. Two strikes can have similar |net_gex| values but very different max-pain implications because the put/call mix differs.
A worked example
Take a stock at $176 with this hypothetical chain:
- Heaviest call OI at $180 (short-dated)
- Heaviest put OI at $170 (longer-dated)
- Highest |net_gex| concentration at $175 (a strike with both calls and puts but slightly more call gamma)
What you'd see on the panel:
- Max Gamma Strike: $175 — that's where dealers are most actively hedging the at-the-money exposure right now. Intra-day, expect mean-reversion behavior toward $175 as long as cumulative GEX above the flip point stays positive.
- Max Pain: ~$176-178 — the settlement value that minimizes the writers' total intrinsic owed lands between the call and put walls, weighted by how big each is.
These don't disagree about market structure — they're describing different layers of it. Max gamma says "this is where the hedging stress is today". Max pain says "this is where the expiration math wants the stock to settle".
Which to trust when
Intra-day, short-horizon trades: Max Gamma Strike. It measures live dealer pressure. Combine with the GEX flip point: above flip, hedging dampens; below, it amplifies. That's the regime read.
Approaching expiration (T-2 days or less): Max Pain. The OI math becomes the dominant force as gamma collapses. Pin behavior at the optimal expiry value is a real and observable phenomenon for liquid names.
Mid-cycle: Max Gamma > Max Pain in informativeness. Max Pain at T-30 is more academic than tradable.
For liquid names (SPY, QQQ, AAPL, the major ETFs): Max Gamma is the more refined signal because gamma is real and computed from observed greeks.
For illiquid names: Max Pain is *less wrong* than Max Gamma. When yfinance returns IV=4.98 (498%) on a thin strike, the gamma we model from that IV is junk. Max Pain doesn't have that noise — it's just OI counting.
When they agree: high-conviction magnet. Use it. Especially when the spot is approaching the strike on declining volatility.
When they diverge: ask which force is dominant at *your* horizon. Day trader → max gamma. Holder of weeklies → max pain. Both → the truth is probably between them.
What neither tells you
Both metrics describe structure, not direction. They tell you where price tends to drift if no fundamental news arrives. They don't tell you whether the stock should be there in the first place. A stock can spend three weeks pinned to a $50 max-gamma strike and then gap to $40 on an earnings miss; the gamma magnet was real, the fundamentals were stronger.
Both also assume a customer-flow signature that we can't verify. We treat all customer flow as long calls / long puts (so dealers are short gamma against them). In reality, there's covered-call and cash-secured-put flow that inverts the dealer side. Without OPRA trade-tape data we can't measure direction-of-flow, so the "puts negate" sign convention is a heuristic. It works on aggregate and breaks for individual dates with heavy customer-side selling.
How to read the panel
The two cards are next to each other for a reason. Glance at:
- Max Gamma Strike vs current spot — distance and direction tell you whether mean-reversion or trend behavior is favored intra-day.
- GEX Flip Point vs current spot — above flip = damper regime, below = accelerant regime.
- Max Pain (Optimal Expiry Value) vs current spot — the expiration target.
- The agreement — when (1) and (3) agree within 1-2%, treat the convergence point as a high-probability magnet for the next 5 trading days. When they're 5%+ apart, expect a path that visits each on different timeframes (max gamma intraday, max pain into expiry).
The cards aren't decision tools on their own. They're context — knowing the market structure changes how you size, where you place stops, and which timeframe to watch.
Reading both across expirations
Below the GEX Summary card and the Open Interest Magnet card you'll see two parallel charts: Pain Across Expirations and GEX Across Expirations. They walk every listed expiration the chain provider exposes (typically 10–20 dates from this Friday out to next year's LEAPS) and plot the per-expiration magnet for each one. Reading them together is where the term-structure story shows up.
What to look for:
- Front-week max gamma strike vs front-week max pain — when both sit close to current spot and within ~1% of each other, that's the cleanest pin signal we surface. The trade structure is the same one you'd build off either alone, but conviction is higher because two independent measurements agree.
- Diverging across expirations — if max gamma is dropping as you walk out the curve (week → month → quarter) and max pain is rising, the market is telling you "intra-day hedging wants to pin lower, but longer-dated OI math wants to settle higher". That's a reflexive setup: the longer-dated walls hold the ceiling, the front-week hedging keeps re-pulling toward a lower magnet, and chop between them is the most likely path until one wall gives.
- The GEX flip point line crossing through current spot somewhere in the middle of the term structure tells you exactly which expiration is going to flip from amplifying to damping (or vice versa) if spot moves a few percent. That's the regime-change calendar.
- Sign-coded GEX bars — green for positive net GEX (dampening regime, dealers long gamma), red for negative (amplifying regime, dealers short). When you see all-green out to a certain expiration and then a flip to red, that's where the damper protection runs out. Useful for sizing into earnings dates that fall on the red side of the structure.
The chain math is identical to the front-week version — same `gamma × OI × spot² × 0.01` per contract, same `argmax|net_gex|` for each expiration. The only difference is we run it expiration-by-expiration instead of summing across the whole chain. That's cheaper than it sounds because the worker shares the chain cache: every listed chain is fetched at most once per 5 minutes regardless of how many surfaces (max-pain, GEX, OI histogram, expiration walks) consume it.
*Educational. Not investment advice.*
See it in the app
Live dashboard views that match this post. Each tile deep-links to the exact card.
Related reading
Gamma Exposure (GEX): How Dealer Hedging Shapes Every Move
Positive vs negative gamma regimes change how the market reacts to shocks. Same tape, same headline — the path depends on whether dealers are damping moves…
Open Interest Magnets
Pinning isn't mysticism — it's observable dealer hedging flow that drags spot toward concentrated-OI strikes into Friday close.
IV Rank, IV Percentile, and Skew
IV rank, IV percentile, and 25-delta skew answer three different volatility questions. Together they drive trade structure — sell strangles, buy calls, or exit.
Unusual Options Activity
What qualifies as 'unusual' isn't raw volume — it's volume relative to open interest, aggressor side, and time-to-expiration.
Ready to try alphactor.ai?
Validate your trading strategies with statistical credibility testing. Start free.
Get Started Free


