cI8DH

Accumulation/Distribution Volume

This is a simple yet powerful indicator that can replace volume , Money Flow , Chaikin Money Flow , Price Volume Trend (PVT), Accumulation/Distribution Line (ADL), On Balance Volume (OBV).

When "Baseline Chart" option is disabled, it looks similar to regular volume . The volume bars has two shades of green and red. The dark shade shows amount of accumulation and the light shade shows total volume (what you see on a regular volume indicator). Blue line is the moving average (or cumulative total) of A/D and the gray line is for total volume .



When money volume is enabled, volume it multiplied by price. As you can see in the chart below, trade volume in terms of USD was declining after ATH . This is not the case in regular volume chart which shows instrument volume (chart above).



In Baseline view, the aggregation method you choose can turn it into different indicators. With EMA/SMA aggregation, blue and gray line shows buy/sell pressure. At 0, there is not buy or sell pressure.




If you turn off volume bars (from style menu), it gives you a reliable indicator to measure divergence. This should be more reliable than most other range-bound indicators (i.e. RSI , MFI , CMF ). I will publish a TA about correctly measuring divergence (it's a must read even if you are a pro trader). Make sure that the length is set to a large number on smaller TFs such as 4h.




For following results, set aggregation to cumulative and turn off money volume:

When wick weight=0, the GRAY line is identical to OBV indicator.



When normalized by spread and wick weight=10, the BLUE line is identical to ADL (improved by true range).



When normalized by previous bar price, wick weight=0, the BLUE line is identical to PVT.



How I use this indicator:

- Baseline chart, replaced my regular volume indicator
- Mostly 4h TF for divergence
- EMA aggregation (and occasional cumulative aggregation) with length above 50. I change the length to 100 and 200 for confirmation.
- Wick weight=0 or max 2.

With this indicator, you can learn how different indicators are built and how they are different from each other. I will publish a TA to explain more about different indicators and their pros and cons.

I will publish this indicator without volume bars and additional options to make it range bound.
Phát hành các Ghi chú: - fixed a minor bug re disabling
- changed the default chart mode
Phát hành các Ghi chú: - Changed EMA aggregation to smoothed with equivalent length (EMA length = 2 x Smoothed MA length - 1
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
This looks very good, thanks for sharing!
I actually don't see the EMA but I can choose for the cumulative, does this matter?
I now have the Baseline chart, cumulative 100, spread 10 for btc, is that correct settings/?
Phản hồi
Flixer Flixer
@Flixer, no sorry just cumulative 100
Phản hồi
Flixer Flixer
@Flixer, smoothed 100 better?
Phản hồi
Thank you for sharing.
Phản hồi
Hi cI8DH, what a promising indicator. I am toying with it and like the 'baseline' feature. Any chance of having the opposing wick show up as well? For example, when the ADV histogram is green, show the wick for how far the selling attempt was. With the addition of the opposing wick, one can easily gauge the potential strength per bar/set of bars for potential reversal or trend continuation.
+1 Phản hồi
new version is here:
Phản hồi
AMAZING
i wish to use the "true" accumulation/distribtion volume (dark green and red) in order to confirm my entry in my personal script.
What is the part of your great code that mean true accumulation/distribution volume?
Thx a lot
Phản hồi
cI8DH nonobdx
@nonobdx, thanks :)

By default, it is equal to volume*(current close - prev close)/"True Range".
Phản hồi
@hkh222, for example i want to have signal if buy volume is superior to XX% of the sell volume of the previous period.
I have to use "bad" as volume?
Phản hồi
cI8DH nonobdx
@nonobdx, perhaps u can add a line like this to the end.

xx = 80 // percent
barcolor(sad > 0 and sad < 0 and sad > -xx*sad/100 ? blue : na, title="Bar Color")


Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Giá Quy tắc Áp dụng Người điều hành Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Trung tâm Trợ giúp Yêu cầu tính năng Blog & Tin tức Câu hỏi thường gặp Wiki Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Đồng TradingView Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất