MA5:=EMA(C,5);
MA5角度:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
价角:IF(MA5角度>0,MA5角度,MA5角度),COLORFFFFFF,LINETHICK2;
IF(价角< REF(价角,1) AND 价角>0,价角,DRAWNULL),COLOR00FF00,LINETHICK2;
∠45↑: IF(CROSS(MA5角度,30),1,0),COLORFFFFFF,POINTDOT,LINETHICK0;
防火:IF(MA5角度>70 AND MV5角度>80,20,0),COLORFF00FF;
WK:=MA5角度=LLV(MA5角度,3) AND MA5角度-HHV(MA5角度,4)<=0-50;
海底:IF(MA5角度< 0-75,0-50,0-75),COLORFF8800;
DRAWTEXT(∠45↑,30, '↑'),COLORFFFFFF;
界:30,COLORFFFFFF;
M5:=MA(C,5);
N2:=BARSLAST(CROSS(M5,M3));
STICKLINE(N>0,0-75,0-75+N*2,2,0),COLOR0000FF;