OPEN-SOURCE SCRIPT
True Accumulation/Distribution

Accumulation/Distribution is developed by Marc Chaikin to provide insight into strength of a trend by measuring flow of buy and sell volume.
The fact that A/D only factors current period's range for calculating the volume multiplier causes problem with price gaps. They are ignored or even misinterpreted.
True Accumulation/Distribution solves the problem by using True Range instead of only relying on current period's high and low.
In this example you can see when a gap has occurred in Amazon Inc.'s daily chart True A/D has handled it better than Accumulation/Distribution which a bearish close in period's range has caused it to misinterpret the strong buy pressure as sell volume.

The fact that A/D only factors current period's range for calculating the volume multiplier causes problem with price gaps. They are ignored or even misinterpreted.
True Accumulation/Distribution solves the problem by using True Range instead of only relying on current period's high and low.
In this example you can see when a gap has occurred in Amazon Inc.'s daily chart True A/D has handled it better than Accumulation/Distribution which a bearish close in period's range has caused it to misinterpret the strong buy pressure as sell volume.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.