X_1:=25;
X_2:=(X_1-HHVBARS(HIGH,X_1))/X_1*100;
X_3:=(X_1-LLVBARS(HIGH,X_1))/X_1*100;
X_4:=(CLOSE*2+HIGH+LOW)/4;
X_5:=EMA(X_4,13)-EMA(X_4,34);
X_6:=EMA(X_5,5);
X_7:=2*(X_5-X_6)*3.8;
X_8:=(-2)*(X_5-X_6)*3.8;
X_9:=DMA(AMOUNT/(100*VOL),VOL/CAPITAL);
SZ1:80,COLORYELLOW;
SZ2:90,DOTLINE;
SZ3:70,DOTLINE,COLORYELLOW;
X_10:=CROSS(X_2,X_3);
X_11:=CROSS(X_2,80);
X_12:=CROSS(X_3,X_2);
X_13:=CROSS(X_8,X_7);
XG1:DRAWICON(X_10,115,18);
X_14:=DRAWICON(X_11,80,9);
DRAWICON(X_12,115,15);
X_15:=X_2>REF(X_2,1) AND REF(X_2,1)=80 AND REF(X_2,2)>80 AND CROSS(CLOSE,X_9);
X_16:=DRAWICON(X_15,98,23);
STICKLINE(X_2>X_3,X_2,0,1,0),COLORRED;
STICKLINE(X_2>X_3 AND MACD.DIF<0,X_2,0,1,0),COLORLIGRAY;
STICKLINE(X_2<X_3,X_3,0,1,0),COLORGREEN;
STICKLINE(X_2<X_3 AND MACD.DIF>0,X_3,0,1,0),COLORLIGRAY;
STICKLINE(X_2>X_3 AND X_7<X_8,X_2,0,1,0),COLORLIGRAY;
STICKLINE(X_2<X_3 AND X_7>X_8,X_3,0,1,0),COLORLIGRAY;