Skip to content

charton API


charton API / @chart-on/ta / vr

Function: vr() ​

vr(close, volume, length, out?): Float64Array

Defined in: ratios.ts:118

Volume ratio: volume on rising bars (plus half of unchanged ones) against volume on falling bars (plus the other half), over length bars, in percent. NaN while the downside volume is 0. Lookback length.

Parameters ​

close ​

Series

volume ​

Series

length ​

number

out? ​

Float64Array<ArrayBufferLike>

Returns ​

Float64Array