N8:0.005;
A1:=MA(CLOSE,5);
A2:=BARSLAST(CROSS(A1,REF(A1,1)) OR CROSS(REF(A1,1),A1) OR BARSCOUNT(CLOSE)=1)+1;
A3:=(A1/REF(A1,A2)-1)/N8/A2;
角度五:IF(DYNAINFO(4)>0,ATAN(A3)/3.142*180,0);
B1:=MA(CLOSE,3);{MA3}
B2:=BARSLAST(CROSS(B1,REF(B1,1)) OR CROSS(REF(B1,1),B1) OR BARSCOUNT(CLOSE)=1)+1;
B3:=(B1/REF(B1,B2)-1)/N8/B2;
角度三:IF(DYNAINFO(4)>0,ATAN(B3)/3.142*180,0);
C1:=MA(CLOSE,2);{MA2}
C2:=BARSLAST(CROSS(C1,REF(C1,1)) OR CROSS(REF(C1,1),C1) OR BARSCOUNT(CLOSE)=1)+1;
C3:=(C1/REF(C1,C2)-1)/N8/C2;
角度二:IF(DYNAINFO(4)>0,ATAN(C3)/3.142*180,0),LINETHICK1;
上涨角度: MAX(角度五*1.1,角度三); |