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 |

PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Rick17
Posted : Tuesday, June 10, 2014 11:19:20 AM
Registered User
Joined: 5/27/2010
Posts: 153

Good Morning,

I was looking through the help section of PCF language and found "and, or" not sure how to write this

Please help with a PCF for 

price opens below previous days close

but is now greater then or equal to that previous days close.

Thank You

Bruce_L
Posted : Tuesday, June 10, 2014 11:23:38 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following Condition Formula:

O < C1 AND C >= C1

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Rick17
Posted : Tuesday, June 10, 2014 12:00:05 PM
Registered User
Joined: 5/27/2010
Posts: 153

Thanks Bruce, 

When I started to write it that way it sounded as if they both would occur at the same time instead of one then the other.

Bruce_L
Posted : Tuesday, June 10, 2014 12:02:21 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Well in at least some sense it is checking for both at the same time. The only reason it actually happens one after the other is that the close comes after the open.



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