Maybe I did not describe enough the bug in detail. I hope someone from MQL is going to answer.
When calculating iMAOnArray there is always MODE_SMA being used. Also if you chose MODE_SMMA iMAOnArray is calculating using MODE_SMA.
To put the question in other words: Is it possible to make iMAOnArray use MODE_SMMA?
Jan Tarnogrocki:
Hi there,
is iMAOnArray working with MODE_SMMA? Regardless my settings it always returns the values with MODE_SMA.
Which is perfectly normal. Do you know how SMMA is calculated ? You should check.
If you have X values and you are calculating SMMA on a X period, SMA=SMMA.
You need at least 5 values in your buffer to calculate SMMA with a period=3.

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
Hi there,
is iMAOnArray working with MODE_SMMA? Regardless my settings it always returns the values with MODE_SMA.