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;
AA:COUNT(sg,5),colorwhite,linethick3;
AAma3:ma(AA,3),colorff99ff,linethick3;
AAma5:ma(AA,5),color00ff00,linethick3;
STICKLINE(COUNT(AA>3,5)>=3 AND sg,0,AA,4,0),colorred;
0;
DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,AA,1); {未来函数}
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,AAma3,2);{未来函数}