Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/7/2004 Posts: 91
|
Hello, I just signed up for TC 2011 this AM and would like to know how to create a PCF for the following stochastics formula. sto(14,4,4)[4] AND sto(14,4,4)[2] > sto(14,4,4)[3] AND sto(14,4,4)[1] < sto(14,4,4)[2] AND sto(14,4,4) > sto(14,4,4)[2] It looks for stocks that the sto closed over prior high readings. This is a formula that I use on a different software and tried to copy and paste but it does not work ? So how would I convert their language into TC's and then where would I place this into TC 2011 ? Thanking you in advance, Gerry
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following Personal Criteria Formula instead:
AVG(STOC14.4.4,4) > AVG(STOC14.4.3,4) AND AVG(STOC14.4.2,4) > AVG(STOC14.4.3,4) AND AVG(STOC14.4.1,4) < AVG(STOC14.4.2,4) AND AVG(STOC14.4,4) > AVG(STOC14.4.2,4)
PCF Formula Descriptions
How to create a Personal Criteria Forumula (PCF)
Handy PCF example formulas to help you learn the syntax of PCFs!
You can create a new PCF in the TC2000.com version 11 beta by selecting New | New Personal Criteria Formula. All questions, comments and suggestions related to the TC2000.com version 11 beta should be addressed to:
feedback@tc2000.com
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/7/2004 Posts: 91
|
Hi Bruce,Thanks for your reply.I try to copy and paste what you sent but after I type in a Name for the PCF and then try to paste it into the box, it does not accept it ?Why not ?Thanks again
|
|
Registered User Joined: 10/7/2004 Posts: 91
|
Hi Bruce,
I tried your formula and tried to run a scan and it did not produce any reliable stoch scan ?
For ex: as of 12:00 noon today it should have picked up CHK using the formula on this post ?
sto(7,2,2)[4] AND sto(7,2,2)[2] > sto(7,2,2)[3] AND sto(7,2,2)[1] < sto(7,2,2)[2] AND sto(7,2,2) > sto(7,2,2)[2]
Thanks for understanding
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The formulas in your Tuesday, February 22, 2011 10:16:45 AM ET and Tuesday, February 22, 2011 1:32:48 PM ET posts are not the same. A formula which would seem to more accurately represent your most recent post would be:
AVG(STOC7.2.4,2) > AVG(STOC7.2.3,2) AND AVG(STOC7.2.2,2) > AVG(STOC7.2.3,2) AND AVG(STOC7.2.1,2) < AVG(STOC7.2.2,2) AND AVG(STOC7.2,2) > AVG(STOC7.2.2,2)
That said, I could be misunderstanding your intent, the original formula or both as I am not familiar with your other software (I do not even know what it is for that matter) or the language it uses.
One assumption made was that the formula was for a Full Simple Stochastic, if the Stochastic in the other program is Fast or Slow instead of being Full or Exponential instead of being Simple, the formula would not match the results of the other program (although most Stochastics with the number of parameters supplied are Full and most default Stochastics are Simple).
Understanding Stochastics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/7/2004 Posts: 91
|
Hi again Bruce,Sorry about the confusion !The language that I included in my Feb 22, 2011, 1:32:48 post comes from the language that OMNITRADER uses.This looks for stocks that at the close, it scans for stocks whose stochastics closed over the reading that occured 3 days ago.Ex: on the %K if the reading 4 days ago was 25.68 then 3 days ago it was 31.44 then 2 days ago it was 27.98 then at the close TODAY the % K is at 32.33, then show me that stock.Some stocks that did this today are CHK CRI CRK and PEGHope that helps,Gerry
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
My guess would have been that sto(14,4,4)[3] was the %D from 3-Bars Ago of a Simple 14-Period Full Stochastic with a %K Period of 4 and a %D Period of 4.
If you are interested in the SK/%K instead of the SD/%D, then the first formula would be:
STOC14.4.4 > STOC14.4.3 AND STOC14.4.2 > STOC14.4.3 AND STOC14.4.1 < STOC14.4.2 AND STOC14.4 > STOC14.4.2
And the second formula would be:
STOC7.2.4 > STOC7.2.3 AND STOC7.2.2 > STOC7.2.3 AND STOC7.2.1 < STOC7.2.2 AND STOC7.2 > STOC7.2.2
In all four formulas provided so far, the Stochastics of 4 and 2 Bars Ago are above the Stochastic of 3 Bars Ago, the Stochastic of 1-Bar Ago is below the Stochastics of 2 Bars Ago and the current Stochastic is above the Stochastic of 1, 2 and 3 Bars Ago. No other comparisons are made.
The differences in the formulas relate only to the Periods of the Stochastics and if the SKs or SDs are being compared.
The example from your Tuesday, February 22, 2011 6:30:04 PM ET post would however seem to have the Stochastics of 4 and 2 Bars Ago being below the Stochastic of 3 Bars Ago and the Stochastic from the current Bar above the Stochastic of 3-Bars Ago (there are other possible relationships, but those are the ones that stand out). An example of a formula for a Simple Stochastic 7,2 SK exhibiting this behavior would be:
STOC7.2.4 < STOC7.2.3 AND STOC7.2.2 < STOC7.2.3 AND STOC7.2 > STOC7.2.3
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |