Function: volumeProfile()
ts
function volumeProfile(
price,
volume,
bins?): VolumeProfile;Defined in: finance/transforms.ts:173
Volume profile — a histogram of traded volume by price level. Plot it as horizontal bars (orientation:"h") with levels on the y axis.
Parameters
| Parameter | Type | Default value |
|---|---|---|
price | ArrayLike<number> | undefined |
volume | ArrayLike<number> | undefined |
bins | number | 24 |