在线检测未来函数

通达信大盘涨跌人气指标公式

来源:Internet,编辑:股旁网,2020-09-24

{自动显示大盘历史涨停跌停股票数量。}

涨停数:="880006$C",COLORMAGENTA,STICK,LINETHICK1;
STICKLINE("880006$C">=("880005$C"+"880005$O")*0.01 AND "880006$C"<("880005$C"+"880005$O")*0.025,0,涨停数,0.5,0),COLORMAGENTA;
STICKLINE("880006$C">=("880005$C"+"880005$O")*0.025,0,涨停数,0.5,0),COLORRED;
STICKLINE("880006$C"<("880005$C"+"880005$O")*0.01,0,涨停数,0.5,0),COLORWHITE;
STICKLINE("880006$C"<=20,0,涨停数,0.5,0),COLORGREEN;
最高连板:INSUM('周线牛股','连板股',1,2),NODRAW;
跌停数:=-"880006$O",COLORGREEN,NODRAW;
STICKLINE(IF(跌停数>=-110,跌停数,0),0,IF(跌停数>=-110,跌停数,0),0.5,0),COLORWHITE;
DRAWNUMBER(涨停数>=0,涨停数+10,涨停数),COLORWHITE;
DRAWNUMBER(1,IF(跌停数>=-110,跌停数,-50),跌停数),COLORWHITE;
DRAWNUMBER(IF(跌停数<-110,1,0),IF(跌停数<-110,-50,0),跌停数),COLORRED;
首板:=BLOCKSETNUM('昨日首板'),NODRAW;
昨板:BLOCKSETNUM('昨涨停'),COLORMAGENTA,NODRAW;
今板:BLOCKSETNUM('今涨停'),COLORYELLOW,NODRAW;
昨优:BLOCKSETNUM('昨优一'),COLORYELLOW,NODRAW;
今优:BLOCKSETNUM('今优一'),COLORMAGENTA,NODRAW;
昨连:BLOCKSETNUM('昨二连'),COLORYELLOW,NODRAW;
今连:BLOCKSETNUM('今二连'),COLORMAGENTA,NODRAW;
昨三:BLOCKSETNUM('昨三连'),COLORYELLOW,NODRAW;
今三:BLOCKSETNUM('今三连'),COLORYELLOW,NODRAW;
昨妖:BLOCKSETNUM('昨妖股'),COLORMAGENTA,NODRAW;
今妖:BLOCKSETNUM('今妖股'),COLORRED,NODRAW;
昨跌:-BLOCKSETNUM('昨跌停'),COLORGREEN,NODRAW;
今跌:-BLOCKSETNUM('当天跌停'),COLORGREEN,NODRAW;
昨炸:BLOCKSETNUM('昨炸板'),COLORYELLOW,NODRAW;
今炸:BLOCKSETNUM('今炸板'),COLORMAGENTA,NODRAW;
0,DOTLINE,COLORWHITE;
-100,DOTLINE,COLORGRAY;

通达信大盘涨跌人气指标公式

相关文章