行业地区涨停数(通达信公式 分时主副图 源码 测试图)
行业地区涨停数
精品指标,主副分时实时统计叠加 本公式的作用:帮你把握板块热点行业板块、地域板块实时显示, 想使用包含st涨停的,把nnhh1指标改名nnhh就行了。其实在实盘看盘的时候,去除st,比较合适。所以默认的就是去掉st涨停的显示了 图片解释:图1图2包含st涨停图3图4不包含st涨停
{NNHH}XS:=IF(CODELIKE('688')ORCODELIKE('300') ,0.2,0.1);涨停:C>=ZTPRICE(REF(C,1),XS) AND C=H;{NNHH1}XS:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,IF(CODELIKE('688')ORCODELIKE('300') ,0.2,0.1));涨停:C>=ZTPRICE(REF(C,1),XS) AND C=H;{ZTS2}行业涨停:MMM.ZT#DAY;地域涨停:MMM.ZT2#DAY;
{ZTS}DRAWTEXT_FIX(1,0.005,0,0,'行业板块:'),COLORWHITE;DRAWTEXT_FIX(1,0.08,0,0,HYBLOCK),COLORYELLOW;DRAWTEXT_FIX(1,0,0.04,0,'地域板块:'),COLORWHITE;DRAWTEXT_FIX(1,0.08,0.04,0,DYBLOCK),COLORYELLOW;行业涨停:=MMM.ZT#DAY,NODRAW;地域涨停:=MMM.ZT2#DAY,NODRAW;DRAWTEXT_FIX(1,0.14,0,0,STRCAT(STRCAT('行业涨停个数:',CON2STR(行业涨停,0)),'')),COLORRED;
DRAWTEXT_FIX(1,0.14,0.04,0,STRCAT(STRCAT('地域涨停个数:',CON2STR(地域涨停,0)),'')),COLORRED;
{MMM}ZT:INSUM(HYBLOCK,'NNHH',1,0);
ZT2:INSUM(DYBLOCK,'NNHH',1,0);
看帖回帖是美德!:lol 无量天尊! 谢谢楼主,共同发展
页:
[1]