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

Question regarding "either/or"...parts of a PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
pacific
Posted : Tuesday, March 10, 2009 4:17:42 PM
Gold Customer Gold Customer

Joined: 3/22/2005
Posts: 17
If I want to show results in a scan for one of three patterns that may show up...can the PCF for those patterns be written as          ...or...or...

Eg: of Doji's and near Doji's

((O=C) OR (O1=C1) OR (ABS(0-C) <= ((H-L)* 0.1))....

Is that basically going to show up any one of the 3 candlestick pattens that fulfill those conditions....rather than writing a PCF for each one and then having to run 3 seperate scans.

Thank you.
Bruce_L
Posted : Tuesday, March 10, 2009 4:22:14 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Yes. Connecting Boolean (True or False) fragments of Personal Criteria Formulas with OR means the PCF as a whole will return True if any of the components are True. Connecting those same Boolean fragments with AND means the PCF as a whole will not return True unless all of the componets are True.

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