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 Bands (BB) Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Bruce_L
Posted : Thursday, March 16, 2017 10:40:59 AM


Worden Trainer

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

Bollinger Bands (BB)

Templates (v17+)

Function Version (simple, of closing prices)

Bottom Band

BBBOT(d, x, z)

Top Band

BBTOP(d, x, z)

Center Line

AVG(C, x)

Indicator Version (simple, of closing prices)

Bottom Band

BBBOTd.x.z

Top Band

BBTOPd.x.z

Center Line

AVGCx

Generalized Version

Bottom Band

AVG(w, x) - d * SQR(ABS((SUM(w, x) - SUM(w, x) ^ 2 / x) / x))

Top Band

AVG(w, x) + d * SQR(ABS((SUM(w, x) - SUM(w, x) ^ 2 / x) / x))

Center Line

AVG(w, x)
Where d is the d = width in standard deviations +/- from the centerline. Must be an integer in the indicator version.
Where w can be any formula which returns a numeric value.
Where x is the Period of the Bollinger Bands
Where z is the number of Bars Ago. z can also be a date in the indicator version. May 4, 2015 would be (single quotes required): '05/04/2015'
 
The Average Type is assumed to be Simple. If you want to change this, it is best to use the generalized version.
Change AVG to FAVG for a Front Weighted Average Type.
Change AVG to HAVG for a Hull Average Type.
Change AVG to XAVG for an Exponential Average Type.

Related Topics



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