通达信牛劲十足+选股指标公式源码

VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
ZM:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
ZM1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
MMB:=(SUM(ZM,30)+SUM(ZM1,30))/10,COLORYELLOW;
SG:=MMB>0 AND REF(MMB,1)<MMB;
上攻周期:COUNT(SG,5),LINESTICK,COLORWHITE;
JSC:=上攻周期<1;
DBQD:=FILTER(COUNT(JSC,5)>3 AND NOT(JSC),10);
DRAWICON(DBQD,2,1);
DRAWBAND(上攻周期,RGB(255,120,120),3,RGB(0,0,0));
DRAWBAND(JSC,RGB(0,0,255),0.5,RGB(0,0,0));
STICKLINE(COUNT(上攻周期>3,5)>=3 AND SG,0,上攻周期,1.5,0),COLORRED;
XG: COUNT(COUNT(上攻周期>3,5)>=3 AND SG,20)>4;

 

 

选股公式:
M:=7;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
ZM:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
ZM1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
MMB:=(SUM(ZM,30)+SUM(ZM1,30))/10;
SG:=MMB>0 AND REF(MMB,1)<MMB;
上攻周期:=COUNT(SG,5);
JSC:=上攻周期<1;
选股:COUNT(COUNT(上攻周期>3,5)>=3 AND sg,20)>m;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图