Registered User Joined: 3/12/2005 Posts: 40
|
I know this a general statement. Maybe, twice as large as the two week average range. Or maybe you an suggest a look-back period
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for the close being above the open of a candle which is at least twice as large as the average of the previous 10 bars can be written as follows.
O > C AND H - L >= 2 * (AVGH10.1 - AVGL10.1)
If you want to make sure the body is more than say 80% of the entire range of the candle, you could add a check for that as well.
O - C > .8 * (H - L) AND H - L > 2 * (AVGH10.1 - AVGL10.1)
Note that I was able to get rid of the check for O > C because if O = C or O < C, it can't be greater than .8 * (H - L).
Boolean PCFs for Candlestick Patterns
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|