Need Help--trying to get MA values

 

Using the iMA function I can get values for various period MAs just fine. The problem is that they don't match with what the value is on the chart when moused over. What I need are the values as displayed.

Here's what I get--- (USDJPY)

double fast_1=iMA(Symbol(),0,MA_Fast,10,MODE_SMA,PRICE_CLOSE,1);
double fast_2=iMA(Symbol(),0,MA_Fast,10,MODE_SMA,PRICE_CLOSE,4);

fast_1 = 90.642 but displayed value is 90.57

fast_2 = 90.684 but displayed value is 90.58

Is there any way to get the MA displayed values bar by bar as they are displayed for different period MA's?

Thanks for the help