OPEN-SOURCE SCRIPT

Accumulation/Distribution Volume (ADV) [cI8DH]

Updated
This is the simplified and optimized version of my original ADV indicator. It shows both regular volume bars and the accumulated/distributed (A/D) portion of them. The equation is elegant and intuitive. It calculates candle body to candle height ratio and multiplies it by volume: volume*(close-open)/(high-low). This is the building block of my three other indicators, ADL, ADP and ADMF.

- The volume bars has two shades of green and red. The dark shade shows amount of A/D and the light shade shows total volume (what you see on a regular volume indicator).
snapshot

When money volume is enabled, volume is multiplied by price. As you can see in the chart below, trade volume in terms of USD was growing over the past years.
snapshot

- Blue line is the moving average of A/D and the orange line is for total volume. When "Baseline Chart" option is enabled, this moving average is identical to ADMF indicator which can be a powerful indicator for assessing buy/sell pressure as well as money flow and volume divergences. You can turn off volume bars (from style menu) for better visibility or you can use the below indicators.

Accumulation/Distribution Money Flow [Cyrus c|:D]


Please note that ADMF is now available as a part of ADP indicator as well and I recommend using the latter since ADP can also replace CMF and MFI indicators.

Accumulation/Distribution Percentage (ADP) [Cyrus c|:D]


- If you change the aggregation to cumulative (while having money volume disabled), the gray line becomes identical to On Balance Volume (OBV) and the blue line identical to my ADL indicator. The latter I would argue is more accurate than Chaikin's ADL, William's A/D and OBV.

Accumulation/Distribution Level (ADL) [Cyrus c|:D]
Release Notes
minor change in the way price is factored
Release Notes
- a minor change in input
Release Notes
- fixed MA's displaying below the columns
- added height option for overlaying on the main chart
Note: When overlaid on the main chart, you may see a gap below the indicator. I could fix this issue by setting the bottom margin to 0 on the "settings>scale" menu before adding the indicator and then setting the indicator scale to screen. You can set the bottom margin to a desired value afterwards. Alternatively, you can scale the indicator to the left and adjust the left scale. Don't forget to set the height in the indicator settings.
snapshot
Release Notes
- hides volume in cumulative mode
- some other minor improvements
Release Notes
minor update
Release Notes
- just changed the graphics to daily TF
Release Notes
here is a video tutorial showing how u can add this indicator to the main chart area

Accumulation / Distribution Line (ADL)CMFMFIOn Balance Volume (OBV)Volume Indicator

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer