Gold Customer
Joined: 12/1/2004 Posts: 137
|
Bruce,
Could you pls help with writing a PCF for 20Day SMA crossing 50Day SMA upwards 10 days ago. Thks.
Chopee
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following Personal Criteria Formula.
AVGC20.10 > AVGC50.10 AND AVGC20.11 <= AVGC50.11
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: 12/1/2004 Posts: 137
|
Thks Bruce.
Chopee
|
Registered User Joined: 10/7/2004 Posts: 2
|
I would like to write or find a scan where the daily price has closed above a 5 period SMA for 5 consecutive days and another scan where the price has closed below a 5 period SMA for 5 consecutive days.
Thank you in advance for your help.
Hector
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Price closing above the 5-period SMA for 5 consecutive bars would be as follows.
C > AVGC5 AND C1 > AVGC5.1 AND C2 > AVGC5.2 AND C3 > AVGC5.3 AND C4 > AVGC5.4
Price closing below the 5-period SMA for 5 consecutive bars would be as follows.
C < AVGC5 AND C1 < AVGC5.1 AND C2 < AVGC5.2 AND C3 < AVGC5.3 AND C4 < AVGC5.4
-Bruce Personal Criteria Formulas TC2000 Support Articles
|