Indicator Will Not Display Array Numbers.

mcertini

Newbie
Messages
3
Likes
0
Can someone help me? I have put together an indicator that uses various arrays. I have confirmed that my arrays are populated. But when I try to display my final array elements, I do not get anything? Can someone help me with the arraycopy function? This is where the problem resides.
 

Attachments

  • Volume Oscillator.mq4
    2.1 KB · Views: 568
  • Volume Oscillator.ex4
    2.8 KB · Views: 351
I try to download the code to look at it, but there is something wrong with the code. This is all i can see in the source code: GIF89a
 
Array Problems.

I try to download the code to look at it, but there is something wrong with the code. This is all i can see in the source code: GIF89a

Victor90,

Sorry for the problem. I have found the problem with my code. Below is the code that was in error. The misstake I made was that I coded a shift offset of 0 instead of "i". When I corrected this the program worked properly. Thank you for your inquiry.

for(i=0; i<limit; i++)
FastMA=iMAOnArray(vol,0,14,0,MODE_SMA,0);

for(i=0; i<limit; i++)
SlowMA=iMAOnArray(vol,0,21,0,MODE_SMA,0);
 
Top