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),COLORWHITE;
JSC:=上攻周期<1;
DBQD:=FILTER(COUNT(JSC,5)>3 AND NOT(JSC),10);
红箭头:DBQD;