Skip to content

charton API


charton API / @chart-on/ta / kst

Function: kst() ​

kst(values, rocLengths, smaLengths, signal, out?): Kst

Defined in: composite.ts:60

Know sure thing: four rocs of rocLengths, each smoothed by an sma of the matching smaLengths, weighted 1, 2, 3 and 4 by position (so list the lengths from the shortest), plus an sma signal. Lookback: the slowest roc + sma - 1 plus signal - 1.

Parameters ​

values ​

Series

rocLengths ​

KstLengths

smaLengths ​

KstLengths

signal ​

number

out? ​

Kst

Returns ​

Kst