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 |

Request two PCF Formula Pattern Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
raider45
Posted : Sunday, September 25, 2016 8:09:02 AM
Registered User
Joined: 9/30/2011
Posts: 788
I would like to have two Formula PCF with the following pattern:
 
1) Bullish Doji Star
2) Bullish Abandoned Baby
 
Thank you in advance and greetings from Italy.
Rosario Columbro
StockGuy
Posted : Sunday, September 25, 2016 10:01:38 AM

Administration

Joined: 9/30/2004
Posts: 9,187

You can find both of those patterns here Boolean PCFs for Candlestick Patterns

raider45
Posted : Sunday, September 25, 2016 10:34:51 AM
Registered User
Joined: 9/30/2011
Posts: 788

Bullish Patterns:  

Abandoned Baby - Message Error Formula
(O2-C2)>=.7*(H2-L2) AND (H2-L2)>=(AVGH10.2-AVGL10.2) AND (H1<L2) AND ABS(C1-O1)<=.05*(H1-L1) AND  (H-L)>=(AVGH10-AVGL10) AND (C-O)>=.7*(H-L) AND (L>H1)
 

Doji Star - Message Error Formula
(O1-C1)>=.7*(H1-L1) AND (H1-L1)>=(AVGH10.1-AVGL10.1) AND (C<C1) AND (O<C1) AND ABS(C-O)<=.05*(H-L) AND (L=MINL10) AND (H1>L1) AND (H>L)
 

Harami - Message Erro Formula                                                     (O1-C1)>=.7*(H1-L1) AND (H1-L1)>=(AVGH10.1-AVGL10.1) AND (C>O) AND (O>C1) AND (C<O1) AND (C-O)<=.6*(O1-C1)
 

Ladder Bottom - Message Error Formula                                                               O4 > C4 AND O3 < O4 AND C3 < C4 AND O2 < O3 AND C2 < C3 AND C1 < O1 AND H1 > O1 AND C > O AND O > O1

Rosario Columbro

Bruce_L
Posted : Monday, September 26, 2016 10:12:11 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I don't have the slightest idea why you would get any error messages on the Ladder Bottom formula. It should be fine. Just try doing things like using Chrome instead of IE or Edge and copying and pasting to a text editor (such as Notepad) and then copying and pasting from the text editor into TC2000.

I do have some changes you could try with the other three formulas which would eliminate the decimal markers.

Abandoned Baby

10 * (O2 - C2) >= 7 * (H2 - L2) AND H2 - L2 >= AVGH10.2 - AVGL10.2 AND H1 < L2 AND 20 * ABS(C1-O1) <= H1 - L1 AND H - L >= AVGH10 - AVGL10 AND 10 * (C - O) >= 7 * (H - L) AND L > H1

Doji Star

10 * (O1 - C1) >= 7 * (H1 - L1) AND H1 - L1 >= AVGH10.1 - AVGL10.1 AND C < C1 AND O < C1 AND 20 * ABS(C - O) <= H - L AND L = MINL10 AND H1 > L1 AND H > L

Harami

10 * (O1 - C1) >= 7 * (H1 - L1) AND H1 - L1 >= AVGH10.1 - AVGL10.1 AND C > O AND O > C1 AND C < O1 AND 10 * (C - O) <= 6 * (O1 - C1)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Monday, September 26, 2016 11:09:02 AM
Registered User
Joined: 9/30/2011
Posts: 788

Two are running, this no !

Doji Star - Formula Error

10 * (O1 - C1) >= 7 * (H1 - L1) AND H1 - L1 >= AVGH10.1 - AVGL10.1 AND C < C1 AND O < C1 AND 20 * ABS(C - O) <= H - L AND L = MINL10 AND H1 > L1 AND H > L

R.C.

Bruce_L
Posted : Monday, September 26, 2016 11:12:33 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Sorry, my fault. I think it was a stray closing parenthesis. I have adjusted the formula above. Please try it again.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Monday, September 26, 2016 11:27:56 AM
Registered User
Joined: 9/30/2011
Posts: 788

No, Formula Error !

Bruce_L
Posted : Monday, September 26, 2016 11:37:21 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

There shouldn't be any errors in the Doji Star formula. It tests fine on my computer (and even returns true for BEN) and no longer has any decimal markers. The only thing I could just is doing things like using Chrome instead of IE or Edge and copyng and pasting to a text editor (such as Notepad) and the copyng and pasting from the text editor into TC2000.



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