0

The Upperband is calculated: Middleband + (D + sqrt(((close - Middle band)^2)/n))

And I know how to calculate the lower bollinger band and middle bollinger bands.

But there is an elusive indicator called the bollinger oscillator which I find combines the bollinger bands into a single oscillating indicator. Please explain how to calculate it. Use SQL if possible assume fields contain relevant values.

tread
  • 10,133
  • 17
  • 95
  • 170
  • Aren't Bollinger Bands the oscillator? – Matt Ball Mar 03 '13 at 18:16
  • Bollinger bands are just standard deviations away from the 20-day moving average, The Bollinger Oscillator (BOS) gives the price relative to the bands. EG. when the price is above the upper band the BOS = (>2), below lower band = (<-2), so basically the number of standard deviations from the middle band (i think). Search for %B (which is a kind of bollinger oscillator) I have been unable to find the BOS though. – tread Mar 04 '13 at 07:49

1 Answers1

1
  1. Find the 9-day moving average average (n1 + n2 ... + n9)/9
  2. Find the standard deviation of the 9-days
  3. Subtract 9-day Moving average from the current ruling price
  4. Take the answer devide by the standard deviation
  5. Answer is the BOS (Bollinger Oscillator)
tread
  • 10,133
  • 17
  • 95
  • 170