X_1:=(CLOSE*2+HIGH+LOW)/4;
X_2:=EMA(X_1,1)-EMA(X_1,40);
X_3:=EMA(X_2,5);
X_4:=(X_2-X_3)*100;
X_5:=IF(X_4<(-20),(-20),IF(X_4>100,100,X_4));
X_6:=(CLOSE-LLV(1.02*LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
X_7:=IF(X_6>100,100,IF(X_6<0,0,X_6));
X_8:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20;
X_9:=(3*X_8-2*SMA(X_8,3,1))*1;
X_10:=IF(X_9>100,100,IF(X_9<(-5),(-5),X_9));
X_11:=(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120;
X_12:=IF(X_11>100,100,X_11);
X_13:=CROSS(X_10,X_5);
X_14:=X_12=0 AND CROSS(X_5,40);
X_15:=X_12=0 AND X_10<0;
X_16:=CROSS(X_5,40);
X_17:=X_5=100;
X_18:=CLOSE/REF(CLOSE,1)>1.095;
X_19:=X_12=100;
X_13+X_14+X_15+X_16+X_17+X_18-X_19;
DRAWICON(X_13+X_14+X_15+X_16+X_17+X_18-X_19>=2,2,1);