MA1:=MA(CLOSE,3);
MA2:=MA(CLOSE,4);
S3:ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
S4:ATAN((MA2/REF(MA2,1)-1)*100)*180/3.1416;
a:0;