Expert Advisor Sample question for MetaQuotes

 
In the code below taken from the 'Expert Advisor Sample' post on this forum:

MaCurrent=iMA(NULL,0,MATrendPeriod,0,MODE_EMA,PRICE_CLOSE,0);
MaPrevious=iMA(NULL,0,MATrendPeriod,0,MODE_EMA,PRICE_CLOSE,1);

I thought the signal line was suppose to be 9-day simple moving average. In this example MATrendPeriod equals 26 and it's an EMA. How come? What should we expect of the performance with these changes?

Thanks in advance,

Ed