Registered User Joined: 12/12/2007 Posts: 10
|
Hello.
I found on this post http://forums.worden.com/default.aspx?g=posts&t=7989
the code for find the Side by Side White Lines Formula for find this Pattern:
Side by Side White Lines
C2>O2 AND
C1>O1 AND
L1>H2 AND
CC1*0.90 AND
ABS(C-O) > ABS(C1-O1)*0.85 AND
ABS(C-O) < ABS(C1-O1)*1.15
*Sort in descending order*
But It´s not working. Can you check the code?
This Pattern Definition is described here: http://www.candlesticker.com/Cs66.asp
Thanks for your support.
Regards
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not a candlestick guy (at all), but your formula does not match either the Bullish Side by Side White Lines:
C2 > O2 AND C1 > O1 AND L1 > H2 AND C < C1 * 1.10 AND C > C1 * 0.90 AND ABS(C - O) > ABS(C1 - O1) * 0.85 AND ABS(C - O) < ABS(C1 - O1) * 1.15
Or Bearish Side by Side White Lines formulas given in the Boolean PCFs for Candlestick Patterns topic:
C2 < O2 AND H1 < L2 AND C1 > O1 AND ABS(C1 - O1) > ABS(C - O) * 0.95 AND ABS(C1 - O1) < ABS(C - O) * 1.95 AND C > O AND C = C1
If I were to attempt to implement the description given in your link (excluding "in an uptrend" which is not objectively defined), it might look something like the following (then again, as I've already mentioned, I'm not a candlestick guy):
H > H1 AND C = C1 AND C > O AND O = O1 AND L1 > H2 AND C2 > O2
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|