Call iCustom functions in expert

 
Hello,

i have a very simple question. In my expert i want to call an exponential MA5 from an OsMA (having the same results like when you attach a MA to an OsMA chart and set it to previous indicator). How can i do that? I'm using functions.

The OsMA is as follows :
double OsMA()
{
return (iOsMA(NULL,0,12,26,9,PRICE_OPEN,0) );
}

What must i do for calling the exponential MA5 from the OsMA?

Thank your for advance. :)