当前位置:首页 > 通达信公式 > 内容

通达信牛劲十足副图/选股指标源码

作者:公式指标网   更新时间:2018-09-09   点击:

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)),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;

通达信牛劲十足副图/选股指标源码

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web