好股潜伏通达信副图/选股指标,选强势
源码
X_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_2:=(20*X_1+19*REF(X_1,1)+18*REF(X_1,2)+17*REF(X_1,3)+16*REF(X_1,4)+15*REF(X_1,5)+14*REF(X_1,6)+13*REF(X_1,7)+12*REF(X_1,8)+11*REF(X_1,9)+10*REF(X_1,10)+9*REF(X_1,11)+8*REF(X_1,12)+7*REF(X_1,13)+6*REF(X_1,14)+5*REF(X_1,15)+4*REF(X_1,16)+3*REF(X_1,17)+2*REF(X_1,18))/210;
X_3:=MA(X_2,6);
X_4:=MA(CLOSE,8);
X_5:=CLOSE>REF(CLOSE,1)*1.097;
X_6:=COUNT(X_5,12);
X_7:=REF(X_6,1)>=1;
X_8:=SMA(AMOUNT,10,1)/10000;
X_9:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.097);
X_10:=REF(X_8,1);
X_11:=IF(X_9<=12,X_9,0);
X_12:=COUNT(X_8<X_10,X_11);
X_13:=COUNT(OPEN>CLOSE,X_11);
X_14:=COUNT(HIGH>=HHV(HIGH,12) AND OPEN>CLOSE AND X_9>3 AND X_9<12,X_11);
X_15:=BARSLAST(VOL=HHV(VOL,13));
X_16:=REF(CLOSE,X_15)>REF(CLOSE,X_15+1);
X_17:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_18:=EMA(X_17,9);
X_19:=2*(X_17-X_18);
X_21:=X_19-REF(X_19,1);
X_22:=MA(X_21,3);
X_23:=SUM(VOL,15);
X_24:=SUM(VOL,30);
X_25:=X_24-X_23;
X_26:=X_23/X_25;
X_27:=COUNT(CLOSE/REF(CLOSE,1)>=1.097 AND HIGH=CLOSE,3)=2;
X_28:=COUNT(X_27=1,12)<1;
X_29:=DYNAINFO(4)=0;
好股潜伏:X_7>=1 AND X_26>=2 AND CROSS(X_21,X_22) AND X_28 AND LOW<X_4 AND X_6<=5 AND X_14=0 AND X_16=1 AND COUNT(CLOSE>X_3,4)>=4 AND X_12<3 AND X_13<5 AND NOT(X_29);