{ 通达信快牛5号选股指标公式源码 }
X_1:=vol/CAPITAL;
X_2:=VOL/700000000;
X_3:=IF(X_1=0,X_2,X_1);
X_4:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_5:=2.5*MAX(X_3,X_4);
X_6:=DMA(CLOSE,X_5);
X_7:=SMA(20*(X_6/REF(X_6,1)-1),2,1);
X_8:=EMA(X_7,2);
X_9:=0.24;
X_10:=CLOSE>=REF(CLOSE,1);
X_11:=IF(X_7>X_9 AND X_8>=0.005 AND X_10,1,0);
X_12:=crOSS(X_11,0.5) AND COUNT(X_11>0.5,10)=1;
X_13:=kdj.J-REF(kdJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND macd.MacD>0 AND MACD.DEA>0;
X_14:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAst(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_15:=FILTER(X_14,28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_16:=X_13 OR X_15 AND X_12;
X_17:=9;
X_18:=20;
X_19:=10;
X_20:=34;
X_21:=EMA(CLOSE,17);
X_22:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_23:=(20*X_22+19*REF(X_22,1)+18*REF(X_22,2)+17*REF(X_22,3)+16*REF(X_22,4)+15*REF(X_22,5)+14*REF(X_22,6)+13*REF(X_22,7)+12*REF(X_22,8)+11*REF(X_22,9)+10*REF(X_22,10)+9*REF(X_22,11)+8*REF(X_22,12)+7*REF(X_22,13)+6*REF(X_22,14)+5*REF(X_22,15)+4*REF(X_22,16)+3*REF(X_22,17)+2*REF(X_22,18)+REF(X_22,20))/210;
X_24:=EMA(X_23,13);
X_25:=EMA(CLOSE,5);
X_26:=EMA(X_25,8);
X_27:=EMA(X_26,13);
X_28:=EMA(X_27,50);
X_29:=100*(CLOSE-LLV(LOW,X_20))/(HHV(CLOSE,X_20)-LLV(LOW,X_20));
X_30:=REF(X_29,1)<1 AND X_29>1;
X_31:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_32:=LLV(X_31,3);
X_33:=MA(X_31,12);
X_34:=1;
X_35:=LLV(LOW,10);
X_36:=HHV(HIGH,25);
X_37:=EMA((CLOSE-X_35)/(X_36-X_35)*4,4)*X_34*30;
X_38:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_39:=EMA(X_38,6);
X_40:=EMA(X_38,5);
X_41:=12;
X_42:=26;
X_43:=9;
X_44:=EMA(CLOSE,X_41)-EMA(CLOSE,X_42);
X_45:=EMA(X_44,X_43);
X_46:=(X_44-X_45)*2;
X_47:=9;
X_48:=3;
X_49:=3;
X_50:=(CLOSE-LLV(LOW,X_47))/(HHV(HIGH,X_47)-LLV(LOW,X_47))*100;
X_51:=SMA(X_50,X_48,1);
X_52:=SMA(X_51,X_49,1);
X_53:=3*X_51-2*X_52;
X_54:=EXIST(X_30,3);
X_55:=CLOSE/REF(CLOSE,1)>1+0.01*X_17;
X_56:=X_32>X_33 AND X_31=X_32;
X_57:=CROSS(X_39,X_40);
X_58:=EXIST(CLOSE/REF(CLOSE,1)>1+0.01*X_17,X_19);
X_59:=BArslAST(X_33>X_37)<x_19;
X_60:=REF(CLOSE,1)<ref(x_24,1) and="" close="">X_24;
X_61:=CLOSE/REF(CLOSE,1)>1+0.01*X_17;
X_62:=X_24/X_28<1+0.01*X_18;
X_63:=IF(X_55+X_58+X_61=3,1,0);
X_64:=(HIGH-CLOSE)/(CLOSE-OPEN)<0.33;
X_65:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW<ref(low,1) and="" low<ref(low,2);<br="">
X_66:=CLOSE/REF(CLOSE,1)-1>=0.08;
X_67:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND X_64;
X_68:=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 X_64;
X_69:=IF(FILTER(X_67 OR X_68 OR X_65 OR X_66,34),1,0) AND X_63;
X_70:=X_16 OR X_69;
X_71:=VOL;
X_72:=X_71>MA(VOL,89);
X_73:=expma(CLOSE,5);
X_74:=EXPMA(CLOSE,29);
X_75:=X_73>X_74;
X_76:=REF(CLOSE,1);
X_77:=SMA(MAX(CLOSE-X_76,0),12,1)/SMA(Abs(CLOSE-X_76),12,1)*100;
X_78:=SMA(MAX(CLOSE-X_76,0),56,1)/SMA(ABS(CLOSE-X_76),56,1)*100;
X_79:=X_77>X_78 AND X_75 AND X_72;
X_80:=HHV(HIGH,30);
X_81:=LLV(LOW,30);
X_82:=REF((X_80/X_81-1)*100<=30,1);
X_83:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
X_84:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_83);
X_85:=EMA(X_84,200)*1.1;
X_86:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_87:=CROSS(CLOSE,X_85) AND REF(CLOSE*1.097,1)
X_88:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
X_89:=NOT(X_88=0) AND X_70 AND X_87;
X_90:=X_88=0 AND X_70 AND X_87;
妖股起飞:X_89 OR X_90;
标签:EMA,22,HIGH,通达信,源码,LOW,选股,CLOSE,REF From: https://www.cnblogs.com/zhibiao/p/18062221