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

BOLLINGER BANDS Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
kissinkousins
Posted : Wednesday, February 13, 2013 10:43:25 AM
Registered User
Joined: 1/28/2010
Posts: 11

BRUCE, I HAVE A BOLLINGER BAND 50-2 ON TSV18 EXPONENTIAL. CAN YOU WRITE A CUSTOM INDICATOR FOR BOLLINGER BAND %B 50-2 FOR THAT TSV18 ?  THANK YOU, GENE

Bruce_L
Posted : Wednesday, February 13, 2013 11:14:15 AM


Worden Trainer

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

An Indicator Formula for the Upper Bollinger Band could be written as:

XAVG(TSV50,18) + 2 * SQR(ABS(XAVG(TSV1,18) ^ 2 + XAVG(TSV1.1,18) ^ 2 + XAVG(TSV1.2,18) ^ 2 + XAVG(TSV1.3,18) ^ 2 + XAVG(TSV1.4,18) ^ 2 + XAVG(TSV1.5,18) ^ 2 + XAVG(TSV1.6,18) ^ 2 + XAVG(TSV1.7,18) ^ 2 + XAVG(TSV1.8,18) ^ 2 + XAVG(TSV1.9,18) ^ 2 + XAVG(TSV1.10,18) ^ 2 + XAVG(TSV1.11,18) ^ 2 + XAVG(TSV1.12,18) ^ 2 + XAVG(TSV1.13,18) ^ 2 + XAVG(TSV1.14,18) ^ 2 + XAVG(TSV1.15,18) ^ 2 + XAVG(TSV1.16,18) ^ 2 + XAVG(TSV1.17,18) ^ 2 + XAVG(TSV1.18,18) ^ 2 + XAVG(TSV1.19,18) ^ 2 + XAVG(TSV1.20,18) ^ 2 + XAVG(TSV1.21,18) ^ 2 + XAVG(TSV1.22,18) ^ 2 + XAVG(TSV1.23,18) ^ 2 + XAVG(TSV1.24,18) ^ 2 + XAVG(TSV1.25,18) ^ 2 + XAVG(TSV1.26,18) ^ 2 + XAVG(TSV1.27,18) ^ 2 + XAVG(TSV1.28,18) ^ 2 + XAVG(TSV1.29,18) ^ 2 + XAVG(TSV1.30,18) ^ 2 + XAVG(TSV1.31,18) ^ 2 + XAVG(TSV1.32,18) ^ 2 + XAVG(TSV1.33,18) ^ 2 + XAVG(TSV1.34,18) ^ 2 + XAVG(TSV1.35,18) ^ 2 + XAVG(TSV1.36,18) ^ 2 + XAVG(TSV1.37,18) ^ 2 + XAVG(TSV1.38,18) ^ 2 + XAVG(TSV1.39,18) ^ 2 + XAVG(TSV1.40,18) ^ 2 + XAVG(TSV1.41,18) ^ 2 + XAVG(TSV1.42,18) ^ 2 + XAVG(TSV1.43,18) ^ 2 + XAVG(TSV1.44,18) ^ 2 + XAVG(TSV1.45,18) ^ 2 + XAVG(TSV1.46,18) ^ 2 + XAVG(TSV1.47,18) ^ 2 + XAVG(TSV1.48,18) ^ 2 + XAVG(TSV1.49,18) ^ 2 - 50 * XAVG(TSV50,18) ^ 2) / 50)

An Indicator Formula for the Centerline of the Bollinger Bands could be written as:

XAVG(TSV50,18)

An Indicator Formula for the Lower Bollinger Band could be written as:

XAVG(TSV50,18) - 2 * SQR(ABS(XAVG(TSV1,18) ^ 2 + XAVG(TSV1.1,18) ^ 2 + XAVG(TSV1.2,18) ^ 2 + XAVG(TSV1.3,18) ^ 2 + XAVG(TSV1.4,18) ^ 2 + XAVG(TSV1.5,18) ^ 2 + XAVG(TSV1.6,18) ^ 2 + XAVG(TSV1.7,18) ^ 2 + XAVG(TSV1.8,18) ^ 2 + XAVG(TSV1.9,18) ^ 2 + XAVG(TSV1.10,18) ^ 2 + XAVG(TSV1.11,18) ^ 2 + XAVG(TSV1.12,18) ^ 2 + XAVG(TSV1.13,18) ^ 2 + XAVG(TSV1.14,18) ^ 2 + XAVG(TSV1.15,18) ^ 2 + XAVG(TSV1.16,18) ^ 2 + XAVG(TSV1.17,18) ^ 2 + XAVG(TSV1.18,18) ^ 2 + XAVG(TSV1.19,18) ^ 2 + XAVG(TSV1.20,18) ^ 2 + XAVG(TSV1.21,18) ^ 2 + XAVG(TSV1.22,18) ^ 2 + XAVG(TSV1.23,18) ^ 2 + XAVG(TSV1.24,18) ^ 2 + XAVG(TSV1.25,18) ^ 2 + XAVG(TSV1.26,18) ^ 2 + XAVG(TSV1.27,18) ^ 2 + XAVG(TSV1.28,18) ^ 2 + XAVG(TSV1.29,18) ^ 2 + XAVG(TSV1.30,18) ^ 2 + XAVG(TSV1.31,18) ^ 2 + XAVG(TSV1.32,18) ^ 2 + XAVG(TSV1.33,18) ^ 2 + XAVG(TSV1.34,18) ^ 2 + XAVG(TSV1.35,18) ^ 2 + XAVG(TSV1.36,18) ^ 2 + XAVG(TSV1.37,18) ^ 2 + XAVG(TSV1.38,18) ^ 2 + XAVG(TSV1.39,18) ^ 2 + XAVG(TSV1.40,18) ^ 2 + XAVG(TSV1.41,18) ^ 2 + XAVG(TSV1.42,18) ^ 2 + XAVG(TSV1.43,18) ^ 2 + XAVG(TSV1.44,18) ^ 2 + XAVG(TSV1.45,18) ^ 2 + XAVG(TSV1.46,18) ^ 2 + XAVG(TSV1.47,18) ^ 2 + XAVG(TSV1.48,18) ^ 2 + XAVG(TSV1.49,18) ^ 2 - 50 * XAVG(TSV50,18) ^ 2) / 50)

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



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kissinkousins
Posted : Wednesday, February 13, 2013 5:54:54 PM
Registered User
Joined: 1/28/2010
Posts: 11

BRUCE, I AM LOOKING FOR A BOLLINGER BAND %B CUSTOM INDICATOR FOR THE BOLLINGER BAND ON THE TSV18. WHEN I USE THE WORDEN INDICATOR %B IT GIVES ME THE LOCATION OF THE PRICE WITHIN THE BOLLINGER BANDS AND NOT THE TSV18. THANKS, GENE

Bruce_L
Posted : Thursday, February 14, 2013 8:13:49 AM


Worden Trainer

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

Please try the following Indicator Formula:

(XAVG(TSV1,18) - XAVG(TSV50,18)) / 4 / SQR(ABS(XAVG(TSV1,18) ^ 2 + XAVG(TSV1.1,18) ^ 2 + XAVG(TSV1.2,18) ^ 2 + XAVG(TSV1.3,18) ^ 2 + XAVG(TSV1.4,18) ^ 2 + XAVG(TSV1.5,18) ^ 2 + XAVG(TSV1.6,18) ^ 2 + XAVG(TSV1.7,18) ^ 2 + XAVG(TSV1.8,18) ^ 2 + XAVG(TSV1.9,18) ^ 2 + XAVG(TSV1.10,18) ^ 2 + XAVG(TSV1.11,18) ^ 2 + XAVG(TSV1.12,18) ^ 2 + XAVG(TSV1.13,18) ^ 2 + XAVG(TSV1.14,18) ^ 2 + XAVG(TSV1.15,18) ^ 2 + XAVG(TSV1.16,18) ^ 2 + XAVG(TSV1.17,18) ^ 2 + XAVG(TSV1.18,18) ^ 2 + XAVG(TSV1.19,18) ^ 2 + XAVG(TSV1.20,18) ^ 2 + XAVG(TSV1.21,18) ^ 2 + XAVG(TSV1.22,18) ^ 2 + XAVG(TSV1.23,18) ^ 2 + XAVG(TSV1.24,18) ^ 2 + XAVG(TSV1.25,18) ^ 2 + XAVG(TSV1.26,18) ^ 2 + XAVG(TSV1.27,18) ^ 2 + XAVG(TSV1.28,18) ^ 2 + XAVG(TSV1.29,18) ^ 2 + XAVG(TSV1.30,18) ^ 2 + XAVG(TSV1.31,18) ^ 2 + XAVG(TSV1.32,18) ^ 2 + XAVG(TSV1.33,18) ^ 2 + XAVG(TSV1.34,18) ^ 2 + XAVG(TSV1.35,18) ^ 2 + XAVG(TSV1.36,18) ^ 2 + XAVG(TSV1.37,18) ^ 2 + XAVG(TSV1.38,18) ^ 2 + XAVG(TSV1.39,18) ^ 2 + XAVG(TSV1.40,18) ^ 2 + XAVG(TSV1.41,18) ^ 2 + XAVG(TSV1.42,18) ^ 2 + XAVG(TSV1.43,18) ^ 2 + XAVG(TSV1.44,18) ^ 2 + XAVG(TSV1.45,18) ^ 2 + XAVG(TSV1.46,18) ^ 2 + XAVG(TSV1.47,18) ^ 2 + XAVG(TSV1.48,18) ^ 2 + XAVG(TSV1.49,18) ^ 2 - 50 * XAVG(TSV50,18) ^ 2) / 50) + .5



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kissinkousins
Posted : Friday, February 15, 2013 5:32:33 PM
Registered User
Joined: 1/28/2010
Posts: 11

BRUCE, THE PCF FOR THE TSV18 BOLLINGER BANDS UPPER AND LOWER DOES NOT SEEM TO BE WORKING. THE BANDS ARE CROSSING EACH OTHER. I USED THE CUSTOM PCF INDICATOR, PERIOD 1 AND AVG. TYPE: SIMPLE. THE BOLLINGER BAND %B SEEMED TO BE WORKING BUT I AM NOT SURE ABOUT THE SCALE. ONCE THE BANDS ARE WORKING I CAN COMPARE THE %B AND THE TSV. THANKS FOR YOUR HELP, GENE

Bruce_L
Posted : Monday, February 18, 2013 8:59:01 AM


Worden Trainer

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

If you are using TC2000 version 7, you will not be able to get the Custom PCF Indicators to plot in the same scale (besides the price scale, which is not useful in this case).

In TC2000 version 12.3, you can add the indicators and then click on the move icon (an up and down arrow) in the upper left hand corner of the pane to move the indicator. You would then select Overlay in the TSV pane and choose to scale with TSV when prompted.



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