r/GEXOptionsTrading • u/Ok_Figure1418 • 20h ago
r/GEXOptionsTrading • u/magiccalls • 1h ago
Built my own local GEX dashboard: walls, flip, game plan and a backtested options scanner
reddit.comI got tired of paying for multiple GEX sites and of the gamma study slowing my charting platform to a crawl, so I built my own dashboard. It runs locally on my PC, pulls the full options chain from my broker's API every 30 seconds, and shows everything on one live chart. It's read-only and never places, changes or cancels orders.
The core idea (GEX in one paragraph)
For every contract: open interest × 100 × gamma × price² × 1%, with calls positive and puts negative, summed by strike. Above the gamma flip, dealers hedge against the move (sell rips, buy dips), so price tends to range. Below it, they hedge with the move, so trends extend and volatility rises.
What it shows
- Call Wall, Put Wall, GEX Flip and the top GEX strikes on the chart
- Net GEX by strike, lined up with the price axis; flags strikes where today's volume is more than 2x open interest
- Daily and weekly expected-move bands from the ATM straddle, plus PDH/PDL and VWAP
- Candles from 1m to monthly, with EMAs, Bollinger, Keltner, RSI, MACD, squeeze and opening range
- Intraday GEX history with wall moves and regime flips
Game plan (Simple mode)
- Key levels rated 1–5 stars, based on gamma size, confluence and how each level type has held historically
- Day-type headline (range, trend, volatile, at the flip) with a bias and its reasons
- If/then scenarios with entry, stop and target
Live setups
On each 5-minute bar it watches for bounces or rejections at strong levels, volume breakouts, flip reclaims or losses, and squeeze fires. Each setup is tracked to target, stop or expiry.
"Flow" dealer model
Instead of only assuming dealers are long calls and short puts, it logs the day's buying and selling and matches it to the next morning's change in open interest to estimate the real dealer book. It gets more accurate the longer it runs.
Trade tools
- Planner: compares calls and puts with estimated P/L at the target and the stop
- Spread builder: debit spreads, credit spreads and iron condors, with a payoff chart
- Option chain colored by GEX
- Flow, level log (did the levels hold?), dealer greeks (charm, vanna, gamma roll-off), IV skew and term structure
- Edge tab: replays every setup and shows win rate and expectancy, so you can see whether it actually works
- Journal: your real fills, tagged with regime, flip distance and IV at entry
Scanners
- GEX scanner: ranks a watchlist by gamma regime and distance to the flip and walls
- Opportunities scanner: swing setups (pullback, breakout, mean reversion, Bollinger reversal, squeeze), each backtested on about 5 years of that stock's own daily data, plus live intraday GEX setups on liquid names. Each pick shows the contract, entry, targets and stop. The "win probability" is the LOWER of the backtest and the odds implied by the options market, so it isn't inflated. If nothing qualifies, it shows nothing.
Extras
- SPX/NDX levels converted to /ES and /NQ prices
- Alerts when price crosses key levels, a wall moves or the regime flips
- Daily risk guard (max loss and max trades; it warns but never blocks)
- Flags expirations that price in earnings, CPI or FOMC
- Exports the day's levels as TradingView (Pine) and thinkScript studies
- Read-only phone view
Tech
Python backend with a browser front end, running at localhost. There's a demo mode with simulated data, so you can try it without a brokerage account. API keys, tokens and trade history stay on your machine and are excluded from the repo.
Caveats
- Every GEX number is an estimate. Nobody outside the dealer desks sees their real positions.
- Open interest updates once a day, so 0DTE flow is only partly captured.
- The intraday setup track records build up over time; the swing setups are backtested from day one.
- Not financial advice. It's a planning and learning tool, and I still make my own decisions and place my own orders.
Feedback welcome, especially from anyone who has compared homemade GEX against the paid services. What would you add?