通达信纯子竞价选股指标公式

[复制链接]
查看258 | 回复0 | 2022-7-6 10:28:23 | 显示全部楼层 |阅读模式

X_1:=1220410;
X_2:=IF(DATE<X_1,1,DRAWNULL);
X_3:=IF(NAMELIKE(3),0,1);
X_4:=IF(NAMELIKE(4),0,1);
X_5:=X_3 AND X_4;
X_6:=FINANCE(40)>=300000000;
X_7:=FINANCE(40)<=49999998976;
X_8:=SUM((CLOSE/REF(CLOSE,1)-1)*100,20)<=30;
X_9:=SUM((CLOSE/REF(CLOSE,1)-1)*100,7)<=28;
X_10:=SUM((CLOSE/REF(CLOSE,1)-1)*100,3)<=22;
X_11:=DYNAINFO(14)<=0.055;
X_12:=X_8 AND X_9 AND X_10 AND X_11;
X_13:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
X_14:=X_13>=0.5;
X_15:=DYNAINFO(17)>=2.3;
X_16:=DYNAINFO(15)/10000;
X_17:=X_16>=888;
X_18:=DYNAINFO(15)/OPEN/100;
X_19:=X_18/REF(vol,1)*100;
X_20:=X_19>=3;
X_21:=ma(CLOSE,5);
X_22:=MA(CLOSE,10);
X_23:=MA(CLOSE,20);
X_24:=MA(CLOSE,30);
X_25:=MA(CLOSE,60);
X_26:=1/((X_21+X_22+X_23+X_24+X_25)/5/CLOSE);
X_27:=X_26>=1.08;
X_28:=IF(COUNT(C/REF(C,1)>1.0985,120)>=20 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,85,IF(COUNT(C/REF(C,1)>1.0985,120)>=18 AND COUNT(C/REF(C,1)>1.0985,120)<20 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,80,IF(COUNT(C/REF(C,1)>1.0985,120)>=15 AND COUNT(C/REF(C,1)>1.0985,120)<18 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,75,IF(COUNT(C/REF(C,1)>1.0985,120)>=12 AND COUNT(C/REF(C,1)>1.0985,120)<15 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,70,IF(COUNT(C/REF(C,1)>1.0985,120)>=9 AND COUNT(C/REF(C,1)>1.0985,120)<12 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,65,IF(COUNT(C/REF(C,1)>1.0985,120)>=9 AND COUNT(C/REF(C,1)>1.0985,120)<12 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,60,IF(COUNT(C/REF(C,1)>1.0985,120)>=7 AND COUNT(C/REF(C,1)>1.0985,120)<9 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,55,IF(COUNT(C/REF(C,1)>1.0985,120)>=4 AND COUNT(C/REF(C,1)>1.0985,120)<7 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,50,IF(COUNT(C/REF(C,1)>1.0985,120)>=2 AND COUNT(C/REF(C,1)>1.0985,120)<4 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,45,IF(COUNT(C/REF(C,1)>1.0985,120)>=1 AND COUNT(C/REF(C,1)>1.0985,120)<2 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.03,35,0))))))))));
X_29:=X_28>=45;
X_30:=X_5 AND X_6 AND X_7 AND X_12 AND X_14 AND X_15 AND X_17 AND X_20 AND X_27 AND X_29;
X_31:=REF(CLOSE,1);
X_32:=SMA(MAX(CLOSE-X_31,0),3,1)/SMA(Abs(CLOSE-X_31),3,1)*100;
X_33:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
X_34:=X_32-X_33;
X_35:=REF(CLOSE,1);
X_36:=SMA(MAX(CLOSE-X_35,0),2,1)/SMA(ABS(CLOSE-X_35),2,1)*100;
X_37:=X_34+X_36>=140 AND X_34>=50 AND X_36>=80;
X_38:=(EMA(OPEN,20)-REF(EMA(OPEN,20),1))/REF(EMA(OPEN,20),1)*100;
X_39:=REF(LOW,BArslAst(crOSS(X_38,0)));
X_40:=(OPEN-X_39)/X_39*100;
X_41:=IF(CLOSE<0,0,EMA(WINNER(CLOSE)*70,3));
X_42:=IF(CLOSE<0,0,EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3));
X_43:=IF(CLOSE<0,0,X_42/(X_41+X_42)*100);
X_44:=IF(CLOSE<0,0,X_41/(X_41+X_42)*100);
X_45:=IF(CLOSE<0,0,MA(X_41+X_42,13));
X_46:=IF(CLOSE<0,0,BARSLAST(X_43<90 AND REF(X_43,1)>90));
X_47:=IF(CLOSE<0,0,EMA(X_43,89));
X_48:=IF(CLOSE<0,0,EMA(X_44,89));
X_49:=IF(CLOSE<0,0,INTPART(X_44-X_48));
X_50:=IF(CLOSE<0,0,X_49);
X_51:=X_40+X_50>=20 AND X_40>=10 AND X_50>=8;
X_52:=X_37 AND X_51;
X_53:=X_30 AND X_52;
纯子竞价:X_53*X_2;

20220408191108_67408.png

20220408191108_67408.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则