FractalTrade_

Williams Accumulation/Distribution

This is an indicator described by Larry Williams in one of his books. Larry won the 1987 World Cup Championship of Futures Trading, where he turned $10,000 to over $1,100,000 in a 12-month competition with real money.

Larry used this indicator to track divergences between price action and volume, which he called patterns of accumulation (bullish divergence) and distribution(bearish divergence). Its logic is similar to On Balance Volume(OBV), where it accumulates up and down volume in a single line, but also takes into account the size of the candle in its calculation, by taking the difference between the open and close, and the high and the low.

Enjoy!
Release Notes:
Updated to pinescript V5
Added Moving Average cloud, with option to disable it

@FractalTrade_
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?