I realized that the mt4 built-in function iMaOnArray(..) seems not to update the average with the new ticks of the actual bar. It seem to calc. only at the beginning of the bar - quasi at open - and then the average is not updated each time a new tick arrives.
Hmm ????
So I wrote a little 'indicator' (attached) and now both iMaOnArray(..) averages are 0.0000 - Am I doing s.th. wrong?
Hi,
I realized that the mt4 built-in function iMaOnArray(..) seems not to update the average with the new ticks of the actual bar. It seem to calc. only at the beginning of the bar - quasi at open - and then the average is not updated each time a new tick arrives.
Hmm ????
So I wrote a little 'indicator' (attached) and now both iMaOnArray(..) averages are 0.0000 - Am I doing s.th. wrong?