MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,60);
MA6:MA(CLOSE,120);
X_1:=macd.DIF#DAY;
X_2:=MacD.DEA#DAY;
X_3:=crOSS(X_1,X_2);
X_4:=MACD.DIF#WEEK;
X_5:=MACD.DEA#WEEK;
X_6:=CROSS(X_4,X_5);
X_7:=MACD.DIF#MONTH;
X_8:=MACD.DEA#MONTH;
X_9:=CROSS(X_7,X_8);
X_10:=IF(CROSS(X_4,X_5),MACD.DIF+0.1,0);
X_11:=IF(X_1>X_2 AND X_4>X_5 AND X_9 OR (X_4>X_5 AND X_7>X_8 AND X_3) AND CLOSE/REF(CLOSE,1)>1.08 OR (X_7>X_8 AND X_1>X_2 AND X_6) OR (X_3 AND X_6 AND X_9),MACD.DIF+0.2,0);
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,3.2,0),COLOR0077FF;
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,2.5,0),COLOR0099FF;
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,1.9,0),COLOR00BBFF;
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,1.2,0),COLOR00ddfF;
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,0.3,0),COLORYELLOW;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,CLOSE,REF(CLOSE,1)*1.05,3,0),COLOR000099;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,CLOSE,REF(CLOSE,1)*1.05,2.2,0),COLOR0000CC;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,CLOSE,REF(CLOSE,1)*1.05,1.5,0),COLORRED;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,CLOSE,REF(CLOSE,1)*1.05,0.5,0),COLORCC66FF;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,REF(CLOSE,1)*1.05,CLOSE,0.5,0),COLORYELLOW;
DRAWTEXT(X_11 AND CLOSE/REF(CLOSE,1)>1.08,REF(CLOSE,1)*1.058,'妖股成型'),COLORYELLOW;
DRAWTEXT(X_10 AND CLOSE/REF(CLOSE,1)>1.05,REF(CLOSE,1)*1.028,'捉拿妖股'),COLORYELLOW;