MAC5:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);
M5:MA(MAC5,5);M60:=LLV(MA(MAC5,60),10);
A:=(HHV(M5,3)-LLV(M5,3))/LLV(M5,3) 1.4 AND M5 REF(M5,1);
B:=REF(MAC5,3)/REF(MAC5,2) 1.1 AND REF(M5,3)/REF(M5,2) 1.1 AND CROSS(MAC5,M5);
XD1:=HHVBARS(M5,5)=1;{以N日最低点}
XD2:=REF(COUNT(M5-REF(M5,1) =0,5)=1,10) AND COUNT(M5-REF(M5,1) 0,5)=1;{以M日变化量的正负}
XD3:=REF(COUNT(M5-REF(M5,1) =0,5)=1,10) AND M5 {以当日变化角的正负};
AA:PLOYLINE(CROSS(MAC5,M5),M5),COLORYELLOW;
AAB:PLOYLINE(CROSS(M5,MAC5),MAC5),COLORWHITE ;
大涨区:COUNT(CROSS(MAC5,M5),AA REF(AA,5) AND AAB REF(AAB,5));
STICKLINE(大涨区,M5,MAC5,3,0),COLORRED ;
DRAWTEXT(大涨区,M5,'角买'),COLORYELLOW;