Skip to content

v1.0.0 — TradingView GEX by FlashAlpha

Choose a tag to compare

@ngvtuan-fa ngvtuan-fa released this 24 Nov 13:35
· 1 commit to releases since this release

First public release of TradingView GEX by FlashAlpha: options gamma exposure (GEX) indicators drawn on a TradingView-style candlestick chart, with data from the FlashAlpha API. Built on TradingView Lightweight Charts™ 5.3.0.

Install

npm install tradingview-gex-flashalpha lightweight-charts@5.3.0
import * as LightweightCharts from 'lightweight-charts';
import { mount } from 'tradingview-gex-flashalpha';

const chart = mount(document.getElementById('chart'), {
  lightweightCharts: LightweightCharts,
  baseUrl: 'https://charts.flashalpha.com',
  apiKey: 'YOUR_FLASHALPHA_API_KEY',
  symbol: 'SPX',
  resolution: '5m',
  layers: ['levels', 'maxpain'],
});

Or add the chart to any page in one line:

<div data-flashalpha-chart data-symbol="SPY" data-resolution="5m"
     data-layers="levels,maxpain,netgex" style="height: 520px"></div>
<script async src="https://charts.flashalpha.com/embed.js" data-key="YOUR_FLASHALPHA_API_KEY"></script>

Indicators

Indicator What it draws Lowest plan
GEX Levels Call wall, put wall, gamma flip, max pain, 0DTE magnet, gamma regime tint, previous session's levels Basic
Net GEX Net dealer gamma in dollars in a pane under the price Basic
GEX by strike Strike heatmap behind the candles and a GEX profile, with GEX / DEX / VEX / CHEX lenses Growth
Greeks and 0DTE metrics Delta, vanna or charm exposure pane, or a 0DTE metric pane Basic (Greeks), Growth (metrics)
0DTE scope and live OI Indicators on today's expiry only, or on open interest updated with today's flow Growth (0DTE), Alpha (live OI)

The chart reads the plan from your API key. A free key shows candles and volume; layers above your plan show a lock and the plan they need.

What's in 1.0.0

  • First release on npm and GitHub as tradingview-gex-flashalpha.
  • Builds: ES module, CommonJS, script tag and minified (dist/tradingview-gex-flashalpha.mjs, .cjs, .js, .min.js), style sheet tradingview-gex-flashalpha/style.css, TypeScript declarations.
  • Lightweight Charts 5 is a peer dependency, never bundled.
  • TradingView-like UI: Indicators menu, per-layer Style / Inputs options, legend with hide / options / remove, symbol search, interval and range bars, Settings, fullscreen, screenshot, 1 to 4 chart layouts.
  • Optional live mode (live: true): forming candle, volume and levels over WebSocket on 1m to 1h charts.
  • Bring your own data source and add your own layer plugins.
  • Changes released to the chart host as 0.9.0 to 0.9.3 ship here; they were never on npm.
  • Layer picks are now saved under the key tradingview-gex-flashalpha:layers: readers of an earlier chart-host version open once with the default layers.

Full list: CHANGELOG.md.

Docs

Get an API key

Create a free FlashAlpha account and copy your key from your profile. Plans and limits: flashalpha.com/pricing.

MIT license. GEX levels and metrics are model estimates from options open interest, for information and education only, not investment advice.