Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

%B Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
flan4
Posted : Friday, March 6, 2015 8:22:00 AM
Registered User
Joined: 3/12/2005
Posts: 123

In TC 2000 V7 Is it possible to create a %B indicator of a 20-day bollinger band with 2 standard deviation upper and lower bands?  %B is the position of price between the upper and lower bands.

Thanks

Bruce_L
Posted : Friday, March 6, 2015 12:41:55 PM


Worden Trainer

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

Please try adding a Custom Indicator with the following settings.

Plotting Custom Indicators with Examples

- Period: 1
- Average Type: Doesn't matter.
- Formula: (C - AVGC20) / 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) + .5

You can multiply this by 100 if you want it to from 0 at the bottom and 100 at the top instead of 0 at the bottom and 1 at the top.

100 *((C - AVGC20) / 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) / 20) + .5)

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



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
flan4
Posted : Thursday, March 12, 2015 11:43:04 PM
Registered User
Joined: 3/12/2005
Posts: 123

Thanks  Bruce!

Bruce_L
Posted : Friday, March 13, 2015 7:18:28 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.