Larry Williams' Accumulation/Distribution, or W_A/D, is an accumulated sum of "accumulative" and "distributive" price movements. The term accumulation is used for indication of a market controlled by buyers, and "distribution" means a market controlled by sellers.
Thus, if the current closing price is higher than the previous one, W_A/D increases by the difference of the current closing price and the true minimum. But if the current closing price is lower than the previous one, W_A/D decreases by the difference of the current closing price and the true minimum.
Williams recommends using following discrepancies as trading signals of this indicator:
This indicator was first implemented in MQL4 and published in CodeBase on February 12, 2007.
Fig.1. Williams_Accumulation_Distribution Indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/2416
The i-AMMA indicator with the timeframe selection option available in input parameters.i-FractalsEx
The indicator draws fractals with the bar number indication option available for determining a fractal in input parameters.