NOTEXTVvol:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
NOTEXTVOLUME:VOL,VOLSTICK;
NOTEXTMAVOL1:MA(NOTEXTVOLUME,5);
NOTEXTMAVOL2:MA(NOTEXTVOLUME,40);
NOTEXTMAVOL3:MA(NOTEXTVOLUME,135);
XA_1:=REF(VOL,1)<REF(MA(VOL,5),1) AND REF(VOL,1)<REF(MA(VOL,40),1) AND REF(VOL,1)<REF(MA(VOL,135),1);
XA_2:=VOL>MA(VOL,5) AND VOL>MA(VOL,40) AND VOL>MA(VOL,135);
XA_3:=XA_1 AND XA_2;
STICKLINE(XA_3,0,VOL,4,0),COLORRED;
XA_4:=VOL/REF(VOL,1)>1.9 AND CLOSE>REF(CLOSE,1);
STICKLINE(XA_4,0,VOL,2,0),COLORYELLOW;
XA_5:=CLOSE>REF(CLOSE,1) AND CLOSE<OPEN;
STICKLINE(XA_5,0,VOL,2.5,0),COLORMAGENTA;
XA_6:=VOL/REF(VOL,1)>1.9 AND REF(VOL,2)/REF(VOL,1)>1.9 AND CLOSE>REF(CLOSE,1);
STICKLINE(XA_6,0,REF(VOL,1),2,0),COLORRED;
XA_7:=VOL/REF(VOL,1)<0.51;
XA_8:=VOL<REF(VOL,1) AND VOL+REF(VOL,1)<REF(VOL,2)/2 AND CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2);
XA_9:=XA_7 OR XA_8;
STICKLINE(XA_9,0,VOL,2.5,0),COLORBLUE;
XA_10:=HIGH-LOW;
XA_11:=Abs(OPEN-CLOSE);
XA_12:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);
XA_13:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;
XA_14:=XA_11/XA_10*VOL;
XA_15:=XA_12/XA_10*VOL;
XA_16:=XA_13/XA_10*VOL;
XA_17:=XA_14>=XA_15 AND XA_14>=XA_16 AND CLOSE<OPEN;
XA_18:=CLOSE<EMA(CLOSE,5) AND XA_17;
XA_19:=CLOSE>=EMA(CLOSE,5) AND XA_17;
XA_20:=XA_14>=XA_15 AND XA_14>=XA_16 AND CLOSE>OPEN;
XA_21:=XA_16>XA_14 AND XA_16>XA_15;
XA_22:=XA_15>XA_14 AND XA_15>XA_16;
XA_23:=REF(HIGH+LOW+CLOSE,1)/3;
XA_24:=VOL;
STICKLINE(XA_20=1,0,XA_24*0.9,0.6,0),COLORYELLOW;
STICKLINE(XA_22=1,0,XA_24*0.9,0.6,0),COLORMAGENTA;
STICKLINE(XA_21=1,0,XA_24*0.9,0.6,0),COLORWHITE;
STICKLINE(XA_19=1,0,XA_24*0.9,0.6,0),COLORGREEN;
STICKLINE(XA_18=1,0,XA_24*0.9,0.6,0),COLORBLUE;
XA_25:=1*AMOUNT;
XA_26:=HHV(XA_25,30)=XA_25;
XA_27:=HHV(XA_25,60)=XA_25;
XA_28:=HHV(XA_25,100)=XA_25;
XA_29:=HHV(XA_25,250)=XA_25;
STICKLINE(XA_26,NOTEXTVOLUME,NOTEXTVOLUME*0.7,1,0),COLORYELLOW;
STICKLINE(XA_27,NOTEXTVOLUME,NOTEXTVOLUME*0.7,1,0),COLORMAGENTA;
STICKLINE(XA_28,NOTEXTVOLUME,NOTEXTVOLUME*0.7,1,0),COLORRED;
STICKLINE(XA_29,NOTEXTVOLUME,NOTEXTVOLUME*0.7,1,0),COLORFF0080;
XA_30:=LLV(XA_25,30)=XA_25;
XA_31:=LLV(XA_25,60)=XA_25;
XA_32:=LLV(XA_25,100)=XA_25;
XA_33:=LLV(XA_25,250)=XA_25;
STICKLINE(XA_30,(-20000),0,1,0),COLORYELLOW;
STICKLINE(XA_31,(-20000),0,1,0),COLORMAGENTA;
STICKLINE(XA_32,(-20000),0,1,0),COLORRED;
STICKLINE(XA_33,(-20000),0,1,0),COLORFF0080;
XA_34:=VOL/CAPITAL*100;
XA_35:=MA(XA_34,5);
XA_36:=MA(XA_34,35);
XA_37:=MA(XA_34,135);
NOTEXT量能突破:IF(crOSS(XA_35,XA_36),NOTEXTVOLUME*2,0),COLORMAGENTA,LINETHICK2;