Registered User Joined: 1/27/2013 Posts: 17
|
Have created a scan with mixed results, would you indicate where I need to fix it?
Looking for 3 days down candles and gap down doji and gap up green candle.
(O4>C4) AND (O3=<C4) AND (O3>3) AND (O2=<C3) AND (O2>C2) AND (H1<L2) AND (O1=C1)*.95 AND (H1>C1) AND (L1<O1) OR (O1=C1)*.95 AND (H1>O1) AND (L1<C1) AND (C>O) AND (L>H1)
Thanks,
Wayne
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not a candlestick guy, but the Condition Formula given in the Boolean PCFs for Candlestick Patterns for a Bullish Abandoned Baby is slightly different that what you are using.
(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)
A Condition Formula checking for three red candles in a row (when using open vs close) in a row followed by a gap down doji where the open is exactly equal to the close followed by a green gap up candle could be written as:
C > O AND L > H1 AND O1 = C1 AND H1 < L2 AND C2 < O2 AND C3 < O3 AND C4 < O4
If you have something different in mind, you will need to provide additional clarification as to your intent. For example, exactly how are you defining "red candles", "doji", "gap up" and "gap down"?
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|