量:vol,NODRAW,COLORWHITE;
EM5:=EMA(量,5),COLORCYAN;
EM21:=EMA(量,21),COLORGREEN;
EM100:=EMA(量,100),COLORMAGENTA;
量比:VOL/REF(VOL,1),NODRAW,COLORCYAN;
STICKLINE(量<=HHV(量,100)*0.2,0,量,2,0),COLORGRAY;
STICKLINE(量>=HHV(量,100),0,量,2,0),COLORGREEN;
STICKLINE(量>HHV(量,100)*0.2 AND 量< HHV(量,100) AND C>REF(C,1) AND (量/REF(量,1)< 1.5 OR 量/REF(量,1)>3.6),0,量,2,1),COLORRED;
STICKLINE(量>HHV(量,100)*0.2 AND 量< HHV(量,100) AND C<=REF(C,1) AND (量/REF(量,1)< 1.5 OR 量/REF(量,1)>3.6),0,量,2,1),COLORCYAN;
STICKLINE(量<=HHV(量,100)*0.2 AND 量/REF(量,1)>=1.5 AND 量/REF(量,1)<=3.6,REF(量,1),量,2,0),COLORYELLOW;
STICKLINE(量>HHV(量,100)*0.2 AND 量< HHV(量,100) AND 量/REF(量,1)>=1.5 AND 量/REF(量,1)<=3.6,0,量,2,0),COLORYELLOW;
E5:EM5,COLORCYAN;
E21:EM21,COLORGREEN;
E100:EM100,COLORMAGENTA;
ABC1:=2*MA(LLV((CLOSE+LOW)/2,8)*1.1,13)-EMA((CLOSE+LOW)/2,3)-(CLOSE+LOW)/2*0.1;
ABC2:=IF((EMA((CLOSE+LOW)/2,3)-ABC1)*5>0,POW((EMA((CLOSE+LOW)/2,3)-ABC1)*5,2)/10,(-1)*POW((EMA((CLOSE+LOW)/2,3)-ABC1)*5,2)/10);
ABC3:=IF(ABC2>0,ABC2-0,(-1));
启动:=crOSS(ABC3,0) AND (CLOSE+LOW)/2>MA((CLOSE+LOW)/2,8),COLORMAGENTA;
DRAWICON(启动,VOL,9);