Inverse Distance Weighted Moving Average (IDWma) – indicator MetaTrader 4
This multi-timeframe capable moving average discounts prices far from the average. It is smoother than SMA but follows price similar to an EMA of the same length. I came across en.wikipedia.org/wiki/Distance-weighted_estimator, thought it might be useful and coded it. It does have some overshoot and initial lag just like SMA, but converges to nearer to … Read more