通达信大盘情绪副图指标 用来看大盘 在冰点时候的尾盘抄底比较好 源码附图
上涨数:"880005$C",COLORFF00FF,NODRAW;
下跌数:"880005$O",COLORLIBLUE,NODRAW;
跌停数:"880006$O",COLOR00FF00;
昨日跌停数:REF(跌停数,1),NODRAW,COLORFFFF00;
涨停数:"880006$C",COLORRED;
昨日涨停数:REF(涨停数,1),NODRAW,COLORFF00FF;
首板数:BLOCKSETNUM('首板'),NODRAW;
连板数:BLOCKSETNUM('连板'),NODRAW,COLORLIMAGENTA;
昨日连板:BLOCKSETNUM('昨日连板'),NODRAW;
一进二:BLOCKSETNUM('一进二'),NODRAW,COLORFFFF00;
二进三:BLOCKSETNUM('二进三'),NODRAW;
龙头:BLOCKSETNUM('龙头'),NODRAW,COLORRED;
首板率%:100*首板数/涨停数,NODRAW,COLORYELLOW;
连板率%:=100*连板数/涨停数,NODRAW,COLORWHITE;
接力情绪:DRAWNULL,COLORYELLOW;
IF(连板率%>15,连板率%,DRAWNULL),NODRAW,COLORRED;
IF(连板率%>20,连板率%,DRAWNULL),NODRAW,COLORFF00FF;
IF(连板率%<15,连板率%,DRAWNULL),NODRAW,COLORGREEN;
红盘率%:100*"880005$C"/("880005$C"+"880005$O"),NODRAW,COLORLIMAGENTA;
跟庄看盘:DRAWNULL,NODRAW,COLOR0088FF;
概念数:GNBLOCKNUM,NODRAW;
风格数:FGBLOCKNUM,NODRAW;
涨停跌停比:涨停数/跌停数,NODRAW,COLORWHITE;
涨停今昨:=涨停数/昨日涨停数,COLORYELLOW;
跌停今昨:=跌停数/昨日跌停数,COLORYELLOW;
涨停今昨比:IF(涨停今昨>=1,涨停今昨,DRAWNULL),NODRAW,COLORRED;
IF(涨停今昨<1,涨停今昨,DRAWNULL),NODRAW,COLORGREEN;
跌停今昨比:IF(跌停今昨>=1,跌停今昨,DRAWNULL),NODRAW,COLORLIRED;
IF(跌停今昨<1,跌停今昨,DRAWNULL),NODRAW,COLORLIGREEN;
STICKLINE(涨停数,0,0,2,0),COLORRED;
STICKLINE(跌停数,0,0,2,0),COLORLIBLUE;
风险线:240,COLORWHITE,DOTLINE;
DRAWICON(涨停数>240,涨停数,2);
DRAWICON(CROSS(跌停数,涨停数) AND EXIST(H=HHV(H,60),5) AND L>REFX(L,1),50,1),COLORWHITE;
DRAWICON(CROSS(涨停数,跌停数) AND EXIST(L=LLV(L,10),5),涨停数,23),COLORWHITE;
DRAWTEXT(跌停数>250,跌停数*0.9,' 冰点');
DRAWTEXT(涨停数>250,涨停数*0.9,' 沸点');
未来函数检测结果如下:
该公式包含未来函数:REFX
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出上涨数:"880005$C",COLORFF00FF,NODRAW
输出下跌数:"880005$O",COLORLIBLUE,NODRAW
输出跌停数:"880006$O",COLOR00FF00
昨日输出跌停数:1日前的跌停数,NODRAW,COLORFFFF00
输出涨停数:"880006$C",画红色
昨日输出涨停数:1日前的涨停数,NODRAW,COLORFF00FF
输出首板数:BLOCKSETNUM('首板'),NODRAW
输出连板数:BLOCKSETNUM('连板'),NODRAW,COLORLIMAGENTA
输出昨日连板:BLOCKSETNUM('昨日连板'),NODRAW
输出一进二:BLOCKSETNUM('一进二'),NODRAW,COLORFFFF00
输出二进三:BLOCKSETNUM('二进三'),NODRAW
输出龙头:BLOCKSETNUM('龙头'),NODRAW,画红色
输出首板率%:100*首板数/涨停数,NODRAW,画黄色
连板率%赋值:100*连板数/涨停数,NODRAW,画白色
输出接力情绪:DRAWNULL,画黄色
如果连板率%>15返回连板率%否则返回DRAWNULL
如果连板率%>20返回连板率%否则返回DRAWNULL
如果连板率%<15返回连板率%否则返回DRAWNULL
输出红盘率%:100*"880005$C"/("880005$C"+"880005$O"),NODRAW,COLORLIMAGENTA
输出跟庄看盘:DRAWNULL,NODRAW,COLOR0088FF
输出概念数:GNBLOCKNUM,NODRAW
输出风格数:FGBLOCKNUM,NODRAW
输出涨停跌停比:涨停数/跌停数,NODRAW,画白色
涨停今昨赋值:涨停数/昨日涨停数,画黄色
跌停今昨赋值:跌停数/昨日跌停数,画黄色
如果涨停今昨>=1返回涨停今昨否则返回DRAWNULL
如果涨停今昨<1返回涨停今昨否则返回DRAWNULL
如果跌停今昨>=1返回跌停今昨否则返回DRAWNULL
如果跌停今昨<1返回跌停今昨否则返回DRAWNULL
当满足条件涨停数时,在0和0之间画柱状线
当满足条件跌停数时,在0和0之间画柱状线
输出风险线:240,画白色,DOTLINE
当满足条件涨停数>240时,在涨停数和2之间画图标
DRAWICON(跌停数上穿涨停数 AND EXIST(H=60日内H最高值,5) AND L>REFX(L,1),50,1),画白色
DRAWICON(涨停数上穿跌停数 AND EXIST(L=10日内L最低值,5),涨停数,23),画白色
当满足条件跌停数>250时,在跌停数*0.9和' 冰点'位置书写文字
当满足条件涨停数>250时,在涨停数*0.9和' 沸点'位置书写文字