OPEN-SOURCE SCRIPT
Telah dikemas kini 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)
Nota Keluaran
minor change in the way price is factoredNota Keluaran
- a minor change in inputNota Keluaran
- 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.
Nota Keluaran
- hides volume in cumulative mode- some other minor improvements
Nota Keluaran
minor updateNota Keluaran
- just changed the graphics to daily TFSkrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.