Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Indicators | Williams' Accumulation/Distribution, W A/D | Source Code Included

Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.


Williams' Accumulation/Distribution, W_A/D is the accumulated sum of positive "accumulative" price movements and negative "distributive" ones. The term "accumulation" is used to denote the market controlled by buyers, "distribution" denotes that the market is controlled by sellers.

Thus, if the current closing price is higher than the previous one, W_A/D is enlarged by the difference between the current closing price and the true minimum. If the current closing price is less than the previous, W_A/D is diminished by the difference between the current closing price and the true maximum.


As trade signals of this indicator, Williams recommends using divergences:

  • when price reaches a new maximum and W_A/D cannot reach the new maximum, it means the security distribution takes place. This is a signal to sell;

    Protect profits effectively with the smart Trailing Stop Expert Advisor. Advanced trailing options for MT4/MT5. See it in action.

  • when prices reaches a new minimum and W_A/D cannot reach the new minimum, it means the security accumulation takes place. This is a signal to buy.

Image for Williams' Accumulation/Distribution, W A/D

Complement community code with advanced automation from RobotFX.

7064

Best MetaTrader Indicators + Profitable Expert Advisors