Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Bollinger Bandwidth (BBW)
Template (v17+)
Function Version (of closing prices)
2 * d * STDDEV(x, z) / AVG(C(z ), x)
Indicator Version (of closing prices)
2 * d * STDDEVx.z / AVGCx.z
Generalized Version
2 * d * SQR(ABS((SUM(w, x) - SUM(w, x) ^ 2 / x) / x)) / AVG(w, x)
Where d is the Std Dev setting.
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
|