Registered User Joined: 5/17/2006 Posts: 493
|
Hi, can you help me with the following, how do I write...
1. Stock’s 10-period ADX must be 35 or greater.
2. Yesterday’s close must be the fifth consecutive day that the stock closed
below it’s 2-period SMA.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (georgematus) Stock’s 10-period ADX must be 35 or greater.
Personal Criteria Formulas for ADX itself are too long to be practical, but it is possible to sort by ADX.
Sorting by the ADX indicator
Average Directional Index (ADX)
PCF for Wilder's Directional Movement DMI-crossovers
PCF for Wilder's DX, and/or a CI for Wilder's ADX
QUOTE (georgematus) Yesterday’s close must be the fifth consecutive day that the stock closed
below it’s 2-period SMA.
Taken literally the formula would be:
C < AVGC2 AND C1 < AVGC2.1 AND C2 < AVGC2.2 AND C3 < AVGC2.3 AND C4 < AVGC2.4
But the following shorter formula should return the same results:
C < C1 AND C1 < C2 AND C2 < C3 AND C3 < C4 AND C4 < C5
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
|