Skip to content

charton API


charton API / @chart-on/ta / klinger

Function: klinger() ​

klinger(high, low, close, volume, fast, slow, signal, out?, state?): Klinger

Defined in: volume.ts:334

Klinger volume oscillator, in its simpler signed-volume form (not the cumulative volume-force form): each bar's volume, signed by whether its typical price (high + low + close) / 3 rose or fell from the bar before (unchanged counts as rising), then a fast minus a slow ema of that, with an ema signal line. Lookback max(fast, slow) + signal - 1.

Pass state to keep the two averages for klingerAt.

Parameters ​

high ​

Series

low ​

Series

close ​

Series

volume ​

Series

fast ​

number

slow ​

number

signal ​

number

out? ​

Klinger

state? ​

KlingerState

Returns ​

Klinger