← Back to Articles
ZeroGEX Education • By Michael, founder • 14 min read • Published

Trading the Close: How EOD Pressure and Trap Detection Read Dealer Hedging in Real Time

Two ZeroGEX™ Advanced Signals built for the structural inflection points of the trading day - the modeled hedge flows that can drag price into the close, and the failed breakouts that can snap back when dealers are modeled to absorb them.


Why These Two Signals Exist

Most intraday tools tell you where price is. They rarely tell you why it's about to move - or, more usefully, why it shouldn't move further.

The last 90 minutes of the cash session and the moments right after a key level breaks are the two windows where modeled dealer-hedging mechanics leave the clearest footprint in the tape. EOD Pressure and Trap Detection are designed to fire at exactly those structural inflection points - and stay silent the rest of the day.

That silence is a feature, not a bug. Both signals will read zero through most of the trading day. When they do fire, they are telling you something specific about modeled hedge flow that the rest of the tape will not show you directly.

This piece is for traders who already understand gamma exposure, dealer hedging, and the difference between a positive-gamma and negative-gamma regime. If those terms are new, start with Gamma Exposure (GEX) Explained and circle back.


Part 1 - EOD Pressure

What It Measures

EOD Pressure is a directional bias estimator for the final ~90 minutes of the cash session. It tries to answer one question:

Given the modeled dealer book and the proximity of a magnet strike, which way does modeled hedging lean into the close?

Two physical mechanisms drive the answer:

Charm decay. As 0DTE and short-dated options approach expiry, their delta does not stand still - holding other inputs constant, it drifts at an accelerating rate as time ticks down. Dealers running a roughly delta-neutral book tend to rebalance to keep that neutrality. The aggregate sign of modeled dealer charm exposure near spot is modeled to indicate which direction those hedge flows are pointing today.

Pin gravity. In a modeled positive-gamma regime, dealers tend to buy weakness and sell strength - that modeled reflex can pull price toward the maximum-pain / maximum-gamma strike like a magnet. In a modeled negative-gamma regime, dealers are modeled to chase moves instead, so the model stops treating the strike as a magnet and leans with the move already underway.

EOD Pressure combines those two effects, scales them by how close we are to the close, and amplifies them on calendar dates where positioning matters most.


Score Interpretation

The output is a continuous score from −100 to +100. (The formulas below run on −1 to +1; the card and the signal page show the result multiplied by 100.)

ScoreTrader interpretation
+60 to +100Strong modeled upward drift into the close. The magnet sits above spot and dealers are modeled to buy.
+20 to +60Mild upside drift. Bias intraday holds long but don't size aggressively.
−20 to +20No edge. Either too early in the window or charm and pin terms are canceling.
−20 to −60Mild downside drift. Bias short or close longs.
−60 to −100Strong modeled downward drift into the close.

The signal flags itself triggered when the score crosses ±20. Anything below that is recorded for context but will not fire downstream playbook patterns.


How The Score Is Built

EOD Pressure aggregates four components. Three contribute to magnitude; one acts as a gate.

Component 1: Charm at Spot

This is the most direct modeled measure of hedge flow. The signal sums modeled dealer charm exposure across an at-the-money band, weighted by expiry bucket:

band_pct = max(0.5%, 1.5 × σ × √30)
charm_raw = Σ_buckets W_bucket × Σ_strikes_in_band dealer_charm_exposure
charm_score = clip(charm_raw / 2.0e7, [-1, +1])

The ATM band is vol-scaled - wider on volatile days, floored at ±0.5% on dead-tape days. The 30-bar projection roughly tracks the expected price range over the remainder of the session.

The expiry-bucket weights are hand-picked to reflect charm's time-decay profile:

BucketWeightWhy
0DTE0.70Charm hits hardest on day-of-expiry. Dominant contributor.
Weekly0.20Material but secondary.
Monthly0.10Background contribution.
LEAPS0.00Too far out to matter for today's close.

At ±$20M of bucketed dealer charm, the sub-score pegs at ±1.0. Below that, response is linear.

Component 2: Pin Gravity

The pin term depends on the modeled gamma regime:

if net_gex >= 0:   # zero or positive gamma: pull toward the magnet
    pin_target   = max_pain  OR  max_gamma_strike
    distance_pct = (pin_target − close) / close
    pin_score    = clip(distance_pct / 0.003, [-1, +1])
else:              # negative gamma: follow the move already underway
    trailing_ret = (latest_close − earliest_close) / earliest_close
    pin_score    = clip(trailing_ret / 0.003, [-1, +1])

A pin target 0.3% above spot in a modeled positive-gamma regime gives a pin score of +1.0 - the magnet is above and gravity is on.

In a modeled negative-gamma regime the target distance carries no directional information, so the term ignores it and reads the recent trailing return instead: a 0.3% rise over the recent closes also scores +1.0, and a 0.3% fall scores −1.0. If Net GEX is missing, or there are fewer than two usable closes, the pin term is 0.

Methodology limitation: both branches are ZeroGEX house heuristics with hand-picked saturation points, not calibrated probabilities. The negative-gamma branch encodes the idea that short gamma amplifies the direction already underway; it does not predict that direction.

Component 3: Time Ramp (Gate)

The ramp is a multiplicative gate on the entire signal. Before 14:30 ET, it is exactly zero - and the signal short-circuits before computing anything else.

Time (ET)Ramp
Before 14:300.00
14:300.00
14:450.20
15:000.40
15:300.80
15:45 - 16:001.00

The ramp linearly scales from 0 to 1 between 14:30 and 15:45 ET, then holds at full strength into the close. This is why the signal reads zero through the bulk of the trading day - it is structurally inactive.

Component 4: Calendar Amplifier

The amplifier increases conviction on dates when positioning concentrates and dealer books are unusually exposed:

CalendarAmp
Normal day1.0×
Monthly OpEx (third Friday)1.5×
Quad witching (third Friday of Mar/Jun/Sep/Dec)2.0×

The amplifier is the only point in the signal where the intermediate score can exceed ±1 - the final clamp brings it back into range.


Putting It Together

The final aggregation:

combined = (0.6 × charm_score + 0.4 × pin_score) × amp × ramp
score    = clip(combined, [-1, +1])

The 60/40 weighting is a hand-picked design choice, not a fitted one: it reflects the view that charm is the more direct modeled measure of hedge flow, while pin gravity is an indirect, regime-dependent pull. Both matter in the model. Charm leads.


When EOD Pressure Returns Zero

A zero reading is the most common state. The signal is designed to be silent outside its window.

  • Outside the active window (the dominant case): the time ramp short-circuits before any other component is computed.
  • No strikes inside the ATM band on a sparse or thinly-quoted chain.
  • Both max_pain and max_gamma_strike are null.
  • Pin target sitting exactly at spot.
  • Charm and pin scores exactly canceling - rare, requires opposite directions and equal magnitude.

If you are watching the panel at 13:55 ET and it reads zero, that is correct and expected. The signal will populate at 14:30 ET and ramp into the close.


Part 2 - Trap Detection

What It Measures

Trap Detection is designed to identify setups where price has just broken past a key modeled dealer-positioning level but may fail and reverse.

The classic pattern: in a modeled long-gamma regime with strengthening dealer positioning, dealers tend to absorb breakouts. They sell the rip and buy the dip - mechanically, not because they have a view. Price pokes above resistance, runs into supply, and often snaps back into the prior range. The breakout was a trap.

The signal looks for two symmetric setups:

Bull trap on an upside fake. Price pokes above a resistance level - call_wall, max_gamma_strike, vwap, or gamma_flip - but the modeled structural conditions suggest the breakout may fail. Produces a negative score (bearish_fade).

Bear trap on a downside fake. Price pokes below support - put_wall, max_gamma_strike, vwap, or gamma_flip - but the breakdown looks fake. Produces a positive score (bullish_fade).

The output sign encodes which direction to fade, not which direction price just broke.


Score Interpretation

ScoreLabelTrader interpretation
+50 to +100bullish_fadeHigh-magnitude bear-trap-fade. Downside break looks fake - modeled snap-back up.
+25 to +50bullish_fade (triggered)Moderate. Consider mean-reversion long entries.
0 to +25sub-thresholdWeak conviction; not actionable alone.
0noneNo trap forming. The default state.
0 to −25sub-thresholdWeak conviction.
−25 to −50bearish_fade (triggered)Moderate bull-trap-fade. Fade longs, expect reversal down.
−50 to −100bearish_fadeHigh-magnitude bull-trap-fade. Fade rallies into the breakout.

The trigger threshold here is ±25 - deliberately stricter than EOD Pressure's ±20. Trap setups need higher conviction to actively fire because trading against an active breakout has higher tail risk than drifting with end-of-day flow.


How The Score Is Built

Step 1: Identify The Broken Level

up_levels = [call_wall, max_gamma_strike, vwap, gamma_flip]
dn_levels = [put_wall, max_gamma_strike, vwap, gamma_flip]
broken_resistance = max(level for level in up_levels if level < close)
broken_support    = min(level for level in dn_levels if level > close)

Note the naming. Broken resistance is the level that price has just risen above - so it now sits below close. Broken support is the level price has just slipped beneath. The names reflect the post-breakout perspective.

Step 2: Vol-Scaled Breakout Buffer

A small poke above a level is noise, not a breakout. The signal uses a vol-scaled buffer to filter:

σ           = realized_sigma(recent_closes, 60 bars)
buffer_pct  = max(0.1%, 0.15 × σ × √5)

For SPX with a typical intraday σ near 8 basis points per minute, the buffer floors around 0.1%. On volatile days it scales up automatically. Price needs to clear the level by more than the buffer before the signal even starts to register strength.

Step 3: Continuous Strength Factors

An earlier iteration of this signal used boolean ANDs and produced cliff-edge behavior - barely-met preconditions flipped the score on and off. The current design uses continuous [0, 1] factors that multiply together:

FactorSaturation pointWhat it captures
long_gamma_factorFull at net_gex ≥ $1BAre dealers modeled to be absorbing moves?
strengthening_factorFull at +2% GEX deltaIs dealer positioning building, not unwinding?
breakout_strengthFull at 3× buffer beyond levelDid price actually clear the level meaningfully?
wall_migration0.3× if wall moved >0.05% with priceDiscount if the level itself is moving - that suggests a real breakout.

The directional strength on each side is the product:

upside_strength   = breakout_strength_up   × long_gamma × strengthening × wall_up
downside_strength = breakout_strength_dn   × long_gamma × strengthening × wall_dn

Any one of these factors going to zero zeros the whole side. Negative-gamma regime? long_gamma_factor = 0 - no trap. Gamma not strengthening? strengthening_factor = 0 - no trap. The signal is opinionated about when fades work and refuses to fire outside that regime.

Step 4: Magnitude Term

A baseline weight plus distance and gamma-acceleration bonuses:

dist_strength = min(1, |distance_pct| / max(buffer_pct × 3, 0.3%))
gex_boost     = min(1, |net_gex_delta_pct| / 0.05)
magnitude     = 0.4 + 0.4 × dist_strength + 0.2 × gex_boost   // range: [0.4, 1.0]

A qualifying trap carries a minimum weight of 0.4 even if it just barely qualifies. Larger breakouts and accelerating dealer positioning scale it toward 1.0.

Step 5: Flow Multiplier

The flow term separates real breakouts from exhausted ones:

flow_mult = 1.1                                          if flow is decelerating
          = max(0.3, 1 − flow_delta / flow_norm)         otherwise

Decelerating directional flow into a breakout is exactly the trap thesis - buyers are stepping back just as price clears the level, leaving the move unsupported. The signal boosts conviction by 10% in that case.

Conversely, accelerating flow in the breakout direction means the move has real participants behind it. The trap thesis weakens - the multiplier shrinks toward 0.3.

Step 6: Final Aggregation

bear_score = clip(magnitude × flow_mult × upside_strength,   [0, 1])
bull_score = clip(magnitude × flow_mult × downside_strength, [0, 1])
score      = clip(bull_score − bear_score, [-1, +1])
triggered  = abs(score) >= 0.25

The engine works on −1 to +1; the card shows the score multiplied by 100, so abs(score) >= 0.25 is the ±25 trigger you see on screen.

Both side-scores are non-negative. Their difference encodes both direction and conviction continuously. In the rare case where price is wedged between two recently-broken levels, the two sides partially cancel - appropriate, because the setup is genuinely ambiguous.


When Trap Detection Returns Zero

Most of the trading day, this signal reads zero. The conditions that zero it out are exactly the conditions you should be aware of:

  • No level is being broken. Price is sitting between call_wall and put_wall without poking either, or it is poking but within the vol-scaled buffer. The default state of a quiet market.
  • Negative-gamma regime. long_gamma_factor = 0. In a short-gamma book, breakouts tend to run rather than fade. The signal correctly refuses to fire.
  • Gamma not strengthening. strengthening_factor = 0. Trap setups need dealer positioning to be building, not unwinding.
  • Reference levels missing. No call_wall, put_wall, max_gamma_strike, vwap, or gamma_flip data - nothing to break.
  • Wall migration on the active side. If the call wall is moving up alongside price, the 0.3× discount factor often pushes the score below the ±25 trigger.

A zero from Trap Detection is informational. It tells you the prerequisites for a fade-the-breakout trade are not in place - so if you are about to trade against a breakout, the signal is implicitly telling you to look elsewhere for evidence.


Reading Both Signals Together

The two signals are designed to be read jointly. They cover different time horizons and different regimes, but they often overlap on high-conviction setups into the close.

EOD PressureTrap DetectionWhat it means
+50 (bullish)+40 (bullish_fade)High-conviction long-into-close. Modeled drift is up and the current dip looks fake. Fade intraday weakness, lean toward a close-strong day.
+50 (bullish)−40 (bearish_fade)Mixed but tactically useful. EOD says drift up; trap says the current upside breakout is overdone. Wait for the fade to complete, then reload long for the close.
−50 (bearish)0Cleanest bearish setup. EOD drift is down with no countervailing fade signal.
0 (off)+30 (bullish_fade)Standalone trap trade pre-window. Tactical, not strategic. Smaller size, tighter stop.
00The default state for most of the trading day. Both signals are designed to fire only at specific structural inflection points.

Hardcoded Constants Worth Knowing

For traders running their own backtests or sizing trades against these signals, a few magic numbers are worth holding in mind. They are not arbitrary - but each is a ZeroGEX heuristic calibration choice, not an industry standard.

ConstantDefaultWhere used
Charm normalizer$20MEOD Pressure - saturates charm_score at ±1.0
Pin saturation0.3%EOD Pressure - saturates pin_score at ±1.0
Long-gamma saturation$1B net GEXTrap Detection - long_gamma_factor full at this level
Strengthening saturation+2% GEX deltaTrap Detection - strengthening_factor full at this level
GEX boost saturation±5% GEX deltaTrap Detection - magnitude bonus full
Wall migration sensitivity0.05%Trap Detection - wall-tracking-with-price discount trigger
Breakout buffer floor0.1%Trap Detection - minimum noise filter
Time ramp start14:30 ETEOD Pressure - earliest activation
Time ramp full15:45 ETEOD Pressure - full strength to close

All of these are tunable via environment variables on the backend. The defaults are ZeroGEX heuristics chosen for SPX/SPY-class index products with deep, active 0DTE chains; they are not empirically optimal constants. Less-liquid underlyings may need lower thresholds.


Practical Trading Notes

A few patterns that recur often enough to be worth flagging directly:

The 15:30 inflection. EOD Pressure crosses 0.8× ramp at 15:30 ET. If the charm and pin terms have been agreeing through the early ramp window, conviction tends to consolidate around that time. Treat that ramp as model timing, not an instruction to pre-position or evidence that dealer orders are scheduled.

Quad witching is not optional context. The 2.0× amplifier on quad-witching days is large enough to push a +40 unamplified signal to +80. Treat those days as having structurally higher conviction - and structurally higher whipsaw risk earlier in the day, before the window opens.

Trap Detection without long-gamma confirmation should be ignored. The long_gamma_factor zeroing the whole side is the single most important guardrail in the signal. If the broader modeled regime is short-gamma - even if the score happens to read non-zero on a missing-data edge case - the trap thesis does not hold. Verify the regime.

Flow deceleration is the cleanest trap-fade tell. When the directional flow is drying up into the breakout, the flow multiplier boosts conviction by 10%. That is the moment most trap-fade trades work. Accelerating flow into the breakout means real participants - the trap thesis likely does not hold even if the rest of the conditions line up.


Final Takeaway

EOD Pressure and Trap Detection are silent most of the day. That is the point.

They are not designed to give you a continuous read. They are designed to recognize the two structural moments where modeled dealer hedging mechanics tend to dominate the tape - the closing window and the failed-breakout moment - and estimate the modeled directional bias each one produces.

For a serious technical trader, the right use is not "watch the score." It is:

  • Know the regime before the signals matter. Long-gamma or short-gamma. Strengthening or unwinding.
  • Trust the silence. A zero reading outside the window or outside the regime is information, not absence of information.
  • Confirm at the inflection. When both signals fire in the same direction inside the EOD window, the structural read is genuinely strong. When they disagree, the disagreement itself is data.

Dealer hedging is not the whole market. But for the last 90 minutes of the cash session - and for the brief windows where price tests dealer-positioning levels - it can be one of the dominant forces in the tape. These two signals are the lens.


Next Steps

If you want to push the framework further, the natural extensions are:

  • Overlay EOD Pressure against intraday VWAP deviation to spot drift-versus-mean-reversion conflicts.
  • Cross-check Trap Detection's wall_migration factor against your own gamma heatmap evolution - when the wall is moving, the trap thesis is fragile.
  • Track the relationship between charm-at-spot sign and 0DTE flow imbalance - they should generally agree, and divergences are diagnostic.
  • On OpEx and quad-witching days, study the pre-window setup: where does charm sit at 13:00 ET, and how does it evolve into the 14:30 activation?

The goal is not to mechanize the trade - it is to develop an intuition for which kind of market regime you are in, then let these two signals confirm or contradict your reads at the moments where dealer flow is loud enough to hear.

Related reading

Keep going

Pro Plan

Want to trade these signals live?

EOD Pressure and Trap Detection are part of the ZeroGEX™ Advanced Signal suite, available on the Pro plan. Get real-time scoring, full context fields, and historical score charts for both signals across SPX and major underlyings.

Upgrade to Pro
Free Gamma Levels

See today's dealer positioning

Want to follow this throughout the trading day? View today's SPX, SPY, QQQ, and NDX gamma flip, call wall, put wall, and Net GEX - free, delayed roughly 15 minutes, no signup required.

Or compare all six at once on today's GEX levels page.

Writing about this? Put the same levels on your own site with a free embeddable card - one line of HTML, or a PNG for Substack and Discord. No account, no key.

Or open the live real-time 0DTE GEX dashboard - the full gamma flip, call and put walls, dealer positioning, and the Market State Index. Sign up for the live read.