cI8DH

Accumulation/Distribution Volume (ADV) [cI8DH]

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).


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.


- 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.



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.



- 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.

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.
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

Remove from Favorite Scripts Add to Favorite Scripts
Ah, I see, a doji. Thanks for your expedient response - and for this indicator.
Reply
What do the grey volume bars indicate?
Reply
cI8DH Cryptocontinuum
@Cryptocontinuum, it shouldn't happen very often. when price open and close are the same, it shows gray. that means neutral.
Reply
Thank you for taking the time to create this indicator and sharing it with us.
Reply
Thank you for sharing.
Reply
hi indicator seem cool, but when i put in i can't see any value or lines in my chart, where is the problem?
can anyone help
Reply
cI8DH Crypto_Popat
@Crypto_Popat, pls try ultimate volume for now until I fix the issue. Pine was upgraded without full backward compatibility
Reply
Hi cl8DH! There is something wrong with pine, RSI is not correct, try this in code:

RSI = if RSI_enabe and range
2*(rsi(src,len)-50)
rsi2 = 2*(rsi(src,len)-50) // I add the same code, except "if" condition.


plot(RSI, color=#9900ffff, title="RSI")
plot(rsi2, color=red, title="rsi2") // The same plot? No! WTF?
Reply
cI8DH cryp707rader
@cryp707rader, maybe it is plotting them on top of each other. r u trying to change RSI range from <0-100> to <-100 100>?
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Help Center Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out