Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Gold Customer
Joined: 3/22/2005 Posts: 11
|
Is it possible to change the following PCF from the current 1 period to a 10 period pcf.
.01 * AVGC5 > ((XAVGC5) - (XAVGC20)) AND .01 * AVGC5.1 < ((XAVGC5.1) - (XAVGC20.1))
Thank you.
Buycycle
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I have no idea what your formula is supposed to do or represent or what would constitute a 10-Period version versus a 1-Period version. The following may or may not represent a 10-Period version:
.01 * AVGC5 > ((XAVGC5) - (XAVGC20)) AND .01 * AVGC5.10 < ((XAVGC5.10) - (XAVGC20.10))
If you provide additional clarification, we may be able to provide a more definitive answer. You may wish to review the following:
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 3/22/2005 Posts: 11
|
Let me clarify. I am using the PCF
[ .01 * AVGC5 > ((XAVGC5) - (XAVGC20)) AND .01 * AVGC5.1 < ((XAVGC5.1) - (XAVGC20.1)) ]
as a percent true. I also use the same PCF as a 10 period percent true to find when the visual goes to the top of the window pane. I am looking to incorporate the 10 period PCF into an EasyScan tolook for coincidental indicators.
buycycle
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The following Personal Criteria Formula:
10 * ABS((.01 * AVGC5 > XAVGC5 - XAVGC20 AND .01 * AVGC5.1 < XAVGC5.1 - XAVGC20.1) + (.01 * AVGC5.1 > XAVGC5.1 - XAVGC20.1 AND .01 * AVGC5.2 < XAVGC5.2 - XAVGC20.2) + (.01 * AVGC5.2 > XAVGC5.2 - XAVGC20.2 AND .01 * AVGC5.3 < XAVGC5.3 - XAVGC20.3) + (.01 * AVGC5.3 > XAVGC5.3 - XAVGC20.3 AND .01 * AVGC5.4 < XAVGC5.4 - XAVGC20.4) + (.01 * AVGC5.4 > XAVGC5.4 - XAVGC20.4 AND .01 * AVGC5.5 < XAVGC5.5 - XAVGC20.5) + (.01 * AVGC5.5 > XAVGC5.5 - XAVGC20.5 AND .01 * AVGC5.6 < XAVGC5.6 - XAVGC20.6) + (.01 * AVGC5.6 > XAVGC5.6 - XAVGC20.6 AND .01 * AVGC5.7 < XAVGC5.7 - XAVGC20.7) + (.01 * AVGC5.7 > XAVGC5.7 - XAVGC20.7 AND .01 * AVGC5.8 < XAVGC5.8 - XAVGC20.8) + (.01 * AVGC5.8 > XAVGC5.8 - XAVGC20.8 AND .01 * AVGC5.9 < XAVGC5.9 - XAVGC20.9) + (.01 * AVGC5.9 > XAVGC5.9 - XAVGC20.9 AND .01 * AVGC5.10 < XAVGC5.10 - XAVGC20.10))
Should return the same results as your formula used as a Custom Percent True Indicator with a Simple Smoothing Average of 10 an a Daily Chart. That said, when this is at the "top of the window pane" can and will change with Zoom.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 3/22/2005 Posts: 11
|
Thank you Bruce. I neglected to tell you that I am using Shift 5 (5 months) of data on my charts. If this would alter the PCF, please let me know.
Buycycle
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It will not alter the Personal Criteria Formula. A PCF to determine if the your formula used as a Custom Percent True Indicator with a Simple Smoothing Average of 10 on a Daily Chart is at the top of the window Pane would be too long to be practical (at least I can't think of a way to make it short enough to be practical).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 3/22/2005 Posts: 11
|
Thank you Bruce.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |