VAR1:=MA(AMOUNT/10,10)/10000;VAR2:=REF(VAR1,1);STICKLINE(VAR1>VAR2 AND C>=O,VAR1,VAR2,8,0),colorred;STICKLINE(VAR1>VAR2 AND C<O,VAR1,VAR2,8,0),colorgreen;STICKLINE(VAR1< VAR2,VAR1,VAR2,8,0),COLORFF9900;MS20:MA(VAR1,20),COLORFF9900;STICKLINE(VAR1< MS20,VAR1,VAR2,8,0),colorgray;MS30: MA(VAR1,30),colorgreen;