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

Help Syntax Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
lloydrau
Posted : Friday, October 28, 2011 10:47:30 AM
Registered User
Joined: 7/15/2010
Posts: 5
((C1>O1)AND(O>C)AND(O<=C1)AND(O1<=C)AND((O-C)<(C1-O1)))
Bruce_L
Posted : Friday, October 28, 2011 10:53:30 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I don't see anything obviously incorrect about the syntax although the fact that it is all ANDs means you can get rid of all of the parentheses.

C1 > O1 AND O > C AND O <= C1 AND O1 <= C AND O - C < C1 - O1

It means the close of the previous bar is above the open of the previous bar, the open of the current bar is above the close of the current bar, the open of the current bar is less than or equal to the close of the previous bar, the open of the previous bar is less than or equal to the close of the current bar and the body of the current bar is less than the body of the previous bar.

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.