Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

pcf Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mktwizard123
Posted : Monday, August 31, 2009 5:11:47 PM
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.

Bruce_L
Posted : Tuesday, September 1, 2009 8:20:31 AM


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
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.