通达信黑马过峰选股指标公式
2021/3/30 19:06:50
ZSSRPX:=COSTEX(ISLASTBAR+720,ISLASTBAR),COLORYELLOW;
ZS10:=MA(ZSSRPX,10),COLORMAGENTA;
ZS35:=MA(ZSSRPX,35),COLORCYAN;
S2Q:=IF(NAMELIKE('S'),0,1);
S3Q:=IF(NAMELIKE('*'),0,1);
去除停牌:=DYNAINFO(4)>0;
XGQ:=CROSS(C,ZSSRPX)+CROSS(C,ZS10)+CROSS(C,ZS35)>=2 AND S2Q AND S3Q AND 去除停牌;
量比:=V/REF(V,1);
涨幅:=REF(C,1)/REF(C,8);
振幅:=HHV(REF(C,1),12)/LLV(REF(C,1),12);
X1:=VOL;
X2:=SMA((CLOSE-REF(CLOSE,1))*X1,3,1)/10000;
X3:=EMA(X2,12)-EMA(X2,26);
X4:=EMA(X3,9);
X5:=(X3-X4)*2;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
VAR5AA:=FILTER((VAR4AA>90),34);
Y:=(MA(C,5)-MA(C,30))/MA(C,5)*100;
YY1:=C>MA(C,5) AND OPEN<MA(C,5);
YY3:=C>MA(C,10) AND OPEN<MA(C,10);
YY5:=C>MA(C,30) AND OPEN<MA(C,30);
VAR2M:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3M:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
选股:XGQ AND 量比>=2.70 AND C>REF(C,1) AND COUNT(REF(C/O>=1.095,1),8)<1
AND 振幅<=1.10 AND C/O>=1 AND 涨幅>=0.9 AND COUNT(REF(C/O>=1.04,1),8)<1
AND COUNT(REF(C/O<=0.95,1),8)<1 AND CROSS(X5,0) AND VAR5AA AND YY1 AND YY5 AND YY3 AND CROSS(VAR2M,MA(VAR3M,6));
投股 票网 www.tou18 .cn
股市公式下载推荐