Skip to content
ChartDeck ChartScript docs Account Open the terminal

hl

Hyperliquid trades labelled by what the aggressor’s position did: long / short opened and closed, per bar, and the share labelled (Plus, Pro and Elite). ChartDeck data.

#Variables

#hl.coveragevariable

The share of the bar’s Hyperliquid aggressor volume whose trader’s position was known, in percent (0 to 100): the part the hl.* values count. Hyperliquid lists no wallets, so it stays under 100; the last few minutes may still rise as late reads label them. Hyperliquid perpetual charts only, minute timeframes up to 1 day; na on a bar with no Hyperliquid trades recorded. Plus, Pro and Elite.

hl.coverage: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = hl.coverage

Since ChartScript 1

#hl.long_closevariable

Long positions closed by the aggressors of the bar’s Hyperliquid trades, base coin (a sell while long, up to the size held). Hyperliquid perpetual charts only, minute timeframes up to 1 day; na on a bar with no Hyperliquid trades recorded. Plus, Pro and Elite.

hl.long_close: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = hl.long_close

Since ChartScript 1

#hl.long_openvariable

Long positions opened by the aggressors of the bar’s Hyperliquid trades, base coin (a buy while flat or long; the part of a flip beyond zero). Hyperliquid perpetual charts only, minute timeframes up to 1 day; na on a bar with no Hyperliquid trades recorded. Plus, Pro and Elite.

hl.long_open: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = hl.long_open

Since ChartScript 1

#hl.net_long_deltavariable

Hyperliquid net longs delta of the bar, base coin: long positions opened minus long positions closed by the aggressor (taker) of each trade (hl.long_open − hl.long_close; the HL Net Longs Delta study summed over the bar’s rows). A trade whose trader’s position was not known is left out, never guessed (see hl.coverage). Hyperliquid perpetual charts only, minute timeframes up to 1 day; na on a bar with no Hyperliquid trades recorded. Plus, Pro and Elite.

hl.net_long_delta: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = hl.net_long_delta

Since ChartScript 1

#hl.net_short_deltavariable

Hyperliquid net shorts delta of the bar, base coin: short positions opened minus short positions closed by the aggressor of each trade (hl.short_open − hl.short_close; the HL Net Shorts Delta study summed over the bar’s rows). Hyperliquid perpetual charts only, minute timeframes up to 1 day; na on a bar with no Hyperliquid trades recorded. Plus, Pro and Elite.

hl.net_short_delta: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = hl.net_short_delta

Since ChartScript 1

#hl.short_closevariable

Short positions closed (covered) by the aggressors of the bar’s Hyperliquid trades, base coin (a buy while short, up to the size held). Hyperliquid perpetual charts only, minute timeframes up to 1 day; na on a bar with no Hyperliquid trades recorded. Plus, Pro and Elite.

hl.short_close: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = hl.short_close

Since ChartScript 1

#hl.short_openvariable

Short positions opened by the aggressors of the bar’s Hyperliquid trades, base coin (a sell while flat or short; the part of a flip beyond zero). Hyperliquid perpetual charts only, minute timeframes up to 1 day; na on a bar with no Hyperliquid trades recorded. Plus, Pro and Elite.

hl.short_open: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = hl.short_open

Since ChartScript 1

The ChartScript documentation is in English for now; translations will follow.