Home/Dovee/Function reference

kst

Know Sure Thing

Reference/Oscillators/Function

kst(source)

Weighted sum of four smoothed ROC series. Sister: kstsignal. Optional source; defaults to close. Short form `kst(14)` uses close.

Parameters

NameTypeDescription
sourceoptionalseries
default close
Series to use. Omit it when the first argument is a number — ema(9) means ema(close, 9).
lengthint
default 14
Lookback in bars. Default 14.

Return value

series

Short form: if the first argument is a number, Dovee uses close as the source.

Example

oscillator
plot kst() as "KST"
plot kstsignal() as "Signal"
when kst() crosses above kstsignal() then buy

See also