JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,5);
B:=REF(A,1);
MA1:MA(CLOSE,3),coloryellow;
MA5:MA(CLOSE,5);
MA8:MA(CLOSE,8);
MA2:MA(CLOSE,16),COLOR00FF00;
STICKLINE(A>B ,MA5 ,MA8 ,10 ,0 ),coloryellow;
STICKLINE(A<B ,MA5 ,MA8,10 ,0 ),colorblue;