TH:=SUM(IF(CLOSE>REF(CLOSE,1),vol,0),26);
TL:=SUM(IF(CLOSE
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26);
VR:100*(TH*2+TQ)/(TL*2+TQ),COLORRED,LINETHICK2;
MAvr:MA(VR,10),LINETHICK2;
260;
100;
DRAWTEXT(crOSS(VR,260) AND VR>MAVR AND COUNT(VR<=300,21)=21,VR,'*冲顶'),COLORYELLOW;
DRAWTEXT(CROSS(VR,400),VR,'*小心'),COLORRED;
DRAWTEXT(CROSS(VR,MAVR) AND VR<=100,VR,'*预警'),COLORGREEN;