VA3:=(EMA(VA2,10));
VA4:=(REF(VA3,1));
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MA4:=MA(CLOSE,60);
VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20);
:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
VAR5:=CROSS(VAR4,VAR3);
DRAWTEXT(CROSS(VAR3,VAR4) AND BARSLAST(VAR5) 3 ,HIGH+1, 短卖 ),COLORGREEN;
DRAWTEXT(CROSS(VAR3,VAR4) AND BARSLAST(VAR5) =3 ,HIGH, 止损 ),COLORWHITE;
DRAWTEXT(CROSS(VAR4,VAR3) ,LOW-1, 短买 ),COLORYELLOW,VALIGN0;
DRAWICON(CROSS(VAR3,VAR4) ,HIGH,5);
DRAWICON(CROSS(VAR4,VAR3) ,LOW,4);