Yesterday iMA value in EA
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.
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 agree to website policy and terms of use
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