Home/Dovee/Function reference

specialk

Pring's Special K

Reference/Oscillators/Function

specialk(source)

Weighted stack of long-horizon smoothed ROCs. Short form `specialk(10)` 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 10
Lookback in bars. Default 10.

Return value

series

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

Example

oscillator
plot specialk() as "Special K"

See also