Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 11/11/2006 Posts: 66
|
I've tried & failed on a several variations to the DCC & PP daily pcf. I would like some help please:
Dark Cloud Cover (day):
C1 - O1) >= .7 * (H1 - L1) AND (H1 - L1) >= (AVGH10.1 - AVGL10.1) AND (O > C1) AND C < C1 - .5 * (C1 - O1) AND (C > O1)
Piercing Pattern (Day):
((C1 < O1) AND (((O1 + C1) / 2) < C) AND (O < C) AND (O < C1) AND (C < O1) AND ((C - O) / (.001 + (H - L)) > 0.6))
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Converting your daily Dark Cloud Cover formula to a weekly formula for TC2000 version 7 results in:
C5 - O9 >= .7 * (MAXH5.5 - MINL5.5) AND MAXH5.5 - MINL5.5 >= (MAXH5.5 - MINL5.5 + MAXH5.10 - MINL5.10 + MAXH5.15 - MINL5.15 + MAXH5.20 - MINL5.20 + MAXH5.25 - MINL5.25 + MAXH5.30 - MINL5.30 + MAXH5.35 - MINL5.35 + MAXH5.40 - MINL5.40 + MAXH5.45 - MINL5.45 + MAXH5.50 - MINL5.50) / 10 AND O4 > C5 AND C < C5 - .5 * (C5 - O9) AND C > O9
Converting your daily Piercing Pattern formula to a weekly formula for TC2000 version 7 results in:
C5 < O9 AND (O9 + C5) / 2 < C AND O4 < C AND O4 < C5 AND C < O9 AND C - O4 > .6 * (MAXH5 - MINL5)
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: 11/11/2006 Posts: 66
|
Outstanding Bruce (when isn't it?)
|
|
Registered User Joined: 11/11/2006 Posts: 66
|
Bruce:
I've tried the following piercing pattern and dark cloud cover weeklys and it returns minimal "0" hits.
*****************************************
Dark Cloud Cover (No Hits):
*****************************************
C5 - O9 >= .7 * (MAXH5.5 - MINL5.5) AND MAXH5.5 - MINL5.5 >= (MAXH5.5 - MINL5.5 + MAXH5.10 - MINL5.10 + MAXH5.15 - MINL5.15 + MAXH5.20 - MINL5.20 + MAXH5.25 - MINL5.25 + MAXH5.30 - MINL5.30 + MAXH5.35 - MINL5.35 + MAXH5.40 - MINL5.40 + MAXH5.45 - MINL5.45 + MAXH5.50 - MINL5.50) / 10 AND O4 > C5 AND C < C5 - .5 * (C5 - O9) AND C > O9
vs.
Dark Cloud Cover Daily (Working: gets hits):
(C1 - O1) >= .7 * (H1 - L1) AND (H1 - L1) >= (AVGH10.1 - AVGL10.1) AND (O > C1) AND C < C1 - .5 * (C1 - O1) AND (C > O1)
*****************************************
*****************************************
Piercing Pattern Weekly:
*****************************************
C5 < O9 AND (O9 + C5) / 2 < C AND O4 < C AND O4 < C5 AND C < O9 AND C - O4 > .6 * (MAXH5 - MINL5)
vs.
Piercing Pattern Daily:
((C1 < O1) AND (((O1 + C1) / 2) < C) AND (O < C) AND (O < C1) AND (C < O1) AND ((C - O) / (.001 + (H - L)) > 0.6))
*****************************************
What needs to be adjusted?
Thanks for your time! js
|
|
Registered User Joined: 11/11/2006 Posts: 66
|
BTW: The Daily piercing pattern does get hits. Thx!
|
|
Registered User Joined: 11/11/2006 Posts: 66
|
Perhaps a better question is, can TC2000v7 do Weekly (Open, Closes, HIGHs & Lows?) vs. averages of these values?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I made small changes to both formulas. The Weekly Piercing PCF currently returns true for AWK, DKL, KOSPY, TBAR and TDTF.
The Weekly Dark Cloud Cover PCF currently returns true for 73 symbols (I'm not going to list the all here).
Moving averages need to be manually expanded as is done above. There is no built in syntax for weekly moving averages in TC2000 version 7.
MAXH5.5 - MINL5.5 >= (MAXH5.5 - MINL5.5 + MAXH5.10 - MINL5.10 + MAXH5.15 - MINL5.15 + MAXH5.20 - MINL5.20 + MAXH5.25 - MINL5.25 + MAXH5.30 - MINL5.30 + MAXH5.35 - MINL5.35 + MAXH5.40 - MINL5.40 + MAXH5.45 - MINL5.45 + MAXH5.50 - MINL5.50) / 10
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |