Platinum Customer
Joined: 5/31/2007 Posts: 25
|
I am using a variable in a pcf of mine that reads "STOC50.3"
What are the values that I would use in expression that stochastic in terms of %K, %D and the period.
I am one number short, and not sure what to use?
Thanks for the help
Paul
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Your Indicator Formula is for the %K of a Simple Stochastic 50,3.
You would need to take a moving average of this to create the %D. So if you had a 4-period simple %D, an indicator formula for this could be written as:
AVG(STOC50.3,4)
Understanding Stochastics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Platinum Customer
Joined: 5/31/2007 Posts: 25
|
Bruce, thanks for the reply, but I am not using a third number, just the variable that I posted "STOCH50.3".
The condition is working, so it must be using an implied third number to make up all three variables required to make up a STOCH.
In a different program, one is required to give all three, and that is what I am trying to work out. Since there is no third number expressed, I don't know what to use.
Also, note that my variable is using a period, not a comma, so perhaps that means something as well? I have also seen examples here where people have 4 variables, so I am totally confused.
I know that my period for "STOCH50.3" is 50, but what is:
%K =
%D =
Thanks
Paul
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you only have those two numbers, you would just need to set the Period of the Stochastic to 50, the %K setting to 3 and the Average Type setting to Simple.
You could delete the %D line from the chart entirely or set the Period of the %D indicator to 1.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|