Here is the PdfMa awesome (mtf) (AO) with some enhancements I added and the Accelerator Oscillator (AC) with matching enhancements, including the PdfMA (Probability Density Function weighted Moving Average) function. I added the UT_ prefix to the names to distinguish my enhanced and modified versions from the originals.
So both the AO and AC are using the PdfMA (Probability Density Function weighted Moving Average) instead of just a SMA (Simple Moving Average). It is deviation from the original AO and AC since in the originals there is no parameter that you can change, but in these versions you can change the variance part of the PdfMA calculation. That way you can get different values for the AO and AC even without changing periods of calculation (the general rule of thumb is : the greater the variance, the smoother the result).
AO and AC Trade Signals:
In both indicators, buffer 5 is the valc buffer and it is labelled as the "Bias" buffer which is used to give you the trade Bias for trade signals.
So if use the variables, PdfMa_AC_Bias to indicate the AC Trade Bias and PdfMa_AO_Bias to indicate the AO Trade bias, then I found that:
A good buy signal is when PdfMa_AC_Bias>2 and the PdfMa_AO_Bias>2 and
A good sell signal is when PdfMa_AC_Bias<-2 and the PdfMa_AO_Bias<-2.
Of course you should use other indicators to confirm those signals. Also, since the AO is much slower than the AC, you may want to speed up the AO a little by either using a 21 "Ma period 2" instead of 34 OR by reducing the "Variance" from 2 to 1.5.