iMAOnArray read problem - compare with iCustom

 
Hi.
I've got some problem to read values from iMAOnArray function.
This is my code:

for( i = limit ; i > 0 ; i--)
{
buffer[i] = iCustom(Symbol(),0,"Juice",7,0.0004,0,i);
}

double ma = iMAOnArray(buffer,0,14,0,MODE_EMA,0);

And the ma value is like value 1 on the chart, but I want to read the value 2 from that chart to compare it with EA with custom indicator. Somebody knows how to do that?

The chart screen:
 
use SetIndexEmptyValue(0, 0.0); function in the init function of your custom indicator "Juice"
Reason: