Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Bollinger bandwidth crossovers Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
TLOTLAT
Posted : Wednesday, July 18, 2007 4:09:14 AM
Registered User
Joined: 2/26/2005
Posts: 8
I've been working with pcf's for a crossover of a Bollinger 10/10 bandwidth indicator line crossing up over a 20/20 bandwidth indicator line without any success. Would you be able to help me?
Bruce_L
Posted : Wednesday, July 18, 2007 8:45:26 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you have these plotted as Custom Indicators in TeleChart, you should realize that they are not being plotted on the same scale. I've plotted both Bollinger Bandwidth indicators in the same Pane and on the same scale in Blocks and they almost never cross. This is probably because the SD of the BB20,20 version is multiplied by a factor of 2 while the SD of the BB10,10 is multiplied by 1 (meaning it is not altered at all).

The following formula will test for the Bollinger Bandwidth 10,10 crossing up through the Bollinger Bandwidth 20,20, but will almost never return True:

SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 - 10 * AVGC10 ^ 2) / 9) > 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) / 19) AND SQR(ABS(C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 - 10 * AVGC10.1 ^ 2) / 9) <= 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)

You may wish to review the following:

How to create a Personal Criteria Forumula (PCF)
Modelling Bollinger Bands (& Standard Deviation) in a TC PCF
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.