Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Full Stochastic Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Bruce_L
Posted : Thursday, March 16, 2017 1:45:04 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Full Stochastic

The Stochastic indicator built into TC2000 is a Full Stochastic, but it can be used to reproduce both a Fast Stochastic and a Slow Stochastic.

A Fast Stochastic can be reproduced using a Full Stochastic by setting the Period or %K of the Fast Stochastic to the Period setting of the Full Stochastic and setting the %K to 1. The %D setting would match that of the Fast 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 (simple)

%K

Function Version (v17+, price)

STOC(p, k, z)

Indicator Version (price)

STOCp.k.z

General Version (v17+)

100 * AVG((w - MIN(w, p)) / (MAX(w, p) - MIN(w, p)), k)

%D

Function Version (v17+, price)

AVG(STOC(p, k, z), d)

Indicator Version (price)

AVG(STOCp.k.z, d}

General Version (v17+)

100 * AVG(AVG((w - MIN(w, p)) / (MAX(w, p) - MIN(w, p)), k), d)

Where w can be any formula which returns a numeric value.
Where p is the period of the stochastic.
Where k is the period of the %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(STOCp.1.z, k)

%D (v17+)

AVG(AVG(STOCp.1.z, k), 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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.