{倍量}
DRAWGBK(C>0, RGB(01,01,01),RGB(01,01,01),0,0,1);{黑色}
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
STICKLINE(C>=REF(C,1),0,V,3,1),COLORRED;
STICKLINE(C<REF(C,1),0,V,3,0),COLORCYAN;
換手: VOL*10000/FINANCE(7),NODRAW; {DYNAINFO(37)*100}
倍數(shù):=1.9;
幾倍: V/REF(V,1),COLORYELLOW,NODRAW;
倍量:(V/REF(V,1)>=1.91 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.91),NODRAW,COLORYELLOW;
倍縮: REF(V,1)>=VOL*倍數(shù) AND C>REF(C,1),COLORMAGENTA,NODRAW;
平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW;
地量: VOL=LLV(VOL,55) AND BARSCOUNT(V)>=55,COLORBLUE,NODRAW;
梯量:COUNT(V>REF(V,1),3)=3 AND COUNT(C>O,3)=3,NODRAW,COLOR824173;
V1:=VOL*0.9;V2:=VOL*0.8;
DRAWTEXT(倍量,V*1.5,'倍'),COLORYELLOW;
STICKLINE(倍量,0,V*0.8,1,0),COLORYELLOW;
STICKLINE(倍縮,0,V,1,0),COLORMAGENTA;
STICKLINE(平量,0,V1*0.8,1,0),COLORWHITE;
STICKLINE(地量,0,V2,1,0),COLORBLUE;
STICKLINE(梯量,0,V*0.6,1,0),COLOR824173;
長陰短柱:=C/REF(C,1)<=0.95 AND V<HHV(V,30)/1.9;
DRAWTEXT(長陰短柱 ,V+1.6*換手,'!'),COLORLICYAN;
STICKLINE(VOL/2,VOL/2,VOL/2,1,0),COLORGRAY;
陽漲幅:=3.5;
陽倍量:=1.9;
單陽收:=C;
單陽:=單陽收>=REF(C,1)*(1+陽漲幅/100)AND VOL>REF(VOL,1)*陽倍量;
陽:CURRBARSCOUNT<100 AND 單陽;
{倍縮}
縮倍:=REF(V,1)*0.48>V AND NOT(O=C AND H=O) ;
STICKLINE(縮倍,0,V,1,0),COLORGREEN;
DRAWTEXT(縮倍,VOL*1.6,'2S'),COLORGREEN;
{縮三一}
縮三一:= REF(V,1)*0.64>V AND V*1.9>REF(V,1) AND NOT(O=C AND H=O) ;
STICKLINE(縮三一,0,V,1,0),COLORGREEN;
DRAWTEXT(縮三一,VOL*1.55,'3S'),COLORGREEN;