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 5 Indicators | Williams_Accumulation_Distribution | MQL5 Code

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

Real author:

MetaQuotes

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.

Trade the powerful Traders Dynamic Index strategy automatically with this dedicated TDI Expert Advisor. More details.

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:

  • Share is distributing if the price reaches new maximum, and Accumulation/Distribution Indicator cannot reach new maximum. This is a signal for selling;
  • Share is accumulating if the price reaches new minimum, and Accumulation/Distribution Indicator cannot reach new minimum. This is a signal for buying.

This indicator was first implemented in MQL4 and published in CodeBase on February 12, 2007.

Fig.1. Williams_Accumulation_Distribution Indicator

Fig.1. Williams_Accumulation_Distribution Indicator

Complement community code with advanced automation from RobotFX.

2416

Best MetaTrader Indicators + Profitable Expert Advisors