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)
上攻周期:COUNT(SG,5),LINESTICK,COLORWHITE;
JSC:=上攻周期
{www.9m8.cn 九毛八公式指标网 股票软件下载网_通达信股票指标公式}
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)
选股公式:
M:=3;
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)
上攻周期:=COUNT(SG,5);
JSC:=上攻周期
选股:COUNT(COUNT(上攻周期 3,5) =3 AND sg,20)