X_1:=(2*CLOSE+HIGH+LOW)/3;
X_2:=EMA(X_1,3);
X_3:=EMA(X_2,3);
X_4:=EMA(X_3,3);
AEFG1:(X_4-REF(X_4,1))/REF(X_4,1)*100;
STICKLINE(AEFG1>=0,AEFG1,0,0.2,0),colorred;
STICKLINE(AEFG1<0,AEFG1,0,0.2,0),colorblue;
X_5:=AMOUNT/VOL/100;
X_6:=MA(X_5,13);
X_7:=EMA(VOL,13);
X_8:=EMA(AMOUNT,13);
X_9:=X_8/X_7/100;
X_10:=(CLOSE-X_9)/X_9*100;
X_11:=EMA(VOL/CAPITAL*100,13);
AEFG0:0,colorwhite;
AEFG2:MA(AEFG1,2),LINETHICK1;
AEFG3:MA(AEFG1,1),colormagenta,LINETHICK1;