> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Breadth above VWAP

> The share of Hyperliquid's perps trading above their session VWAP, as of each bar.

<Frame caption="BTC on 15-minute bars in the 0xArchive Terminal, 2026-10-15.">
  <img src="https://mintcdn.com/0xarchive-e895b8e7/_p6Z1TtSEb5DBnPX/images/terminal/examples/breadth-above-vwap.webp?fit=max&auto=format&n=_p6Z1TtSEb5DBnPX&q=85&s=8e51dd70912f1e5b08601fa55fb3b5d9" alt="Breadth above VWAP on a BTC chart" width="1038" height="664" data-path="images/terminal/examples/breadth-above-vwap.webp" />
</Frame>

<Card title="Open on a chart" icon="chart-candlestick" href="https://terminal.0xarchive.io/?symbol=BTC&interval=15m&scripts=example%3Abreadth-above-vwap" horizontal>
  Load it on BTC 15m in the terminal, then change its settings or open it in the script editor.
</Card>

Market breadth: the percent of Hyperliquid's perps trading above their session VWAP. Above 50, most of the market is up on the day.

## How it works

`breadth()` reads 0xArchive's breadth series. Each reading is the bucket's last, stamped once the bucket closed, so a bar reads the bucket before its own and never looks ahead. Pass `{ venue: 'hip3' }` for HIP-3's markets.

## The script

```ts breadth-above-vwap.ts theme={"theme":"github-dark"}
// The share of Hyperliquid's perps above their session VWAP, as of each bar.
indicator('Breadth above VWAP');

const chart = bars();
const perps = breadth();
const line = plot.line('Above VWAP %', { range: { min: 0, max: 100 }, precision: 1 });
plot.level('Half', 50, { style: 'dashed' });

chart.onBar(() => {
  if (!perps.available) return;
  line.set(perps.value);
});
```

## Next step

See the next example, [Bid share within a band](/terminal/examples/book-imbalance).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.