Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
You can find both of those patterns here Boolean PCFs for Candlestick Patterns
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
No, Formula Error !
|
|
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
|
|
Guest-1 |