OPEN-SOURCE SCRIPT
已更新 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.
![Accumulation/Distribution Money Flow [Cyrus c|:D]](https://s3.tradingview.com/x/xNwMiYef_mid.png)
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]](https://s3.tradingview.com/h/hM0zajVr_mid.png)
- 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]](https://s3.tradingview.com/w/Wj4NvOBH_mid.png)
- 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.
![Accumulation/Distribution Money Flow [Cyrus c|:D]](https://s3.tradingview.com/x/xNwMiYef_mid.png)
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]](https://s3.tradingview.com/h/hM0zajVr_mid.png)
- 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]](https://s3.tradingview.com/w/Wj4NvOBH_mid.png)
版本注释
minor change in the way price is factored版本注释
- a minor change in input版本注释
- 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.
版本注释
- hides volume in cumulative mode- some other minor improvements
版本注释
minor update版本注释
- just changed the graphics to daily TF开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。