Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Gold Customer
Joined: 3/20/2006 Posts: 161
|
I need to create a bullish engulfing PCF to creaate a indicator. How do I do this? Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Bullish Engulfing pattern given in the Boolean PCFs for Candlestick Patterns topic is as follows.
(O1>C1) AND (C-O)>=.7*(H-L) AND (C>O1) AND (O<C1) AND (H-L)>=1.2*(AVGH10-AVGL10)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
What I want to know is how create an indicator wih it. Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You would select Add Plot to Chart (the green + in the upper left) and choose Custom PCF % True Indicator from the list.
You would then use the Condition Formula as the Boolean Formula in the Custom PCF % True Indicator.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
I used the formula that you listed above and it does not pick up all of the bullish engufing pattern. I found 7 patterns in one stock over six months but the formula only picked up three. Any suggestions? Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
All that means is that your particular definition of a bullish engulfing pattern is different the definition being used by the author of the Boolean PCFs for Candlestick Patterns topic.
This is incredibly common as there is almost no universal agreement on the exact definitions of the various candlestick terms and patterns.
The pattern definition used in the Boolean PCFs for Candlestick Patterns topic requires the close of the current bar to be above the open of the previous bar, the open of the previous bar to be above the close of the previous bar, the close of the previous bar to be above the open of the current bar, the body of the current bar to be at least 70% of the candle and the current candle to be at least 20% bigger than average candle over the most recent 10 bars.
If you provide a specific unambiguous objective definition of what you see as a bullish candlestick pattern, we can help you implemen your particular definition.
For example, if you want the close to be above the previous high, the previous open to be above the previous close and the previous low to be above the current open with no other qualifications, you could use the following.
C > H1 AND O1 > C1 AND L1 > O
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
The body of the today completely engulfs the body of yesterday. Shadows are not a consideration. The color of yesterdays bar is usually red while todays bar is green If you have a chart please look at an example of this in DF.on December 8 and 9. Hope that helps. Thanks you.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you want the close to be above the previous open, the previous open to be above the previous close and the previous close to be above the current open with no other qualifications, you can use the following.
C > O1 AND O1 > C1 AND C1 > O
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
That works and I set it up as an indicator and that workd also. Thanks very much.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |