X_1:=vol;
V5:MA(X_1,5),COLORWHITE;
V135:MA(X_1,135),COLORMAGENTA,LINETHICK3;
X_2:=12;
X_3:=26;
X_4:=9;
X_5:=EMA(CLOSE,X_2)-EMA(CLOSE,X_3);
X_6:=EMA(X_5,X_4);
X_7:=(X_5-X_6)*2;
X_8:=CLOSE>MA(CLOSE,13);
X_9:=CLOSE<MA(CLOSE,13);
STICKLINE(X_5>X_6 AND X_8,0,VOL,2,0),COLORRED;
STICKLINE(X_5<X_6 OR X_9,0,VOL,2,0),COLORWHITE;
X_10:=9;
X_11:=3;
X_12:=3;
X_13:=(CLOSE-LLV(LOW,X_10))/(HHV(HIGH,X_10)-LLV(LOW,X_10))*100;
X_14:=SMA(X_13,X_11,1);
X_15:=SMA(X_14,X_12,1);
X_16:=3*X_14-2*X_15;
X_17:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
X_18:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_17),0);
X_19:=EMA(X_18,3)-MA(X_18,9);
X_20:=EMA(IF(X_19>0,X_19,0),3);
X_21:=MA(CLOSE,3);
STICKLINE(X_20>REF(X_20,1) AND X_21>REF(X_21,1),0,X_20,0.5,0),COLORYELLOW;
X_22:=IF(X_16<X_15,0,1);
X_23:=IF(X_5<X_6,0,1);
X_24:=X_20>REF(X_20,1) AND X_21>REF(X_21,1);
量价齐升:X_20>REF(X_20,1) AND X_21>REF(X_21,1) AND (X_22 AND X_23);
X_25:=TFILTER(MA(VOL,5)>REF(MA(VOL,5),1) AND CLOSE>MA(CLOSE,60) AND X_5>X_6 AND IF(X_16<X_15,0,1) AND IF(X_5<X_6,0,1),2,1);
STICKLINE(X_25,0,VOL,1,0),COLORFF7F00;