# TradingView GEX by FlashAlpha > TradingView GEX by FlashAlpha (GitHub: FlashAlpha-lab/tradingview-gex-flashalpha) draws options gamma exposure (GEX) on a TradingView-style candlestick chart built on TradingView Lightweight Charts: call wall, put wall, gamma flip, max pain, 0DTE magnet, gamma regime, net GEX, a strike heatmap, a GEX profile, an expiry heatmap, the expected move, level events (rejections, breaks and gamma flip crossings at the levels), the 0DTE hedging flow, delta / vanna / charm exposure and 0DTE metrics such as the pin score. Data comes from the FlashAlpha options analytics API and needs a FlashAlpha API key. It is not a TradingView Pine Script indicator: it is a chart you embed on your own website or app. Embed in one line: `
` plus ``. Layer IDs: `levels` (call wall, put wall, gamma flip), `maxpain`, `magnet` (0DTE magnet), `netgex`, `heatmap`, `profile`, `expiries` (expiry heatmap), `em` (expected move), `events` (level events), `hedgeflow` (0DTE hedging flow). npm: `npm install tradingview-gex-flashalpha lightweight-charts@5.3.0`, then `import { mount } from 'tradingview-gex-flashalpha'` and `mount(el, { lightweightCharts, baseUrl: 'https://charts.flashalpha.com', apiKey, symbol: 'SPX', layers: ['levels', 'maxpain'] })`; the npm package draws the core layers `levels` and `maxpain`, the other layers come from the chart host (embed, or the script build plus https://charts.flashalpha.com/flashalpha-chart-layers.js). Symbols: US stocks, ETFs and indices such as SPX, SPY, QQQ, AAPL, MSFT, TSLA. Intervals: 1m, 5m, 15m, 1h, 1d, 1w. Plans: Free = candles and volume. Basic = GEX Levels (call wall, put wall, gamma flip, max pain, 0DTE magnet), Net GEX pane, delta / vanna / charm exposure panes. Growth = Basic plus strike heatmap, GEX profile and expiry heatmap with GEX / DEX / VEX / CHEX lenses, expected move, level events, 0DTE hedging flow, 0DTE scope, 0DTE and volatility metrics. Alpha = Growth plus live open interest. Levels are model estimates from open interest, not financial advice. ## Indicators - [Overview and FAQ](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha#readme): all indicators, benefits, plans, embed, FAQ - [GEX Levels](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/gex-levels.md): call wall, put wall, gamma flip, max pain, 0DTE magnet, regime tint, broken walls - [Net GEX](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/net-gex.md): net dealer gamma exposure in dollars under the price - [Strike heatmap and GEX profile](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/gex-by-strike.md): net GEX per strike behind the candles and at the right edge, GEX / DEX / VEX / CHEX lenses - [Expiry heatmap](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/expiry-heatmap.md): gamma by strike and by expiration in a panel beside the chart, totals per strike and per expiry - [Expected move](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/expected-move.md): the options-implied 1σ range of each session from its open - [Level events](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/level-events.md): rejections, breaks and flip crossings at the GEX levels, regime flips, OPEX and earnings days - [0DTE hedging flow](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/0dte-hedging-flow.md): the stock dealers had to buy or sell to hedge today's 0DTE trades, with divergences - [Greeks and 0DTE metrics](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/metrics-pane.md): delta, vanna, charm, 0DTE pin score, IV ratio, VIX, dealer hedge per 1 % - [0DTE scope and live OI](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/indicators/0dte-and-live-oi.md): same-day expiry levels and live open interest ## Repository - [GitHub repository](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha) - [Live demo](https://flashalpha-lab.github.io/tradingview-gex-flashalpha/) - [npm package](https://www.npmjs.com/package/tradingview-gex-flashalpha) - [Embed example](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/examples/embed.html) - [Chart API reference](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/docs/api.md) - [Releases](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/releases) and [changelog](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/blob/main/CHANGELOG.md) - [Issues](https://github.com/FlashAlpha-lab/tradingview-gex-flashalpha/issues) ## FlashAlpha - [FlashAlpha API docs](https://flashalpha.com/docs) - [Exposure API (GEX)](https://flashalpha.com/docs/lab-api-exposure) - [Pricing and free API key](https://flashalpha.com/pricing) - [Free GEX tool](https://flashalpha.com/tools/gamma-exposure) - [gex-explained](https://github.com/FlashAlpha-lab/gex-explained): theory and math behind GEX - [flashalpha-js](https://github.com/FlashAlpha-lab/flashalpha-js): JavaScript and TypeScript SDK for the FlashAlpha API - [flashalpha-python](https://github.com/FlashAlpha-lab/flashalpha-python): Python SDK for the FlashAlpha API - [flashalpha-mcp](https://github.com/FlashAlpha-lab/flashalpha-mcp): MCP server for Claude, Cursor and other AI assistants - [awesome-options-analytics](https://github.com/FlashAlpha-lab/awesome-options-analytics): options analytics resources