通达信强势预警指标公式

[复制链接]
查看71 | 回复0 | 2021-8-20 01:39:43 | 显示全部楼层 |阅读模式

以下是通达信强势预警指标公式(无源码的请下载附件导入)

JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
介必升:=FILTER(JBS,28)*100;
 VAR1:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
 VAR2:=FILTER((VAR1>90),45) AND FILTER((VAR1>90),35) AND 介必升>0;
强势预警:=VAR2 AND COUNT(VAR2,60)=1;
 STICKLINE(强势预警 ,75,66,1,0),COLORRED;
 STICKLINE(强势预警 ,66,57,2,0),COLORMAGENTA;
 STICKLINE(强势预警 ,57,48,3,0),COLORGREEN;
 STICKLINE(强势预警 ,48,39,4,0),COLORBLUE;
 STICKLINE(强势预警 ,30,21,6,0),COLORBROWN;
 STICKLINE(强势预警 ,39,30,5,0),COLORCYAN;
 STICKLINE(强势预警 ,21,12,7,0),COLORYELLOW;
 STICKLINE(强势预警 ,12,3,8,0),COLORWHITE;
 DRAWTEXT(强势预警,90,'强势预警'),COLORRED;
 DRAWICON(强势预警,80,13);

819199889.jpg

819199889.jpg

回复

使用道具 举报

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

本版积分规则