通达信超强潜伏选股指标公式源码分享
大家好,我是追牛抓妖道一,指标自己已经做了优化。
这里发的指标均是通达信电脑版软件指标公式,手机软件有的可能不通用,但大部分通用,具体没测试过。复制指标源码,新建粘贴到软件保存即可。
指标说明:
幅图选股指标,符合公式写入条件会有三角提示
指标例图:
指标源:
X_1:=EMA(SLOPE(CLOSE,34)*20+CLOSE,75);
X_2:=EMA(CLOSE,8);
X_3:=X_2-X_1;
X_4:=X_3>=0;
X_5:=X_3<0;
X_6:=HHV(HIGH,50)-LLV(LOW,50);
X_7:=X_3>=0 AND REF(X_3<0,1) AND COUNT(X_3>=0,6)<=1;
X_8:=MA(CLOSE,1)-MA(CLOSE,6);
X_9:=X_8>0;
X_10:=X_8<0;
X_11:=CROSS(X_8,0);
X_12:=(2*CLOSE+HIGH+LOW+OPEN)/5;
X_13:=(X_12-MA(X_12,14))*100/(1.5*AVEDEV(X_12,14));
X_14:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
X_15:=X_14<25;
X_16:=VOL*100/CAPITAL;
X_17:=MA(X_16,4);
X_18:=MA(X_16,8);
X_19:=MA(X_16,16);
X_20:=MA(X_16,32);
X_21:=MA(CLOSE,50);
X_22:=(CLOSE-X_21)/X_21<0.008;
X_23:=(CLOSE-MA(CLOSE,8))/MA(CLOSE,8)<0.058;
X_24:=(X_22=1 AND X_23=1)*0.2;
X_25:=(X_24=0 AND REF(X_24,1)=0.2 AND REF(COUNT(X_24=0.2,10)=10,1)=1)*1;
X_26:=HHV(REF(VOL,1),5);
X_27:=BARSLAST(X_26);
X_28:=VOL>X_26 AND CLOSE>REF(CLOSE,X_27+1);
X_29:=X_17>=X_20 AND REF(X_17 X_30:=X_17>X_20 AND X_18>X_20 AND X_19 X_31:=X_17>X_20 AND X_18>X_20 AND X_19>X_20 AND REF(X_19 X_32:=X_30 OR X_31; X_33:=COUNT(X_19,10)<=1; X_34:=(CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.14; X_35:=X_32 AND COUNT(X_19,10)<=1 AND X_34; X_36:=X_17 X_37:=X_11 AND COUNT(X_19,20)<=3 AND X_34; X_38:=X_18>=X_20 AND X_17>X_20 AND X_19 X_39:=X_17>X_20 AND X_19 X_40:=X_17>X_18 AND X_18>=X_19 AND X_19>X_20 AND COUNT(X_19,10)<=2 AND (CLOSE-REF(CLOSE,7))/REF(CLOSE,7)<=0.04 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=(-0.05); X_41:=X_15 AND COUNT(X_29,14)>=1 AND COUNT(X_35,14)>=1; X_42:=COUNT(X_19,12)<=1 AND (CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.12; X_43:=COUNT(X_42,6)>=5; X_44:=X_29 OR X_35 OR X_36 OR X_37 OR X_38 OR X_39 OR X_40 OR X_41 OR X_42 OR X_43; X_45:=VOL/REF(VOL,1); X_46:=REF(CLOSE,1)/REF(CLOSE,8); X_47:=HHV(REF(CLOSE,1),12)/LLV(REF(CLOSE,1),12); X_48:=COUNT(X_44,20)>=1 AND X_45>=2.7 AND CLOSE>REF(CLOSE,1); X_49:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))); X_50:=BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))); X_51:=IF(X_49 X_52:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1); X_53:=X_51*X_52; X_54:=HHV(X_51,5)>=2 AND X_52 AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,5)>MA(CLOSE,10); X_55:=X_54*X_51; X_56:=X_53>0 AND X_55=0; X_57:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.14159;