{涨停家数指标}
BX1:=INSUM('黑龙江','ZDF',2,0);
BX2:=INSUM('新疆板块','ZDF',2,0);
BX3:=INSUM('吉林板块','ZDF',2,0);
BX4:=INSUM('甘肃板块','ZDF',2,0);
BX5:=INSUM('辽宁板块','ZDF',2,0);
BX6:=INSUM('青海板块','ZDF',2,0);
BX7:=INSUM('北京板块','ZDF',2,0);
BX8:=INSUM('陕西板块','ZDF',2,0);
BX9:=INSUM('天津板块','ZDF',2,0);
BX10:=INSUM('广西板块','ZDF',2,0);
BX11:=INSUM('河北板块','ZDF',2,0);
BX12:=INSUM('广东板块','ZDF',2,0);
BX13:=INSUM('河南板块','ZDF',2,0);
BX14:=INSUM('宁夏板块','ZDF',2,0);
BX15:=INSUM('山东板块','ZDF',2,0);
BX16:=INSUM('上海板块','ZDF',2,0);
BX17:=INSUM('山西板块','ZDF',2,0);
BX18:=INSUM('深圳板块','ZDF',2,0);
BX19:=INSUM('湖北板块','ZDF',2,0);
BX20:=INSUM('福建板块','ZDF',2,0);
BX21:=INSUM('湖南板块','ZDF',2,0);
BX22:=INSUM('江西板块','ZDF',2,0);
BX23:=INSUM('四川板块','ZDF',2,0);
BX24:=INSUM('安徽板块','ZDF',2,0);
BX25:=INSUM('重庆板块','ZDF',2,0);
BX26:=INSUM('江苏板块','ZDF',2,0);
BX27:=INSUM('云南板块','ZDF',2,0);
BX28:=INSUM('浙江板块','ZDF',2,0);
BX29:=INSUM('贵州板块','ZDF',2,0);
BX30:=INSUM('海南板块','ZDF',2,0);
BX31:=INSUM('西藏板块','ZDF',2,0);
BX32:=INSUM('内蒙板块','ZDF',2,0);
连板家数:BX1+BX2+BX3+BX4+BX5+BX6+BX7+BX8+BX9+BX10+BX11+BX12+BX13+BX14+BX15+BX16+BX17+BX18+BX19+BX20+
BX21+BX22+BX23+BX24+BX25+BX26+BX27+BX28+BX29+BX30+BX31+BX32;
涨停家数:"880006$C";
LBV:=连板家数/REF(涨停家数,1);
连板率%:100*LBV,DOTLINE;
IF((SLOPE(LBV,3)+SLOPE(LBV,4)+SLOPE(LBV,5))>0 OR MA(连板率%,3)>=20,100*LBV,DRAWNULL),COLORRED,STICK;