X_1:=VOL/REF(VOL,1) =0.95 AND VOL/REF(VOL,1) =1.05;
X_2:=REF(HHV(VOL,2),1);
X_3:=VOL/X_2 =0.95 AND VOL/X_2 =1.05;
X_4:=REF(HHV(VOL,3),1);
X_5:=VOL/X_4 =0.95 AND VOL/X_4 =1.05;
X_6:=REF(HHV(VOL,4),1);
X_7:=VOL/X_6 =0.95 AND VOL/X_6 =1.05;
X_8:=REF(HHV(VOL,5),1);
X_9:=VOL/X_8 =0.95 AND VOL/X_8 =1.05;
X_10:=REF(HHV(VOL,6),1);
X_11:=VOL/X_10 =0.95 AND VOL/X_10 =1.05;
X_12:=REF(HHV(VOL,7),1);
X_13:=VOL/X_12 =0.95 AND VOL/X_12 =1.05;
X_14:=REF(HHV(VOL,8),1);
X_15:=VOL/X_14 =0.95 AND VOL/X_14 =1.05;
X_16:=REF(HHV(VOL,9),1);
X_17:=VOL/X_16 =0.95 AND VOL/X_16 =1.05;
X_18:=REF(HHV(VOL,10),1);
X_19:=VOL/X_18 =0.95 AND VOL/X_18 =1.05;
X_20:=REF(HHV(VOL,11),1);
X_21:=VOL/X_20 =0.95 AND VOL/X_20 =1.05;
X_22:=REF(HHV(VOL,12),1);
X_23:=VOL/X_22 =0.95 AND VOL/X_22 =1.05;
X_24:=REF(HHV(VOL,13),1);
X_25:=VOL/X_24 =0.95 AND VOL/X_24 =1.05;
X_26:=X_25 OR X_23 OR X_21 OR X_19 OR X_17 OR X_15 OR X_13 OR X_11 OR X_9 OR X_7 OR X_5 OR X_3 OR X_1;
X_27:=100;
X_28:=100*(VOL-LLV(VOL,X_27))/(HHV(VOL,X_27)-LLV(VOL,X_27));
X_29:=13;
X_30:=100*(VOL-LLV(VOL,X_29))/(HHV(VOL,X_29)-LLV(VOL,X_29));
倍量:VOL =REF(VOL,1)*1.8,COLORYELLOW;
低量:VOL =HHV(VOL,13)*0.33 OR X_30 5 AND VOL REF(VOL,1),COLORMAGENTA;
地量:VOL =MA(LLV(VOL,100),100) OR (X_28 4 AND VOL REF(VOL,1)),COLORGREEN;
平量:X_26,COLORWHITE;
倍缩:VOL =REF(VOL,1)*0.55,COLORRED;
缩量涨:COUNT(CLOSE REF(CLOSE,1),2)=2 AND COUNT(VOL REF(VOL,1),2)=2,COLORBLUE;
STICKLINE(CLOSE OPEN,0,VOL,1.2,1),COLORRED;
STICKLINE(CLOSE =OPEN,0,VOL,2,0),COLORLIBLUE;
STICKLINE(平量,0,VOL,1,0),COLORRED;
STICKLINE(倍量,0,VOL,1.2,0),COLORYELLOW;
STICKLINE(倍缩,0,VOL,2,0),COLORRED;
STICKLINE(低量,0,VOL,2,0),COLORMAGENTA;
STICKLINE(地量,0,VOL,1,0),COLORGREEN;
STICKLINE(缩量涨,0,VOL,1,0),COLORBLUE;
DRAWTEXT(倍量,VOL*1.09,'倍'),COLORYELLOW;
X_31:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_32:=(8*X_31+7*REF(X_31,1)+6*REF(X_31,2)+5*REF(X_31,3)+4*REF(X_31,4)+3*REF(X_31,5)+2*REF(X_31,6)+REF(X_31,8))/36;
X_33:=VOL=HHV(VOL,10) AND VOL 2*REF(VOL,1) AND CLOSE X_32 AND CLOSE OPEN;
黄金柱:FILTER(X_33,5),STICK,COLORRED;
STICKLINE(黄金柱,0,VOL,1.8,0),COLORRED;
DRAWTEXT(黄金柱,VOL*1.23,'黄'),COLORRED;
X_34:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_35:=VOL;
主买:IF(CLOSE OPEN,X_34*(HIGH-LOW),IF(CLOSE OPEN,X_34*(HIGH-OPEN+(CLOSE-LOW)),VOL/2)),NODRAW,COLORRED;
主卖:IF(CLOSE OPEN,0-X_34*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE OPEN,0-X_34*(HIGH-LOW),0-VOL/2)),POINTDOT,COLORGREEN;
STICKLINE(主卖 0,0,主卖,1,0),COLORGREEN;
DRAWTEXT(VOL=HHV(VOL,0),HHV(VOL,30)*0.918,'天量'),COLORWHITE;
MAV5:MA(VOL,5),COLORRED;
MA35:MA(VOL,35),COLORLIBLUE;
MAV120:MA(VOL,120),COLORYELLOW,LINETHICK2;