在线检测未来函数

通达信海鱼涨停选股指标公式

来源:Internet,编辑:股旁网,2023-10-09

X_1:=MA(CLOSE,10);
X_2:=MA(CLOSE,54);
X_3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_4:=FILTER(X_3,10);
X_5:=BARSLAST(X_4);
X_6:=REF(HIGH,X_5+2);
X_7:=REF(HIGH,X_5+1);
X_8:=REF(HIGH,X_5);
X_9:=MAX(X_6,X_7);
X_10:=MAX(X_9,X_8);
X_11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_12:=X_5<150;
X_13:=(OPEN-X_10)/X_10*100<30;
X_14:=(CLOSE-LLV(LOW,X_5))/LLV(LOW,X_5)*100<50;
X_15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_16:=vol/MA(VOL,5)<3.5;
X_17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_18:=X_11 AND X_12 AND X_13 AND X_14 AND X_15 AND X_16 AND X_17;
X_19:=FILTER(X_18,15);
X_20:=(CLOSE-X_2)/X_2<0.1;
X_21:=(CLOSE-X_1)/X_1<0.3;
X_22:=(X_20=1 AND X_21=1)*0.2;
X_23:=(X_22=0 AND REF(X_22,1)=0.2 AND REF(COUNT(X_22=0.2,10)=10,1)=1)*(-0.1);
X_24:=X_23=(-0.1);
X_25:=X_19 OR X_24;
X_27:=C/REF(CLOSE,1)>1.05 AND C/OPEN>1.05;
X_28:=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);
去ST:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;
去除创业板:=IF(CODELIKE('30') OR CODELIKE('8'),0,1);
去除科创板:=IF(CODELIKE('688'),0,1);
XG1:=去ST AND 去除创业板 AND 去除科创板;
XG:=X_25 AND CLOSE/REF(CLOSE,1)>1.095 AND X_28 AND X_27 AND XG1,COLORRED;
M1:=(-( HHV(EMA(O,5),14)-O)/O*5000);
M2:=REF((CLOSE+LOW+3*OPEN+HIGH),1)/6;
M3:=(20*M2+19*REF(M2,1)+18*REF(M2,2)+17*REF(M2,3)+16*REF(M2,4)+15*REF(M2,5)+14*REF(M2,6)+13*REF(M2,7)
+12*REF(M2,8)+11*REF(M2,9)+10*REF(M2,10)+9*REF(M2,11)+8*REF(M2,12)+7*REF(M2,13)+6*REF(M2,14)
+5*REF(M2,15)+4*REF(M2,16)+3*REF(M2,17)+2*REF(M2,18)+REF(M2,20))/210;
M4:=MA(M3,6);
M5:=(M3-M4)*1.2;
M6:=(O*2+REF((H+L),1))/4*10;
M7:=EMA(M6,6)-EMA(M6,55);
M8:=EMA(M7,6);
M9:=(M7-M8)*0.06;
M10:=M5+M9;
M11:=M10>0;
M12:=MA(C,3);
M13:=MA(C,13);
M14:=MA(C,34);
M15:=M12>=M13 AND M14>=REF(M14,1);
M16:=EMA(C,12);
M17:=EMA(C,50);
M18:=M16-M17>0;
M19:=O/REF(C,1)-1;
M20:=IF(M15,2,0)+IF(M11,2,0)+IF(M18,2,0)+M19;
M21:=(M20/10+M1/1000)*100+25;
Z1:=IF((M21>79 AND M21<88.8) OR (M21>91 AND M21<97),1,0);
ZZZ:IF(XG AND Z1 ,1,0);

通达信海鱼涨停选股指标公式

相关文章