Re: Volume Indicators for MT4

893
Hello folks. I am testing this extensively as an alternative to CMF, that I consider the best volume indicator ever. Apologies for the code quality, it is essential, but works. I hope one of our brilliant coders would take a look at it for possible upgrades (MTF, smoothing, arrows, coloring, etc), in case there is a common interest.

Introduction to Dynamic Money Flow (DMF)

The Dynamic Money Flux (DMF) indicator is an advanced technical analysis tool designed to provide enhanced insights into market dynamics. Building on the concepts of traditional money flow indicators, DMF offers improved sensitivity and adaptability. The indicator is an evolution of the Chaikin Money Flow (CMF) indicator, which was developed by Marc Chaikin in the 1980s. CMF itself is derived from the Accumulation/Distribution Line, combining price and volume to gauge buying and selling pressure. DMF takes these foundational principles and integrates more sophisticated calculations to better capture market movements.

Mathematical Foundation

DMF calculates the money flow using a refined approach:
The core formula revolves around the ratio of cumulative money flow (CMF) to the cumulative volume, adjusted by the chosen parameters to reflect different market conditions.

Benefits vs. Chaikin Money Flow (CMF)
  • Enhanced Sensitivity: DMF's ability to use simulated volume and dynamic weight distribution makes it more responsive to rapid market changes.
  • Adaptability: Parameters such as Volume Power and Weight Distribution Method allow traders to customize the indicator to their specific trading style and the asset being analyzed.
  • Flexibility: With options for dynamic and static calculations, DMF can be fine-tuned for both short-term trading and long-term analysis.
Main Usages of Dynamic Money Flux (DMF)
  • Trend Strength Confirmation: DMF helps confirm the strength of a trend by measuring money flow. Increased DMF values indicate strong trends, while decreasing values suggest weakening trends (e.g., DMF staying above zero indicates sustained bullish strength).
  • Identifying Trend Weakness: Divergences between price and DMF values can signal potential trend reversals or corrections (e.g., DMF falling below zero may suggest weakening bullish momentum or emerging bearish trends).
  • Breakout Confirmation: DMF can validate breakouts by confirming if money flow supports the price movement, reducing false breakout signals (e.g., DMF crossing above 0.1 during a price breakout confirms strong buying pressure).
  • Reversal Detection: Significant changes in DMF can help identify market tops or bottoms, signaling potential reversals (e.g., DMF crossing from below zero to above zero can signal a bullish reversal).
  • Supporting Volume Analysis: By incorporating volume, DMF offers a more comprehensive view of market dynamics compared to traditional price-only indicators (e.g., DMF rising above 0.1 indicates increasing buying pressure).
Best Settings for Different Instruments and Time Frames

These are purely based on my personal experience, so don't take them as financial advice ;)

Gold (XAU/USD)
5m Time Frame
Period=20
SimulativeVolume=true
VolumePower=1.5
WeightDistributionMethod=0
StaticDistBias=60

15m Time Frame
Period=30
SimulativeVolume=true
VolumePower=1.2
WeightDistributionMethod=0
StaticDistBias=50

EUR/USD
5m Time Frame
Period=14
SimulativeVolume=false
VolumePower=1.0
WeightDistributionMethod=1
StaticDistBias=50

15m Time Frame
Period=20
SimulativeVolume=false
VolumePower=1.0
WeightDistributionMethod=1
StaticDistBias=50

US30 (Dow Jones Index)
5m Time Frame
Period=25
SimulativeVolume=true
VolumePower=1.5
WeightDistributionMethod=0
StaticDistBias=70

15m Time Frame
Period=35
SimulativeVolume=true
VolumePower=1.3
WeightDistributionMethod=0
These users thanked the author Cagliostro for the post (total 9):
twix, Ogee, 88FX88, rudiarius, mrtools, RodrigoRT7, Jimmy, FXchaos, doolfrews
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro

Re: Volume Indicators for MT4

894
Cagliostro wrote: Thu Jun 27, 2024 7:05 pm Hello folks. I am testing this extensively as an alternative to CMF, that I consider the best volume indicator ever. Apologies for the code quality, it is essential, but works. I hope one of our brilliant coders would take a look at it for possible upgrades (MTF, smoothing, arrows, coloring, etc), in case there is a common interest.

Introduction to Dynamic Money Flux (DMF)
The Dynamic Money Flux (DMF) indicator is an advanced technical analysis tool designed to provide enhanced insights into market dynamics. Building on the concepts of traditional money flow indicators, DMF offers improved sensitivity and adaptability. The indicator is an evolution of the Chaikin Money Flow (CMF) indicator, which was developed by Marc Chaikin in the 1980s. CMF itself is derived from the Accumulation/Distribution Line, combining price and volume to gauge buying and selling pressure. DMF takes these foundational principles and integrates more sophisticated calculations to better capture market movements.
Here is other money flow indicator that also derived from CMF, they look very similar so you might be interest to test out while waiting for update
Here is mrtools description of Twiggs Money Flow:
post1295528560.html#p1295528560

Lastest update of TMF: post1295531555.html#p1295531555
These users thanked the author dreamingboy for the post (total 2):
Cagliostro, Jimmy

Re: Volume Indicators for MT4

895
dreamingboy wrote: Thu Jun 27, 2024 9:17 pm Here is other money flow indicator that also derived from CMF, they look very similar so you might be interest to test out while waiting for update
Here is mrtools description of Twiggs Money Flow:
post1295528560.html#p1295528560

Lastest update of TMF: post1295531555.html#p1295531555
I did not see that, thank you will for sure test it!

PS: they look very similar, indeed.
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro


Re: Volume Indicators for MT4

896
Cagliostro wrote: PS: they look very similar, indeed.
Right, here is other similar you might interest, just few post above in this same thread, Time Segmented Volume doesn't relate to CMF, but as we can see: post1295544421.html#p1295544421
Histogram version and some rundown about TSV: post1295440269.html#p1295440269

Many indicators, despite having different formulas or approaches, have very similar outcomes, or even if you play with the averages options enough, there are options that give identical results 🤔

In 3, i like TMF because smoother than others, and TSV for how sensitive to price or volume raises our awareness to be careful.
And sorry for making the thread longer, kvak, mrtools and other talent members may have been busy and missed the request. It's best to use "quote" command by user_id for them

Hi from VN!
These users thanked the author newbie4ever for the post:
Cagliostro
Don't mind me. I'm just walking around!

Re: Volume Indicators for MT4

897
newbie4ever wrote: Thu Jun 27, 2024 11:27 pm Right, here is other similar you might interest, just few post above in this same thread, Time Segmented Volume doesn't relate to CMF, but as we can see: post1295544421.html#p1295544421
Histogram version and some rundown about TSV: post1295440269.html#p1295440269

Many indicators, despite having different formulas or approaches, have very similar outcomes, or even if you play with the averages options enough, there are options that give identical results 🤔

In 3, i like TMF because smoother than others, and TSV for how sensitive to price or volume raises our awareness to be careful.
And sorry for making the thread longer, kvak, mrtools and other talent members may have been busy and missed the request. It's best to use "quote" command by user_id for them

Hi from VN!
Interesting, thanks! I stuck with CMF for years but feel need to look somewhere else.

Vietnam?
These users thanked the author Cagliostro for the post:
newbie4ever
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro

Re: Volume Indicators for MT4

898
Cagliostro wrote: Thu Jun 27, 2024 7:05 pm Hello folks. I am testing this extensively as an alternative to CMF, that I consider the best volume indicator ever. Apologies for the code quality, it is essential, but works. I hope one of our brilliant coders would take a look at it for possible upgrades (MTF, smoothing, arrows, coloring, etc), in case there is a common interest.
Thanks for the nice code. Made the code to work with the new mt4 and added smoothing. The smoothing doesn't seem to add too much lag.
These users thanked the author mrtools for the post (total 6):
Tradehunter, Cagliostro, rudiarius, kvak, simon_n3z, RodrigoRT7