涨停档次竞价公式,竞价辅助,可排序(通达信公式 副图 源码 测试图)

[复制链接]
查看67 | 回复0 | 2022-6-27 17:04:48 | 显示全部楼层 |阅读模式
本公式,可以判断股票活跃程度与涨停动力,
源码适合大智慧与通达信。
里面有二个数值,
一个公式数值表示60日内涨停为第几档多少次,
一个公式数值表示120日内涨停为第几档多少次。
如数值为3.05,表示涨停为三档,周期内有5次涨停。
注意:公式在竞价时使用,可作为辅助指标排序,帮助你筛选股票。


涨停档次60日:
IF(COUNT(C/REF(C,1)>1.0985,60)=21,6.21,
IF(COUNT(C/REF(C,1)>1.0985,60)=20,6.20,
IF(COUNT(C/REF(C,1)>1.0985,60)=19,6.19,
IF(COUNT(C/REF(C,1)>1.0985,60)=18,6.18,
IF(COUNT(C/REF(C,1)>1.0985,60)=17,6.17,
IF(COUNT(C/REF(C,1)>1.0985,60)=16,6.16,
IF(COUNT(C/REF(C,1)>1.0985,60)=15,5.15,
IF(COUNT(C/REF(C,1)>1.0985,60)=14,5.14,
IF(COUNT(C/REF(C,1)>1.0985,60)=13,5.13,
IF(COUNT(C/REF(C,1)>1.0985,60)=12,5.12,
IF(COUNT(C/REF(C,1)>1.0985,60)=11,5.11,
IF(COUNT(C/REF(C,1)>1.0985,60)=10,4.10,
IF(COUNT(C/REF(C,1)>1.0985,60)=9,4.09,
IF(COUNT(C/REF(C,1)>1.0985,60)=8,4.08,
IF(COUNT(C/REF(C,1)>1.0985,60)=7,4.07,
IF(COUNT(C/REF(C,1)>1.0985,60)=6,3.06,
IF(COUNT(C/REF(C,1)>1.0985,60)=5,3.05,
IF(COUNT(C/REF(C,1)>1.0985,60)=4,3.04,
IF(COUNT(C/REF(C,1)>1.0985,60)=3,2.03,
IF(COUNT(C/REF(C,1)>1.0985,60)=2,2.02,
IF(COUNT(C/REF(C,1)>1.0985,60)=1,1.01,0)))))))))))))))))))));
 
涨停档次120日:
IF(COUNT(C/REF(C,1)>1.0985,120)=21,6.21,
IF(COUNT(C/REF(C,1)>1.0985,120)=20,6.20,
IF(COUNT(C/REF(C,1)>1.0985,120)=19,6.19,
IF(COUNT(C/REF(C,1)>1.0985,120)=18,6.18,
IF(COUNT(C/REF(C,1)>1.0985,120)=17,6.17,
IF(COUNT(C/REF(C,1)>1.0985,120)=16,6.16,
IF(COUNT(C/REF(C,1)>1.0985,120)=15,5.15,
IF(COUNT(C/REF(C,1)>1.0985,120)=14,5.14,
IF(COUNT(C/REF(C,1)>1.0985,120)=13,5.13,
IF(COUNT(C/REF(C,1)>1.0985,120)=12,5.12,
IF(COUNT(C/REF(C,1)>1.0985,120)=11,5.11,
IF(COUNT(C/REF(C,1)>1.0985,120)=10,4.10,
IF(COUNT(C/REF(C,1)>1.0985,120)=9,4.09,
IF(COUNT(C/REF(C,1)>1.0985,120)=8,4.08,
IF(COUNT(C/REF(C,1)>1.0985,120)=7,4.07,
IF(COUNT(C/REF(C,1)>1.0985,120)=6,3.06,
IF(COUNT(C/REF(C,1)>1.0985,120)=5,3.05,
IF(COUNT(C/REF(C,1)>1.0985,120)=4,3.04,
IF(COUNT(C/REF(C,1)>1.0985,120)=3,2.03,
IF(COUNT(C/REF(C,1)>1.0985,120)=2,2.02,
IF(COUNT(C/REF(C,1)>1.0985,120)=1,1.01,0)))))))))))))))))))));

提示,我测试过上面的源码,测试不通过,找不出来哪错误了。抱歉,会改公式的,参考一下吧,
不熟悉公式编写的,请略过。
 

20217170292617653.png

20217170292617653.png
 

20217170293298197.png

20217170293298197.png
 
 

20217170302823334.rar

1.04 KB, 下载次数: 0

售价: 2 金钱  [记录]  [购买]

20217170302823334.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则