VAR2:=LLV(LOW,25);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20);
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
VAR5:=CROSS(VAR4,VAR3);
DRAWTEXT(CROSS(VAR3,VAR4) AND BARSLAST(VAR5) 3 ,HIGH, 短卖 ),COLORGREEN,ALIGN2;
DRAWTEXT(CROSS(VAR3,VAR4) AND BARSLAST(VAR5) =3 ,HIGH, 止损 ),COLORWHITE,ALIGN2;
DRAWTEXT(CROSS(VAR4,VAR3) ,LOW, 短买 ),COLORYELLOW,VALIGN0,ALIGN2;
DRAWICON(CROSS(VAR3,VAR4) ,HIGH,5),ALIGN0;
(CROSS(VAR4,VAR3) ,LOW,4),VALIGN0,ALIGN0;