Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Slow Stochastic
The Stochastic indicator built into TC2000 is a Full Stochastic, not a Slow Stochastic, but it can be used to reproduce a Slow Stochastic.
A Slow Stochastic can be reproduced using a Full Stochastic by setting the Period or %K of the Slow Stochastic to the Period setting of the Full Stochastic and setting the %K to 3. The %D setting would match that of the Slow Stochastic.
Template
%K
Function Version (v17+, price)
STOC(k, 3, z)
Indicator Version (price)
STOCk.3.z
General Version (v17+)
100 * AVG((w - MIN(w, k)) / (MAX(w, k) - MIN(w, k)), 3)
%D
Function Version (v17+, price)
AVG(STOC(k, 3, z), d)
Indicator Version (price)
AVG(STOCk.3.z, d)
General Version (v17+)
100 * AVG(AVG((w - MIN(w, k)) / (MAX(w, k) - MIN(w, k)), 3), d)
Where w can be any formula which returns a numeric value.
Where k is the period of the stochastic or %K.
Where d is the period of the %D.
Where z is the number of Bars Ago. z can also be a date in the indicator version. May 4, 2015 would be (single quotes required): '05/04/2015'
The Average Type is assumed to be Simple. If you want to change this, it is best to use the generalized version or one of the following versions which avoid the use of the built in simple moving average.
%K
AVG(STOCk.1.z, 3)
%D (v17+)
AVG(AVG(STOCk.1.z, 3), d)
Change AVG to FAVG for a Front Weighted Average Type.
Change AVG to HAVG for a Hull Average Type.
Change AVG to XAVG for an Exponential Average Type.
Related Topics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|