妖股之王:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
妖股启动:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(vol,5)/(3*CAPITAL)))),COLORWHITE ,DOTLINE;
启动线:IF(妖股之王>妖股启动,妖股之王,DRAWNULL),COLORRED,LINETHICK2;
妖王线:IF(妖股之王< 妖股启动,妖股之王,DRAWNULL),COLORGREEN,LINETHICK2;
MA10:=MA(CLOSE,5);
MA54:=MA(CLOSE,60);
ABC8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ABC9:=FILTER(ABC8,10);
ABC10:=BARSLAST(ABC9);
ABC11:=REF(HIGH,ABC10+2);
ABC12:=REF(HIGH,ABC10+1);
ABC13:=REF(HIGH,ABC10);
ABC14:=MAX(ABC11,ABC12);
ABC15:=MAX(ABC14,ABC13);
ABC16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ABC17:=ABC10< 150;
ABC18:=(OPEN-ABC15)/ABC15*100< 30;
ABC19:=(CLOSE-LLV(LOW,ABC10))/LLV(LOW,ABC10)*100< 50;
ABC20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ABC21:=VOL/MA(VOL,5)< 3.5;
ABC22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ABC25:=ABC16 AND ABC17 AND ABC18 AND ABC19 AND ABC20 AND ABC21 AND ABC22;
暴利:=FILTER(ABC25,15);
ACB1:=(((CLOSE-MA54)/MA54)< 0.1);
ACB2:=(((CLOSE-MA10)/MA10)< 0.3);
偏离率:=(((ACB1=1) AND (ACB2=1))*0.2);
平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=(暴利 OR 妖股突破);
AAC:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
AACA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
指标汇集:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
妖股王:=XDF AND C/REF(C,1)>1.095 AND 指标汇集 AND AACA,COLORRED;
DRAWICON(妖股王,L,9);
DRAWTEXT(妖股王,L*0.99,'★妖股王'),COLORYELLOW;
STICKLINE(妖股王,O,C,1,0),COLORMAGENTA;