문제

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.

도움이 되었습니까?

해결책

  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)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top