Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Weekly Conversion to Dark Cloud Cover & Piercing Patterns Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jeremysnow
Posted : Sunday, January 19, 2014 9:50:10 AM
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))

 

Bruce_L
Posted : Tuesday, January 21, 2014 1:13:31 PM


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
jeremysnow
Posted : Tuesday, January 21, 2014 6:49:19 PM
Registered User
Joined: 11/11/2006
Posts: 66

Outstanding Bruce (when isn't it?)

jeremysnow
Posted : Saturday, January 25, 2014 10:04:18 AM
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

jeremysnow
Posted : Saturday, January 25, 2014 10:05:03 AM
Registered User
Joined: 11/11/2006
Posts: 66

BTW: The Daily piercing pattern does get hits. Thx!

jeremysnow
Posted : Saturday, January 25, 2014 10:17:36 AM
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?

Bruce_L
Posted : Monday, January 27, 2014 1:32:20 PM


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