VOLUME:VOL,VOLSTICK;
X_1:=MA(VOL,20);
X_2:=CROSS(VOL,X_1);
X_3:=CROSS(X_1,VOL);
X_4:=BARSLAST(X_2);
X_5:=BARSLAST(X_3);
X_6:=X_4 =2 AND VOL
X_7:=X_5 =2 AND VOL
X_8:=X_4=2 AND VOL
X_9:=X_5=2 AND VOL
X_10:=BARSLAST(X_8);
X_11:=BARSLAST(X_9);
X_12:=BACKSET(X_6,X_4+1);
X_13:=BACKSET(X_7,X_5+1);
X_14:=BARSCOUNT(CLOSE);
X_15:=X_10 X_11 OR X_12 OR (X_10 0 AND COUNT(X_13,X_14)=0);
X_16:=X_11 X_10 OR X_13 OR (X_11 0 AND COUNT(X_12,X_14)=0);
X_17:=IF(X_15=1,1,0);
X_18:=IF(X_16=1,1,0);
X_19:=X_10 X_11 OR X_12 OR (X_10 0 AND COUNT(X_13,X_14)=0);
X_20:=X_11 X_10 OR X_13 OR (X_11 0 AND COUNT(X_12,X_14)=0);
X_21:=IF(X_15=1,1,0);
X_22:=IF(X_16=1,1,0);
X_23:=X_17 AND REF(X_17,1)=0 AND REF(X_20,1);
X_24:=REF(X_23,1);{www.9m8.cn 九毛八公式指标网}
STICKLINE(X_16,0,VOL,3,0),COLORGREEN;
STICKLINE(X_15,0,VOL,3,0),COLORRED;
STICKLINE(X_23,0,VOL,3,0),COLORGREEN;
STICKLINE(X_24,0,VOL,3,0),COLORGREEN;