stICKLINE(CLOSE REF(CLOSE,1),0,vol,2,1),COLORRED;
STICKLINE(CLOSE =REF(CLOSE,1),0,VOL,2,0),COLORCYAN;
X_1:=IF(CLOSE REF(CLOSE,1),VOL,-VOL);
X_2:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_1),0);
X_3:=1;
X_4:=X_2;
X_5:=Ema(X_4,3)-MA(X_2,9);
X_6:=EMA(IF(X_5 0,X_5,0),3);
X_7:=MA(CLOSE,3);
STICKLINE(X_6 REF(X_6,1) AND X_7 REF(X_7,1),0,X_6,2,0),COLORLIRED;
X_8:=0;
STICKLINE(X_6 REF(X_6,1) AND X_7 REF(X_7,1) AND X_6 VOL/2,0,X_6,2,0),COLORYELLOW;
STICKLINE(X_8=1,0,X_6,10,0),COLORBLacK;
STICKLINE(X_6 REF(X_6,1) AND X_7 REF(X_7,1) AND X_6 VOL,VOL,X_6,2,1),COLORGREEN;
STICKLINE(X_6 REF(X_6,1) AND X_7 REF(X_7,1) AND X_6 VOL/2,0,X_6,2,0),COLORYELLOW;
STICKLINE(X_6 REF(X_6,1) AND X_7 REF(X_7,1) AND X_6 VOL,VOL,X_6,2,1),COLORGREEN;
STICKLINE(X_8=1,0,MAX(VOL,X_6),10,0),COLORBLACK;