Registered User Joined: 9/24/2009 Posts: 9
|
Hi Bruce,
Can you please assist me with writing this PCF formula. It is called the Brothers Grimm candle pattern. Here is an explaination that will hopefully help.
It is a two candlestick pattern (both black candles) where the second black candle is as large or larger than the previous day and has dropped slightly below the first candle. There should be considerable overlap of the two candles.
Hope this helps.
Dave
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not a candlestick guy, but here are my best guesses based on the description.
"two candlestick pattern (both black candles)"
C < O AND C1 < O1
"second black candle is as large or larger than the previous day..."
H - L >= H1 - L1
"...and has dropped slightly below the first candle."
This would depend on what is meant by dropped. I'm guessing the high (H < H1), low (L < L1), close (C < C1) or some combination is required.
"There should be considerable overlap of the two candles."
We could express the overlap as a percentage of the total range of both candles as:
100 * (MINH2 - MAXL2) / (MAXH2 - MINL2)
So if we wanted this to be at least 80% for example, we would get:
MINH2 - MAXL2 >= .8 * (MAXH2 - MINL2)
So if we assume that high, low and close all have to drop and that the overlap is at least 80%, we get:
C < O AND C1 < O1 AND H - L >= H1 - L1 AND H < H1 AND L < L1 AND C < C1 AND MINH2 - MAXL2 >= .8 * (MAXH2 - MINL2)
Boolean PCFs for Candlestick Patterns
-Bruce Personal Criteria Formulas TC2000 Support Articles
|