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%B Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
gdl77
Posted : Thursday, December 26, 2013 12:38:55 PM
Registered User
Joined: 1/28/2005
Posts: 14

Hello Bruce,

 

I need some help to create PCFs for BB%B 15 2 that are crossing up 1 and crossing down 0 in vules. Your help is greatly appreicated.

Gary

 

Bruce_L
Posted : Thursday, December 26, 2013 1:00:11 PM


Worden Trainer

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

A Condition Formula for a Simple Bollinger Band %B 15, 2.00 crossing up through 1 can be written as:

(C - AVGC15) / 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 - 15 * AVGC15 ^ 2) / 15) + .5 > 1 AND (C1 - AVGC15.1) / 4 / 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 - 15 * AVGC15.1 ^ 2) / 15) + .5 <= 1

A Condition Formula for a Simple Bollinger Band %B 15, 2.00 crossing down through 0 can be written as:

(C - AVGC15) / 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 - 15 * AVGC15 ^ 2) / 15) + .5 < 0 AND (C1 - AVGC15.1) / 4 / 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 - 15 * AVGC15.1 ^ 2) / 15) + .5 >= 0

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

That said, there is a much easier way to do this in TC2000 version 12.4. Add the Bollinger Band %B indicator to the chart and adjust its settings as desired.

Adding and Moving Indicators

Then click on the Bollinger Band %B indicator and select Create Scan Condition. You would choose Crossing Up Value or Crossing Down Value and set the Crossing Through value to either 1 or 0 depending on what you want.

Create Conditions from Your Chart



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
gdl77
Posted : Thursday, December 26, 2013 1:10:51 PM
Registered User
Joined: 1/28/2005
Posts: 14

Thanks Bruce. It works.

Happy New Year!

Bruce_L
Posted : Thursday, December 26, 2013 1:15:53 PM


Worden Trainer

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

You're welcome. Happy New Year!



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