CURR:=5;MA4:=EMA(CLOSE,10);安全:=EMA(CLOSE,18);倒数:=(CURR=5,REF(L,BARSLAST(CURR=5)));离场线:=(CURR=5,REF(H,BARSLAST(CURR=5)));EEE:=IF(OSS(C,MA4) AND CROSS(C,安全生命线),1,0);短3:=EMA(CLOSE,3);长30:=EMA(CLOSE,30) ,COLORRED;K60:=EMA(CLOSE,60) ,COLORGREEN;VV:=CROSS(短3,K60) AND K60>REF(K60,1);VV1:=CROSS(短3,长30) AND 长30>REF(长30,1);XG2:=IF(VV,1,0);XG1:=IF(VV1,1,0);转势:=(XG2 OR XG1);DRAWTEXT(转势 AND EEE AND CROSS(CLOSE,顾比倒数),LOW*0.95,'买'),COLORMAGENTA;DRAWTEXT(转势,LOW*0.92,'搏短'),COLORRED;DRAWTEXT(CROSS(C,MA2) AND CROS