Registered User Joined: 3/31/2005 Posts: 17
|
Hello Sir,
I would like to create an upper and lower BB custom indicator in the top window and then not have it visual so I can get the daily BB readings when I press the “Period” key twice and the window opens providing the applicable data.
I did a search here and found an upper BB PCF as follows:
(AVGC20 + 2 * SQR(ABS(C ^ 2 + 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 - 20 * AVGC20 ^ 2) /20))
And a lower BB PCF as follows:
(AVGC20 - 2 * SQR(ABS(C ^ 2 + 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 - 20 * AVGC20 ^ 2) / 20))
They work fine and provide the actual reading for the day but ….. when I checked the “Visual” box I noted that my indicator lines did not match up the default indicator BB’s. I have the “Plot using price scale” checked and I tried both simple and exponential. I’m doing something wrong here and would appreciate your help.
Thanks in advance.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Since you are using the current production version of TeleChart instead of the TC2000.com version 11 beta, please try changing the / 20 at the end of each formula to a / 19 and make sure the Scaling being used for Price on the Chart is Arithmetic.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 3/31/2005 Posts: 17
|
Yes that did it and thank you.
If it's not too complicated, why the 19 and the aritmetic.
Thank you
|
Registered User Joined: 3/31/2005 Posts: 17
|
I notice that the TC2007 default BB gives a slightly different reading than say brand X, err, stockcharts. But, when I use the PCF you provided and a 20 rather than the 19 I get the same reading as stockcharts. Interesting.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The current version of TeleChart uses Standard Deviation of Sample in its Bollinger Band calculations (using Period - 1 for the denominator).
The TC2000.com version 11 beta uses Standard Deviation of Population in its Bollinger Band calculations (using Period for the denominator).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|