X_1:=EMA(CLOSE,6)-EMA(CLOSE,13);
X_2:=EMA(X_1,4);
X_3:=(X_1-X_2)*2;
X_4:=CROSS(X_1,X_2);
X_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_6:=SMA(X_5,3,1);
X_7:=SMA(X_6,3,1);
X_8:=3*X_6-2*X_7;
X_9:=CROSS(X_6,X_7);
X_10:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30))/4;
X_11:=CROSS(CLOSE,X_10);
X_12:=6;
X_13:=REF(CLOSE,1);
X_14:=ABS(HIGH-X_13);
X_15:=ABS(LOW-X_13);
X_16:=ABS(HIGH-REF(LOW,1));
X_17:=ABS(X_13-REF(OPEN,1));
X_18:=IF(X_14>X_15 AND X_14>X_16,X_14+X_15/2+X_17/4,IF(X_15>X_16 AND X_15>X_14,X_15+X_14/2+X_17/4,X_16+X_17/4));
X_19:=CLOSE-X_13+(CLOSE-OPEN)/2+X_13-REF(OPEN,1);
X_20:=16*X_19/X_18*MAX(X_14,X_15);
X_21:=SUM(X_20,0);
X_22:=X_12;
X_23:=CROSS(X_21,X_22);
X_24:=CLOSE-REF(CLOSE,12);
X_25:=CROSS(X_24,0);
X_26:=X_4+X_9+X_11+X_23+X_25=3;
X_27:=X_4+X_9+X_11+X_23+X_25=4;
X_28:=X_4+X_9+X_11+X_23+X_25=5;
X_29:=C>MA(C,20) AND MA(C,20)>REF(MA(C,20),1);
X_26 OR X_27 OR X_28 AND X_29;