Moving average of Accumulation/Distribution

 

Does anyone know how to make a second buffer that is a Smooth Moving Average of the first buffer in the Accumulation/Distribution indicator? If so, how can it be done?

Visually, what I want to see, I can do manually, but need it coded. To do it manually:

1. Place Accumulation/Distribution indicator on MT4 chart.

2. In Navigator, open indicators folder, and drag Moving Average onto Accumulation/Distribution indicator that's on the chart.

3. In Parameters tab in window that pops up, beside Apply to: Choose Previous Indicator's Data. Click OK.

Now we see a Accumulation/Distribution using historical data, and a moving average on top of that (also stretching back into history just like Accumulation/Distribution does).

Anyone know how to do this in the indicator?

Thanks

Reason: