TradingView
cI8DH
Jul 2, 2018 7:57 PM

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

Bitcoin / DollarBitfinex

Description

This indicator should be more accurate than other indicators in its class (including MFI, CMF, ADL, and OBV) for measuring buy/sell pressure, identifying trend change through divergence and calculating Accumulation/Distribution (A/D) level (I will explain why in a separate TA).

This indicator is based on my previous indicator "Accumulation/Distribution Volume". It does not include the volume bars. The volume effect is adjustable as well.

Application:
- Buy/sell pressure: above 0 shows buy pressure, below 0 shows sell pressure.
- Divergence: as shown in the chart above, this indicator diverged from BTC price during swing lows and highs in the shown period.
- Accumulation/distribution: set Aggregation=Sum, Volume Exponent=10 and uncheck Price Factor.

Recommendations:
- Never use SMA
- Use larger length EMA for confirmation of divergence or buy/sell pressure (EMA 27 is equal to RMA 14 which is used in RSI).
. A/D mode is not recommended for hidden divergence.

My Setup:
- I use one instances of this indicator with default settings for buy/sell pressure
- A second instance for A/D level overlaid on the main chart
- One instance of "Accumulation/Distribution Volume" as a replacement for volume indicator



This indicator can also replicate Accumulation/Distribution Line (improved by True Range), On Balance Volume, and Price Volume Trend. Read more details on the description of the previous indicator:

tradingview.com/script/hJK1KwAM-Accumulation-Distribution-Volume/

I strongly recommend reading about similar indicators for potential uses e.g. tradingview.com/wiki/Money_Flow_(MFI) and tradingview.com/wiki/Price_Volume_Trend_(PVT)

I will publish a TA about correctly measuring divergence and using these indicators.

Please report any problems you find in the comments.

Release Notes

Volume exponent is replaced by a binary enable/disable option. The reason was that for some instruments that have volume below 1 unit, it has a heightening effect which could lead to confusion. I personally am using the older version with adjustable volume exponent. Previous version is available at pastebin.com/JPWvDKCU

PS: Here is a more clarification about my suggestion re not using SMA tradingview.com/script/xNwMiYef-Accumulation-Distribution-Money-Flow-Cyrus-c-D/

Release Notes

- Simplified the indicator by removing replication of other indicators. Use ADV indicator if you want all the geeky features
- Using Smoothed MA (same as the MA used in RSI)

For range-bound version of this indicator, check out my ADP indicator here which also includes this indicator:
tradingview.com/script/hM0zajVr-Accumulation-Distribution-Percentage-ADP-Cyrus-c-D/


Previous version is available in Pine script version system and here pastebin.com/raw/LFBkyfZb

Release Notes

- Code optimization
- Minor change in the way price is factored

Release Notes

Release Notes

- minor change in input settings
- minor change in the way price is factored in

Release Notes



Ultimate Money Flow add a lot of features to ADMF. ADMF will not be updated anymore.

tradingview.com/script/qwxRjZWn-Ultimate-Money-Flow-UMF-Stoch-Multi-Time-Frame-MTF-cI8DH/
Comments
CryptoSwindle
You got talent mate, thanks for sharing with the world (Y)
cI8DH
@cryptogast33, your welcome my friend. I hope you find it useful :)
CryptoSwindle
@hkh222, I haven't had time yet, but will have certainly in the vacation I'm taking, so will have take a look at the source code and backtesting when I'm in the pool :P
Looking very promising so far!
cI8DH
@cryptogast33, Great. Have fun in your vacation. I will hopefully publish a TA about these indicators sets explaining why they should work better.
CryptoSwindle
@hkh222, Thanks mate, you too! Nice, looking forward for your thesis (Y)
johnsonhello
Thank you for making and sharing this indicator. It has been a blessing and instrumental in my chart analysis. Truly appreciated!
Heroturk
👏👏👏
jdelcu07
I love this indicator, thank you!!
MuanSimte
this is very good. I used is in weekly chart and its very reliable. thank you for the share.
rngpmx
Is this possible to have this indicator for ninjatrader?
More