X_1:=(HIGH+LOW+CLOSE)/3;
X_2:=(X_1-MA(X_1,25))/(0.015*AVEDEV(X_1,25));
X_3:=X_2<=LLV(X_2,120);
X_4:=CROSS(X_2,(-100));
波段起涨:(X_4 AND EXIST(X_3,5) AND EXIST(X_2<(-180),3))*100,COLORRED,LINETHICK2;
DRAWTEXT(X_4 AND EXIST(X_3,5) AND EXIST(X_2<(-180),3),96,'波段起涨'),COLORYELLOW;