Description Usage Arguments Details Value Note Author(s) References See Also Examples
The Know Sure Thing (KST) is a smooth, summed, rate of change indicator. Developed by Martin Pring.
1 2 
price 
Price series that is coercible to xts or matrix. 
n 
A vector of the number of periods to use in the MA calculations. 
nROC 
A vector of the number of periods to use in the ROC calculations. 
nSig 
The number of periods to use for the KST signal line. 
maType 
Either:

wts 
A vector the same length as 
... 
Other arguments to be passed to the 
For each day (week, month, etc.), the KST calculates the ROC over several periods. Those ROCs are smoothed using the given moving averages, then multiplied by their respective weighting values. The resulting values are summed for each day (month, week, etc.).
A object of the same class as price
or a vector (if
try.xts
fails) containing the Know Sure Thing values.
The KST indicates bullish/bearish momentum as it crosses above/below its moving average. Because the KST tends to lead price action, look for trend confirmation in the price.
The default arguments are for the daily KST. There is also the LongTerm
KST, with arguments: n=c(9, 12, 18, 24)
 where the periods are
months, not days  and the moving average periods are 6, 6, 6, and 9 months,
respectively.
Joshua Ulrich
The following site(s) were used to code/document this
indicator:
https://web.archive.org/web/20110715112957/http://www.pring.com/movieweb/daily_kst.htm
https://web.archive.org/web/20100101162707/http://www.pring.com/movieweb/KST_MCM.htm
See EMA
, SMA
, etc. for moving average
options; and note Warning section. See ROC
for the
rateofchange function. See MACD
for a generic oscillator.
1 2 3 4 5 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.