Hi, just a quick question on MQL...
when i retrieve a value from custom indicator using the following
rsx1 = iCustom(NULL,0,"JJRSX",10,3,0,0,1);
the value is returned just fine...
but when i retrieve a series of values from the indicator like this
for (i=100;i>=0;i--)
{ ExtMapBuffer[i] = iCustom(NULL,0,"JJRSX",10,3,0,0,i);
i get zeros...why is that?? can anyone help ?
when i retrieve a value from custom indicator using the following
rsx1 = iCustom(NULL,0,"JJRSX",10,3,0,0,1);
the value is returned just fine...
but when i retrieve a series of values from the indicator like this
for (i=100;i>=0;i--)
{ ExtMapBuffer[i] = iCustom(NULL,0,"JJRSX",10,3,0,0,i);
i get zeros...why is that?? can anyone help ?