X_1:=MA(CLOSE,10);
X_2:=EMA(CLOSE,28);
X_3:=IF(X_1>X_2,X_1,X_2);
X_4:=150;
X_5:=3;
X_6:=REF(HHV(HIGH,X_4),X_5);
X_7:=REF(LLV(LOW,X_4),X_5);
X_8:=X_6-(X_6-X_7)*0.809;
X_9:=REFDATE(X_8,DATE);
X_10:=REFDATE(X_7,DATE);
X_11:=(CLOSE/REF(CLOSE,1)-1)*100;
X_12:=VOL>=REF(VOL,1)*1.4;
妖股:CROSS(CLOSE,X_3) AND X_11>4.3 AND X_12 AND CLOSE<X_9 AND CLOSE>X_10,NODRAW;
NOTEXT妖股:IF(妖股,1.6,0),COLOR4040FF;
STICKLINE(妖股,1.2,0,2,0),COLOR4040FF;
DRAWTEXT(妖股,1.3,68),COLOR4040FF;
龙头:CROSS(CLOSE,X_3) AND X_11>4.3 AND X_12 AND CLOSE<X_10,NODRAW;
NOTEXT龙头:IF(龙头,1.6,0),COLORMAGENTA;
STICKLINE(龙头,1.2,0,2,0),COLORMAGENTA;
DRAWTEXT(龙头,1.3,69),COLORMAGENTA;