One more thing. On your indicator. make 2 extern color varables. one for each of you movingaverages and the put the variable names where you have the color defined in your setindexstyle()
Somethig like
extern color MA1Color = Red;
and then aone for the second MA You choose the names and colors
Somethig like
extern color MA1Color = Red;
and then aone for the second MA You choose the names and colors