Technical Studies Reference

AC DC Histogram - Bill Williams Acceleration Deceleration Oscillator

This study calculates and displays a Bill Williams Acceleration/Deceleration Oscillator for the data specified by the Input Data Input. It is computed using Simple Moving Averages, and it is closely related to Williams' Awesome Oscillator.

Let $$X$$ denote the Input Data, and let the Inputs Moving Average 1 Length, Moving Average 2 Length, Moving Average 3 Length, and Moving Average 4 Length be denoted as $$n_1$$, $$n_2$$, $$n_3$$, and $$n_4$$, respectively. Then we denote the AC DC Histogram at Index $$t$$ as $$ACDC_t(X,n_1,n_2,n_3,n_4)$$, and we compute it for $$t \geq \max\{n_1,n_2\} + n_3 + n_4$$ as follows.

$$ACDC_t(X,n_1,n_2,n_3,n_4) = SMA_t(AO(X,n_1,n_2) - SMA(AO(X,n_1,n_2),n_4)),n_3$$)