Gold Customer
Joined: 3/9/2005 Posts: 7
|
Would it be possible to create a PCF for stocks 10% below its BB20,2 on a weekly chart? What would the formula be.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Assuming the 2 means 2 Standard Devitions and not a Width setting of 2 in TeleChart:
Price at least 10% below Weekly Lower Bollinger Band 20,20:
C <= .9 * ((C + C5 + C10 + C15 + C20 + C25 + C30 + C35 + C40 + C45 + C50 + C55 + C60 + C65 + C70 + C75 + C80 + C85 + C90 + C95) / 20 - 2 * SQR(ABS(C ^ 2 + C5 ^ 2 + C10 ^ 2 + C15 ^ 2 + C20 ^ 2 + C25 ^ 2 + C30 ^ 2 + C35 ^ 2 + C40 ^ 2 + C45 ^ 2 + C50 ^ 2 + C55 ^ 2 + C60 ^ 2 + C65 ^ 2 + C70 ^ 2 + C75 ^ 2 + C80 ^ 2 + C85 ^ 2 + C90 ^ 2 + C95 ^ 2 - 20 * ((C + C5 + C10 + C15 + C20 + C25 + C30 + C35 + C40 + C45 + C50 + C55 + C60 + C65 + C70 + C75 + C80 + C85 + C90 + C95) / 20) ^ 2) / 19))
If you actually meant a 2 Width, change the 2 * SQR in the formula to .2 * SQR. You may wish to review the following:
Modelling Bollinger Bands (& Standard Deviation) in a TC PCF
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|