How can I import this Indicators Values into a EA?

I am missing something simple and I just cant see it.

I need to import the values of this indicator into a EA,

Files:
double MACD     =iCustom(NULL,0,"fxbay_-_macd",0,0),
       Signal   =iCustom(NULL,0,"fxbay_-_macd",1,0),
       Histogram=iCustom(NULL,0,"fxbay_-_macd",2,0);
Thank You both.