通达信主板捉妖副图指标 踢除了创业板、科创板、ST和停牌的股票

2024-11-29 09:32:00来源:本站整理浏览:944

通达信主板捉妖副图指标 踢除了创业板、科创板、ST和停牌的股票


S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
S3:=DYNAINFO(17)>0;
S4:=IF(INBLOCK('科创板'),0,1);
S5:=IF(NAMELIKE('C'),0,1);
S6:=IF(INBLOCK('创业板'),0,1);
S7:=IF(INBLOCK('创业板'),1,0);
S8:=IF(CODELIKE('301'),1,0);
S9:=IF(CODELIKE('301'),0,1);
S10:=IF(NAMELIKE('C'),1,0);
去停ST1:=S1 AND S2 AND S3 AND S4 AND S5 AND S6;
涨幅:=100*(C-REF(C,1))/REF(C,1);
开幅:=100*(O-REF(C,1))/REF(C,1);
跌幅:=100*(L-REF(C,1))/REF(C,1);
高幅:=100*(H-REF(C,1))/REF(C,1);
昨开幅:=REF((OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100,1);
开换手Z:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
昨换手Z:=REF(V*10000/FINANCE(46),1);
前换手Z:=REF(V*10000/FINANCE(46),2);
开换比:=开换手Z/昨换手Z*100;
板块:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
涨停价:=IF(板块=0.2,ZTPRICE(REF(C,1),0.2),IF(NAMELIKE('S') OR NAMELIKE('*'),ZTPRICE(REF(C,1),0.05),ZTPRICE(REF(C,1),0.1)));
跌停价:=IF(板块=0.2,DTPRICE(REF(C,1),0.2),IF(NAMELIKE('S') OR NAMELIKE('*'),DTPRICE(REF(C,1),0.05),DTPRICE(REF(C,1),0.1)));
去开板:=NOT(OPEN=涨停价);{NOT(OPEN=涨停价)};
涨停:=涨停价=C;
昨涨停:=REF(涨停,1);
XG1:去停ST1 AND 昨涨停=1 AND 开换手Z>0.895 AND RANGE(开幅,2,8)NODRAW;
X_3:=XG1;
X_4:=1090;
X_5:=IF(X_3,1/X_4*300,DRAWNULL);
X_6:=1;
NOTEXT1:120*X_5+X_6,COLORBLACK;
STICKLINE(X_3,0,35,3,0),COLORRED;
DRAWTEXT(X_3,30,'主板捉妖');

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式