Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Writing a PCF for 20DMA crossing 50dma upwards 10 daysa ago Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
chopeevs
Posted : Monday, April 13, 2015 10:57:55 PM
Gold Customer 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

Bruce_L
Posted : Tuesday, April 14, 2015 9:50:14 AM


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
chopeevs
Posted : Tuesday, April 14, 2015 3:29:08 PM
Gold Customer Gold Customer

Joined: 12/1/2004
Posts: 137

Thks Bruce.

 

Chopee

hseda
Posted : Thursday, April 16, 2015 1:19:53 PM
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 

Bruce_L
Posted : Thursday, April 16, 2015 1:26:39 PM


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