X_1:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
X_2:=Sma(X_1,14,1);
X_3:=SMA(X_2,5,1);
X_4:=3*X_2-2*X_3;
X_5:=ema(X_1,14);
X_6:=EMA(X_3,5);
X_7:=3*X_5-2*X_6;
X_8:=SUM(AMOUNT,0)/SUM(vol,0)/100;
X_9:=CLOSE>REF(CLOSE,1) AND CLOSE/X_8>1.05;
X_10:=CLOSE<REF(CLOSE,1) AND CLOSE/X_8<0.968;
DRAWICON(crOSS(10,X_5) AND EVERY(X_5<X_6,15),0.995,1);
CROSS(10,X_5) AND EVERY(X_5<X_6,15);
DRAWICON(CROSS(X_5,90) AND X_5>X_6 AND EVERY(X_5>X_6,15),1,2);
CROSS(X_5,90) AND X_5>X_6 AND EVERY(X_5>X_6,15);