Registered User Joined: 11/8/2005 Posts: 44
|
Hello.
Can you please help me with a pcf that pick up all stocks that close or have the wick outside of the 20 (period 20, width 20) B'bands previous day (:yesterday).
Thank you for all your help. :-)
Monica
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Since you have used a Width of 20, I am going to assume this is for TeleChart 2007.
(H1 - AVGC20.1 + AVGC20.1 - L1 + ABS(H1 - AVGC20.1 - AVGC20.1 + L1)) / 2 > 2 * SQR(ABS(C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 + C20 ^ 2 - 20 * AVGC20.1 ^ 2) / 19)
Modelling Bollinger Bands (& Standard Deviation) in a TC PCF
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 11/8/2005 Posts: 44
|
Thanks so much Bruce. This works great!
Sorry I didn't specify TeleChart 2007. I'll remember for next time :-)
Monica
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|