There seems to be a problem with this indicator. When I switch the timeframe to W1 or to MN, I get a strange indicator line.
See here for W1:
Dr Matthias Hammelsbeck:
There seems to be a problem with this indicator. When I switch the timeframe to W1 or to MN, I get a strange indicator line.
See here for W1:
Change line 51 from this :
int i=(int)MathMax(prev_calculated-1,1); for(; i<rates_total && !_StopFlag; i++)
To this :
int i=(int)MathMax(prev_calculated-1,0); for(; i<rates_total && !_StopFlag; i++)Or re-download it (it is updated)
Mladen Rakic:
Change line 51 from this :
To this :
Thank you!! That works!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Smoother momentum:
Momentum indicator is one of the frequently used indicators in Technical Analysis. But it has one "issue": it is a very "nervous" indicator - the values it displays are far from being smooth, and that can cause a lot of false signals in a lot of cases - regardless of the calculation period that is used.
This indicator is one of the possible ways to solve that issue. The smoothing is not done by smoothing the momentum value, but the calculation itself is changed completely. Even with a completely changed calculation method, the values are, as it can be seen by comparing it to "regular" momentum, a real momentum indicator except that the values are much, much smoother and that makes the number of false signals insignificant compared to regular momentum.
PS: just a quick example and a comparison of the smoother momentum and the "regular" momentum:
As it can be observed, there is no lag compared to "regular" momentum of the same period quite the opposite: in some cases the smoother momentum is leading compared to regular momentum, and the values of the smoothed momentum are (as its name tells us) much, much smoother.
Author: Mladen Rakic