Repository navigation
Releases
v1.1.0 — TradingView GEX by FlashAlpha
What's new
Four new FlashAlpha indicators (Growth plan), a TradingView-style chart toolbar, and fixes to the level lines and the legend.
New indicators
- Level events (
events): markers where the price was rejected at a GEX level (▼ / ▲), broke it (■) or crossed the gamma flip (●), regime flips that held 5 minutes (+γ / −γ), and OPEX, earnings and expiry roll day markers. The legend counts how many touches held per level (PW held 10/13). Docs - 0DTE hedging flow (
hedgeflow): what dealers had to buy or sell in the stock since the open to hedge today's 0DTE trades, in its own pane, with the call and put legs, the flow per bar, divergence markers, and$Δor% moveunits. Docs - Expiry heatmap (
expiries): net GEX (or delta, vanna, charm) by strike and by expiration in a panel beside the chart, with totals per strike and per expiration. Docs - Expected move (
em): each session's options-implied ±1σ band from the 9:30 ET open, and how many sessions in view stayed inside it. Docs - Strike heatmap and GEX profile are now two indicators, each with its own lens:
options.lensorsetLens(lens, layer). Docs
Chart
- Chart type menu: candles, hollow candles, bars, line, area, baseline, Heikin Ashi.
- %, log and auto scale buttons; Settings in sections (Appearance with a watermark, Scales, Crosshair, Status line).
- Indicators menu and legend laid out like TradingView, with a fold button for the legend.
- When the plan does not include an indicator, the legend says Not in your plan: … with an Upgrade link (Sign up without a key).
- The GEX Levels magnet is now named 0DTE magnet.
Fixes
- Level lines and their labels were off on the Percent and Indexed to 100 scales.
- Lines were drawn with a slope across the gap between sessions (Net GEX, 0DTE hedging flow, metrics pane, level lines).
- Pane legends sat up to 25 px too high after an indicator was turned on; legend lines ran under the price scale.
- The Net GEX axis label was green while the value was negative.
For plugin authors
New: ctx.gated(apiLayer), { gated: name } from legend(), ctx.util.cutGaps(points, type), ctx.level(color, title, plotId, short).
Removed: the plugin option defaults (no longer read), and the .fac-badge class on layers the key's plan includes.
Install
npm install tradingview-gex-flashalpha lightweight-charts@5.3.0Or embed it with no build step:
<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>Full list of changes: CHANGELOG.md ·
v1.0.0 — TradingView GEX by FlashAlpha
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.0import * 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 sheettradingview-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
- README: options, methods, events, framework examples (React, Vue, Angular, Svelte)
- API reference · Layer plugins · Embed keys
- Examples: embed.html, basic.html, custom-source.html
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.