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 Band Pop & Squeeze Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
thesolipsist
Posted : Tuesday, January 25, 2011 12:06:48 PM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 21
Hi All —


Need help writing 2 PCFs (TC2000), please:

 First is Bollinger Band Pop above Upper Band and out of B-Band squeeze:

1)   Bollinger Bands simple moving average period of 20 and standard deviation of 2. 

 2)   Price close yesterday was below Upper B-Band and price close today is above Upper B-Band.

 3)   And Bollinger Bandwidth yesterday (1-Bar ago) was less than 0.05.

 4)   And volume today is greater than a 30-period simple moving average of volume multiplied by 1.49

Also:

 Bollinger Bandwidth (B-Bands 20, 2) value converted to percentage and value Less Than 5.0%

 Thank you  -thesolipsist

 

Bruce_L
Posted : Tuesday, January 25, 2011 12:12:43 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
All questions, comments and suggestions related to the TC2000.com version 11 beta should be addressed to:

feedback@tc2000.com

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thesolipsist
Posted : Tuesday, January 25, 2011 12:16:30 PM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 21
Need for Telechart 2007, also.   Is that Verbotten too??


Thanks,
Bruce_L
Posted : Tuesday, January 25, 2011 12:37:29 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The settings and Indicators you have specified are obviously from the TC2000 version 11 beta and not the current version of TeleChart.

QUOTE (thesolipsist)
Bollinger Bands simple moving average period of 20 and standard deviation of 2.

The settings in the current version of TeleChart would be a Period of 20 and a Width of 20.

Upper Band:

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) / 19)

Lower Band:

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) / 19)

QUOTE (thesolipsist)
Price close yesterday was below Upper B-Band and price close today is above Upper B-Band

C > 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) / 19) AND C1 < AVGC20.1 + 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)

QUOTE (thesolipsist)
And Bollinger Bandwidth yesterday (1-Bar ago) was less than 0.05.

If you mean actual Bollinger Bandwidth:

4 * 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) < .05

If you mean Bollinger Bandwidth expressed as a percentage of the centerline:

400 * 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) / AVGC20 < .05

QUOTE (thesolipsist)
And volume today is greater than a 30-period simple moving average of volume multiplied by 1.49

V > 1.49 * AVGV30

So if you mean the actual Bollinger Bandwidth, combining them results in:

C > 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) / 19) AND C1 < AVGC20.1 + 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) AND 4 * 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) < .05 AND V > 1.49 * AVGV30

QUOTE (thesolipsist)
Bollinger Bandwidth (B-Bands 20, 2) value converted to percentage and value Less Than 5.0%

Assuming this is expressed as a Percentage of the Centerline:

400 * 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) / AVGC20 < 5

Dealing with OBV & MS in PCF's - how to interp their "values"
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
thesolipsist
Posted : Tuesday, January 25, 2011 12:56:17 PM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 21
Bruce - You are absolutely "golden."  Thanks so very much!
Bruce_L
Posted : Tuesday, January 25, 2011 12:59:12 PM


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.