-10,colorlicyan;
10,colorred;
MA1:=MA(C,10);
J:=(C-MA1)/MA1*100;
STICKLINE(J>0 AND j<=10 AND J>REF(J,1),0,J,10,0),colorred;
STICKLINE(J>10 AND J>REF(J,1),0,J,10,0),colormagenta;
STICKLINE(J>0 AND J<=REF(J,1),0,J,10,0),colorlired;
STICKLINE(J<=0 AND J<=REF(J,1),0,J,10,0),colorcyan;
STICKLINE(J<=0 AND J>REF(J,1),0,J,10,0),colorgreen;