Var1:=(CLOSE-LLV(LOW,2))/(HHV(HIGH,2)-LLV(LOW,2))*100; Var2:=SMA(Var1,3,1); Var3:=SMA(Var2,3,1); D:=SMA(Var3,5,1)*20; E:=ref(D,1); 进:Cross(d,e); 出:Cross(e,d); DRAWTEXT(Cross(d,e),进,'进'),CoLorRED; DRAWTEXT(Cross(e,d),出,'出'),CoLorYELLOW;