按照上攻角度的数值 ,来变色。
{上攻角度变色}
MA5:MA(C,5),LINETHICK1,COLORWHITE;
MA10:MA(C,10),LINETHICK2,COLORYELLOW;
MA20:MA(C,20),LINETHICK4 COLORYELLOW;
五:ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416,NODRAW;
十:ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416,NODRAW;
二十:ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416,NODRAW;
IF(五 30 ,MA5,DRAWNULL),COLORRED,LINETHICK1;
IF(十 30 ,MA10,DRAWNULL),COLORRED,LINETHICK2;
IF(二十 0,MA20,DRAWNULL),COLORRED,LINETHICK3;
AACC:=CROSS(五,57) AND CROSS(十,42) AND CROSS(二十,34);
AABB:=CROSS(五,38) AND CROSS(十,30) AND CROSS(二十,23);
DRAWTEXT(AACC,L,'爆发');
DRAWTEXT(AABB,MA(C,5),'爆发2'),COLORYELLOW;
AAAAA:=二十 58 AND REF(二十,1) 40 AND REF(二十,1) 58 AND REF(二十,2) 40 AND REF(二十,2) 58 AND
.......
部分源码省略,请下载导入公式