MOTHER OF ALL DIVERGENCES (M.O.A.D.)
Hi folks, I needed a good divergence indicator for MT5 and got inspired by the famous Divergence for Many Indicators.
It was not an easy task, but here we go. I found some logical flaws in the MT4 code, so fixed them and improved overall accuracy:
-OBV was wrongly looking into the future.
-SimpleMA math was flawed, returning wrong numbers.
-CMF did not keep array continuity.
-Stochastic missed bounds check.
Enjoy.
+C+