Registered User Joined: 8/17/2007 Posts: 7
|
Hi there
I'm having trouble creating a pcf for an Evening/ morning star candel stick patteren.
Your help is appreciated.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not a candlestick guy, but the Boolean PCFs for Candlestick Patterns topic has the following formulas:
Evening Doji Star:
ABS(C2 - O2) > (H - L) * .5 AND C2 > O2 AND ABS(C1 - O1) < (H1 - L1) * .05 AND (H1 - L1) < (AVGH21.1 - AVGL21.1) * .2 AND O1 > C2 AND C < O
Evening Star:
ABS(C2 - O2) > (H - L) * .5 AND C2 > O2 AND (H1 - L1) < (AVGH21.1 - AVGL21.1) * .5 AND C < O AND O1 > C2
Morning Doji Star:
C2 < O2 AND ABS(C2 - O2) > (H2 - L2) * .5 AND H1 < L2 AND ((C1 + O1) / 2) - L > (H - L) * .4 AND ((C1 + O1) / 2) - L < (H - L) * .6 AND ABS(C1 - O1) < (H1 - L1) * .2 AND C > O
Morning Star:
ABS(C2 - O2) > (H2 - L2) * .5 AND C2 < O2 AND H1 < L2 AND (H1 - L1) < (AVGH21.1 - AVGL21.1) AND C > O
You may wish to review the following:
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
|