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;
//{ Gupang.com 股-旁-网_同花顺股票指标公式}
FILLRGN(3,上攻周期,上攻周期>3,RGB(200,0,120));
jsc:=上攻周期<1;
dbqd:=FILTER(COUNT(jsc,5)>3 AND NOT(jsc),10);
DRAWICON(dbqd,0,1);
FILLRGN(0.5,上攻周期,jsc,RGB(0,0,255));
STICKLINE(COUNT(上攻周期>3,5)>=3 AND sg,0,上攻周期,4,0),colorred;