Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 12/27/2010 Posts: 30
|
I have the following for a hammer type PCF.It tests as being valid but there are no results when using it in a scan. Can you help?
(((C-O) / (H-L)) <= 0.3 AND (C-O) / (H-L)) >= 0.01 AND O > L + (H-L) * 0.7 OR
(((O-C) / (H-L)) <= 0.3 AND (O-C) / (H-L)) >= 0.01 AND C > L + (H-L) * 0.7
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following Personal Criteria Formula instead:
ABS(C - O) <= (H - L) * .3 AND ABS(C - O) >= (H - L) * .01 AND (O - L > (H - L) * .7 OR C - L > (H - L) * .7)
Boolean PCFs for Candlestick Patterns
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
|
|
Registered User Joined: 12/27/2010 Posts: 30
|
Bruce,
Would not the C-O value need to be an absolute value as the C-O in a closed candle with a lower close than the open would be a negative number?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I've added the ABS to the C - O in my Thursday, March 03, 2011 12:01:46 PM ET response but I suspect you would actually want the OR to be an AND then based on your clarification:
ABS(C - O) <= (H - L) * .3 AND ABS(C - O) >= (H - L) * .01 AND O - L > (H - L) * .7 AND C - L > (H - L) * .7
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 12/27/2010 Posts: 30
|
Bruce,
That seems to cover everything and it works fine.
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/8/2011 Posts: 3
|
When I create PCF like engulfing or doji, how can add the color to idetify that canles?.
Can you help me please.
Kailayanathank
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
kailayanathank,
I do not know of a way to do so in either the current production version of TeleChart or the TC2000.com version 11 beta.
The best way to influence what will be in TC2000.com is to actively participate in the TC2000.com version 11 beta. All questions, comments and suggestions related to the TC2000.com version 11 beta should be addressed to:
feedback@tc2000.com
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |