As you know MA is just all the price values of the period bars added up to each other and then divided by the period to get to the average.
So you could simply calculate it yourself without having to call the indicator.
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
I need to get yesterday iMA value in this mql5 EA, Isn't the code below over complicated? if so, is there a simpler way? Thanks