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),COLORWHITE;
{FILLRGN(3,上攻周期,上攻周期 3,RGB(200,0,120));}
DRAWBAND(3,RGB(0,255,0),上攻周期,RGB(200,0,120));
JSC:=上攻周期
DBQD:=FILTER(COUNT(JSC,5) 3 AND NOT(JSC),10);
DRAWICON(DBQD,0,1);
DRAWBAND(0.5,RGB(0,255,0),JSC,RGB(0,0,255)); {(0.5,上攻周期,JSC,RGB(0,0,255));}
STICKLINE(COUNT(上攻周期 3,5) =3 AND SG,0,上攻周期,4,0),COLORRED;