公开统计涨停家数全部源码
对于通达信软件,统计涨停家数本人看来是比较耗时的过程。这里使用横向统计函数,可以比较准备的统计历史上每天的涨停家数。当然,统计跌停家数可以类推。呵呵,本人这个公式留在自己电脑里或许没什么,公开涨停家数的全部源码,对于以涨停家数做参考的各位来说,或许有用。但是必须非常明确一点,每天必须提前下载数据,以及指标会很卡,因为调用数据实在太多吧。
辅助公式,命名为 ZDF:
ABF:C/REF(C,1)-1>=0.0943 AND C=H AND V>0 ;
{注意这里涨幅为百分之9点43,是经过实际数板修正过的。曾经。}
像是只能对低版本TNI格式的才能用,高版本不知道是函数被关闭了使用功能还是其它,不显示数据。
主公式源码于下:
AX1:=INSUM("黑龙江","ZDF",1,0);
AX2:=INSUM("新疆板块","ZDF",1,0);
AX3:=INSUM("吉林板块","ZDF",1,0);
AX4:=INSUM("甘肃板块","ZDF",1,0);
AX5:=INSUM("辽宁板块","ZDF",1,0);
AX6:=INSUM("青海板块","ZDF",1,0);
AX7:=INSUM("北京板块","ZDF",1,0);
AX8:=INSUM("陕西板块","ZDF",1,0);
AX9:=INSUM("天津板块","ZDF",1,0);
AX10:=INSUM("广西板块","ZDF",1,0);
AX11:=INSUM("河北板块","ZDF",1,0);
AX12:=INSUM("广东板块","ZDF",1,0);
AX13:=INSUM("河南板块","ZDF",1,0);
AX14:=INSUM("宁夏板块","ZDF",1,0);
AX15:=INSUM("山东板块","ZDF",1,0);
AX16:=INSUM("上海板块","ZDF",1,0);
AX17:=INSUM("山西板块","ZDF",1,0);
AX18:=INSUM("深圳板块","ZDF",1,0);
AX19:=INSUM("湖北板块","ZDF",1,0);
AX20:=INSUM("福建板块","ZDF",1,0);
AX21:=INSUM("湖南板块","ZDF",1,0);
AX22:=INSUM("江西板块","ZDF",1,0);
AX23:=INSUM("四川板块","ZDF",1,0);
AX24:=INSUM("安徽板块","ZDF",1,0);
AX25:=INSUM("重庆板块","ZDF",1,0);
AX26:=INSUM("江苏板块","ZDF",1,0);
AX27:=INSUM("云南板块","ZDF",1,0);
AX28:=INSUM("浙江板块","ZDF",1,0);
AX29:=INSUM("贵州板块","ZDF",1,0);
AX30:=INSUM("海南板块","ZDF",1,0);
AX31:=INSUM("西藏板块","ZDF",1,0);
AX32:=INSUM("内蒙板块","ZDF",1,0);
A:AX1+AX2+AX3+AX4+AX5+AX6+AX7+AX8+AX9+AX10+AX11+AX12+AX13+AX14+AX15+AX16+AX17+AX18+AX19+AX20+
AX21+AX22+AX23+AX24+AX25+AX26+AX27+AX28+AX29+AX30+AX31+AX32;
DRAWNUMBER(C>0 ,A,A),COLORRED;
- 上一篇公式:通达信佛_新MACD指标副图贴图
- 下一篇公式:通达信四季变天图源码副图