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 |

BB Squeeze Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mj
Posted : Thursday, July 26, 2012 6:34:40 AM
Registered User
Joined: 1/16/2005
Posts: 33

I am trying to view the values of the Bollinger Band Width Indicator with a 3 min chart but the values displayed are all 0.00   The BB parameters I use are 30 period lookback with 1 StDev.  If the correct values would display, then I would create a condition for identifying when < .15  Can you help ?

Bruce_L
Posted : Thursday, July 26, 2012 8:18:16 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I currently have 2741 symbols in the US Common Stocks WatchList which don't display 0.00 in a 3-Minute Time Frame. This means that more than half of the symbols in the WatchList do. There is a good reason for this however.

The value being displayed is the width of the Bollinger Bands divided by the value of the center line of the Bollinger Bands (which is Moving Average with the same period as the Bollinger Bands).

Modelling Bollinger Bands (& Standard Deviation) in a TC PCF

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 + C20 ^ 2 + C21 ^ 2 + C22 ^ 2 + C23 ^ 2 + C24 ^ 2 + C25 ^ 2 + C26 ^ 2 + C27 ^ 2 + C28 ^ 2 + C29 ^ 2 - 30 * AVGC30 ^ 2) / 30) / AVGC30

This means a Daily Time Frame is normally going to produce a far higher value than a 3-Minute Time Frame.

Note that we increase the value displayed by increasing the Std Dev setting of the Bollinger Bandwidth indicator to allow you to use your .15 setting. The other option would be to test against a value smaller than .15.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mj
Posted : Thursday, July 26, 2012 8:28:24 AM
Registered User
Joined: 1/16/2005
Posts: 33

Thanks Bruce.  Is there a way to see values of the BB width without that value being divided by the center line MA ?

Bruce_L
Posted : Thursday, July 26, 2012 8:45:44 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You could use a Custom PCF Indicator. The formula in my previous post without the / AVGC30 at the end would do it:

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 + C20 ^ 2 + C21 ^ 2 + C22 ^ 2 + C23 ^ 2 + C24 ^ 2 + C25 ^ 2 + C26 ^ 2 + C27 ^ 2 + C28 ^ 2 + C29 ^ 2 - 30 * AVGC30 ^ 2) / 30)

It should probably be noted that dividing by the Moving Average is done for a reason. It allows the values to be comparable between symbols.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mj
Posted : Thursday, July 26, 2012 8:59:51 AM
Registered User
Joined: 1/16/2005
Posts: 33

Bruce - I get the message shown. 

Bruce_L
Posted : Thursday, July 26, 2012 9:04:04 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

All that means is that you tried to create it as a Condition Formula when it is not. It is an Indicator Formula and will show up in Indicators along the left.

If you want to create a Condition Formula out of it, you would need to add the < .15 to the end of the formula:

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 + C20 ^ 2 + C21 ^ 2 + C22 ^ 2 + C23 ^ 2 + C24 ^ 2 + C25 ^ 2 + C26 ^ 2 + C27 ^ 2 + C28 ^ 2 + C29 ^ 2 - 30 * AVGC30 ^ 2) / 30) < .15

My suggestion had been to add it as a Custom PCF Indicator. This is done by selecting Add Indicators from the top of the chart and selecting Custom PCF Indicator from the list. You can then click on the Custom PCF Indicator and select Create Scan Condition to create a Condition.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mj
Posted : Thursday, July 26, 2012 9:21:36 AM
Registered User
Joined: 1/16/2005
Posts: 33

Bruce - thanks so much.  Perfect.  Exactly what I was looking for.

Bruce_L
Posted : Thursday, July 26, 2012 9:22:25 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-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.