Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Bollinger Bands %B
Template (v17+)
Function Version (of closing price)
(C(z ) - AVG(C(z ), x)) / 2 / d / STDDEV(x, z) + .5
Indicator Version (of closing price)
(Cz - AVGCx.z) / 2 / d / STDDEVx.z + .5
Generalized Version
(w - AVG(w, x)) / 2 / d / SQR(ABS((SUM(w, x) - SUM(w, x) ^ 2 / x) / x)) + .5
Where w can be any formula which returns a numeric value.
Where x is the period.
Where z is the number of Periods 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.
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
|