Skip to content

charton API


charton API / @chart-on/core / index / computeVolumeProfile

Function: computeVolumeProfile() ​

computeVolumeProfile(bars, from, to, options?, out?): VolumeProfile

Defined in: packages/core/src/profile/math.ts:306

Profile of bars [from, to): rows over their low–high range, binned volume, point of control and value area. Pass out to reuse its storage.

Parameters ​

bars ​

readonly Bar[]

from ​

number

to ​

number

options? ​

ProfileOptions = {}

out? ​

VolumeProfile = ...

Returns ​

VolumeProfile