MA1:EMA(CLOSE,3),COLORBLUE;
MA2:EMA(CLOSE,5),COLORBLUE;
MA3:EMA(CLOSE,8),COLORBLUE;
MA4:EMA(CLOSE,10),COLORBLUE;
MA5:EMA(CLOSE,12),COLORBLUE;
MA6:EMA(CLOSE,15),COLORBLUE;
MA7:EMA(CLOSE,30),COLORRED;
MA8:EMA(CLOSE,35),COLORRED;
MA9:EMA(CLOSE,40),COLORRED;
MA10:EMA(CLOSE,45),COLORRED;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,7);
B:=REF(A,1);
STICKLINE(A>B,A,B,5,0),COLORYELLOW;
STICKLINE(A