通达信擒牛诀选股指标公式

通达信MACD金叉费数标注指标公式

通达信擒牛诀选股指标公式:

X_1:=REF(MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,250)/REF(MA(CLOSE,250),1)>0.9995 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(HHV(HIGH,2),1)/LOW>1.1,1) AND OPEN/REF(CLOSE,1)<1.02 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,4)>0,1) AND REF(CLOSE,1)/REF(OPEN,1)>0.92 AND REF(MA(CLOSE,5),1)/REF(MA(CLOSE,10),1)>0.98 AND REF(COUNT(REF(OPEN,1)=REF(CLOSE,1) AND REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND OPEN/REF(CLOSE,1)>1.015 AND OPEN/CLOSE>1.12 AND CLOSE/REF(CLOSE,1)<0.94,4)<1,1);

X_2:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.03 AND REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(CLOSE,1)<REF(LOW,2)) AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND REF(CLOSE,1)/REF(CLOSE,3)<0.992 AND CLOSE/REF(CLOSE,1)>1.02 AND REF(COUNT(OPEN=HIGH AND CLOSE/OPEN<0.97 AND OPEN/REF(CLOSE,1)>0.993,4)<1,1) AND REF(COUNT(OPEN/REF(CLOSE,1)<0.915 AND CLOSE/REF(CLOSE,1)<0.902,3)<1,1) AND REF(COUNT(OPEN=CLOSE AND CLOSE=LOW AND CLOSE/REF(CLOSE,1)<0.902,4)<1,1);

X_3:=X_1 AND X_2;

X_4:=CAPITAL<10000000 AND REF(COUNT(HHV(HIGH,10)/REF(LLV(LOW,10),1)>1.6 AND COUNT(CLOSE/REF(CLOSE,1)>1.098,10)>4,20)=0,1) AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.18 AND NOT(REF(OPEN,2)/REF(CLOSE,3)>1.05 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(vol,2)>REF(HHV(VOL,30),3)) AND REF(COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.05 AND OPEN>REF(CLOSE,1) AND OPEN=HIGH AND CLOSE/OPEN<0.98,3)<1,1);

X_5:=FILTER(X_3 AND X_4,7);

X_6:=REF(CLOSE,3)/REF(CLOSE,4)>1.098 AND REF(CLOSE,1)/REF(MA(CLOSE,60),1)<1.1 AND REF(MA(CLOSE,60),1)>REF(MA(CLOSE,60),2) AND REF(HIGH,1)>REF(MAX(CLOSE,OPEN),1) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,60),1) AND (REF(MIN(CLOSE,OPEN),1)-REF(LOW,1))/(REF(HIGH,1)-REF(MAX(CLOSE,OPEN),1))>1.7 AND REF(HIGH,2)/REF(LOW,1)>1.05 AND REF(CLOSE,1)<REF(MIN(CLOSE,OPEN),2) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(OPEN,1)/REF(CLOSE,2)<0.99 AND REF(MIN(CLOSE,OPEN),1)/REF(LOW,1)>1.01;

X_7:=REF(CLOSE,2)>REF(CLOSE,3) AND REF(MIN(CLOSE,OPEN),2)/REF(LOW,2)>1.025 AND (REF(MIN(CLOSE,OPEN),2)-REF(LOW,2))/(REF(HIGH,2)-REF(MAX(CLOSE,OPEN),2))>1.7 AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,5),2) AND REF(MA(CLOSE,10),1)>REF(MA(CLOSE,10),2) AND CLOSE/REF(CLOSE,1)>1.02;

X_8:=X_6 AND X_7;

X_9:=REF(CLOSE,2)/REF(LOW,1)>1.07 OR REF(HIGH,1)/REF(LOW,1)>1.07 AND REF(CLOSE,2)/REF(CLOSE,13)<1.4 AND REF(MA(CLOSE,60),1)>REF(MA(CLOSE,60),2) AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)>0.9 AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.185 AND (REF(CLOSE,1)/REF(CLOSE,2)<0.96 OR REF(CLOSE,1)/REF(OPEN,1)<0.94) AND REF(CLOSE,1)/REF(CLOSE,2)>0.906 AND REF(CLOSE,2)/REF(CLOSE,3)>1.098;

X_10:=REF(COUNT(COUNT(CLOSE/REF(CLOSE,1)>1.098,3)>1,5)=0,1) AND REF(MA(CLOSE,20),1)>REF(MA(CLOSE,20),2) AND REF(CLOSE,1)>REF(REF(LOW,BArslAst(CLOSE/REF(CLOSE,1)>1.098)),1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND OPEN/REF(CLOSE,1)<1.006 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,4)>0,1) AND CLOSE/REF(CLOSE,1)>1.03;

X_11:=X_9 AND X_10;

擒牛诀:X_5 OR X_8 OR X_11;

通达信启动项选股指标公式