X_1:=MA(CLOSE,5);
X_2:=IF(X_1>REF(X_1,1),X_1,DRAWNULL);
X_3:=IF(DATETODAY(DATE)<9872,1,DRAWNULL);
X_4:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
X_5:=8;
X_6:=2342.459961*500;
X_7:=IF(DATE
X_9:=CROSS(X_4,X_5) AND HIGH>REF(HIGH,1) AND CLOSE>REF(CLOSE,1);
X_10:=CROSS(X_5,X_4);
X_11:=LLV(LOW,21);
X_12:=HHV(HIGH,21);
X_13:=EMA((CLOSE-X_11)/(X_12-X_11)*100,5);
X_14:=EMA((CLOSE-X_11)/(X_12-X_11)*50,13);
X_15:=CROSS(X_13,X_14);
X_16:=IF(CLOSE>REF(CLOSE,1),88,0);
X_17:=IF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH/CLOSE<1.035 AND X_16>0,91,0);
X_18:=DATE<1971230 AND FILTER(X_17>90,30)=1;
X_19:=X_2 AND X_18;
X_20:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(vol,5),0.3*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_21:=FILTER(X_20,60);
X_22:=X_2 AND X_21;
导弹:X_22 AND X_19,NODRAW,COLORYELLOW;
STICKLINE(导弹,49,26,2,0),COLORYELLOW;
X_23:=MA(CLOSE,10);
X_24:=MA(CLOSE,20);
X_25:=MA(CLOSE,30);
X_26:=MA(CLOSE,54);
X_27:=MA(CLOSE,60);
X_28:=MA(CLOSE,120);
X_29:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_30:=FILTER(X_29,10);
X_31:=BArslAST(X_30);
X_32:=REF(HIGH,X_31+2);
X_33:=REF(HIGH,X_31+1);
X_34:=REF(HIGH,X_31);
X_35:=MAX(X_32,X_33);
X_36:=MAX(X_35,X_34);
X_37:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_38:=X_31<150;
X_39:=(OPEN-X_36)/X_36*100<30;
X_40:=(CLOSE-LLV(LOW,X_31))/LLV(LOW,X_31)*100<50;
X_41:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_42:=VOL/MA(VOL,5)<3.5;
X_43:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_44:=X_37 AND X_38 AND X_39 AND X_40 AND X_41 AND X_42 AND X_43;
X_45:=FILTER(X_44,15);
X_46:=(CLOSE-X_26)/X_26<0.1;
X_47:=(CLOSE-X_23)/X_23<0.3;
X_48:=(X_46=1 AND X_47=1)*0.2;
X_49:=(X_48=0 AND REF(X_48,1)=0.2 AND REF(COUNT(X_48=0.2,10)=10,1)=1)*(-0.1);
X_50:=X_49=(-0.1);
X_51:=X_45 OR X_50;
X_52:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
X_53:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
X_54:=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);
妖股:X_51 AND CLOSE/REF(CLOSE,1)>1.095 AND X_54 AND X_53,NODRAW,COLORFFCC00;
STICKLINE(妖股,26,3,2,0),COLORFFCC00;
X_55:=0.24;
X_56:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_57:=EMA(X_56,9);
X_58:=(X_56-X_57)*2;
X_59:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_60:=SMA(X_59,3,1);
X_61:=SMA(X_60,3,1);
X_62:=3*X_60-2*X_61;
X_63:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND (HIGH-CLOSE)/(CLOSE-OPEN)<0.33 OR (CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND (HIGH-CLOSE)/(CLOSE-OPEN)<0.33);
X_64:=IF(FILTER(X_63 OR (CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW=0.08 AND EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5)>CLOSE,34),1,0) AND IF(CLOSE/REF(CLOSE,1)>1+0.01*9+EXIST(CLOSE/REF(CLOSE,1)>1+0.01*9,10)+CLOSE/REF(CLOSE,1)>1+0.01*9=3,1,0);
X_65:=FILTER(CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_66:=SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1)>X_55;
X_67:=CROSS(IF(X_66 AND EMA(SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1),2)>=0.005 AND CLOSE>=REF(CLOSE,1),1,0),0.5);
X_68:=SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1)>0.24;
X_69:=COUNT(IF(X_68 AND EMA(SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1),2)>=0.005 AND CLOSE>=REF(CLOSE,1),1,0)>0.5,10);
X_70:=LOW
STICKLINE(飞龙,3,(-20),2,0),COLORMAGENTA;
VAR01:=(LOW+HIGH+CLOSE)/3;
VAR02:=REF(LOW,1);
VAR03:=SMA(Abs(LOW-VAR02),3,1)/SMA(MAX(LOW-VAR02,0),3,1)*100;
VAR04:=EMA(IF(CLOSE*1.2,VAR03*10,VAR03/10),3);
VAR05:=LLV(LOW,30);
VAR06:=HHV(VAR04,30);
VAR07:=IF(LLV(LOW,58),1,0);
VAR08:=EMA(IF(LOW<=VAR05,(VAR04+VAR06*2)/2,0),3)/618*VAR07;
VAR09:=IF(VAR08>100,100,VAR08);
VAR5X:=LLV(LOW,75);
VAR6X:=HHV(HIGH,75);
VAR7X:=(VAR6X-VAR5X)/100;
VAR8X:=SMA((CLOSE-VAR5X)/VAR7X,20,1);
VARA:=3*VAR8X-2*SMA(VAR8X,15,1);
VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR28:=SMA(VAR26,3,1);
趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORBLacK;
建仓吸筹:IF(VAR08,VAR08,1),COLORRED;
攻击线:(CLOSE-LLV(LOW,40))/LLV(LOW,40)*100,COLORYELLOW,LINETHICK2;
波段王:=SMA(VAR28,3,1);
主力线: (CLOSE-MA(LLV(LOW,40),40))/MA(LLV(LOW,40),40)*100,COLORMAGENTA,LINETHICK2;
操作:=MA(VAR01,5);
拉升:=HHV(操作,13);
M01:=MA(C,5); M02:=MA(C,10);
M03:=MA(C,20); M04:=MA(C,30);
最大值:=MAX(MAX(M01,M02),MAX(M03,M04));
最小值:=MIN(MIN(M01,M02),MIN(M03,M04));
强弱线:28,COLORLIBLUE,DOTLINE;
BARSLAST(L<=最小值 AND C>=最大值)=0;
DRAWICON(CROSS(攻击线,强弱线) ,攻击线,9);