Is MT4 iMAOnArray function broken? PLEASE verify my simple test code. - page 2

 
1. difference in parameters.
for iEnvelopes are used symbol name, timeframe identifier and identifier for applied price (it may be open, close, median price and so on)
for iEnvelopesOnArray used array and it' size
2. You can prepare buffer, for instance moving averages of typical price
3. sorry i cannot examine sources from 3-rd party. you can place your code here.

about ma_shift and shift see "Shift iMA"
Reason: