X_1:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
X_2:=NOT(X_1);
X_3:=FINANCE(42)>360;
X_4:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_5:=EMA(X_4,9);
X_6:=2*(X_4-X_5);
X_7:=CLOSE=LLV(CLOSE,N);
X_8:=BARSLAST(FILTER(CROSS(0.08,X_7),N1))+1;
X_9:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,4)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-15),1);
X_10:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,10)<(-10),1);
X_11:=X_8=1 AND X_2;
X_12:=X_8=2 AND X_2;
X_13:=X_11 OR X_12;
X_14:=REF(CLOSE,X_8);
X_15:=X_14>REF(X_14,1);
X_16:=HIGH>MAX(OPEN,CLOSE)*1.03 OR LOW<MIN(OPEN,CLOSE)*0.97;
X_17:=REF(X_16,1);
X_18:=X_16 OR X_17;
X_19:=BARSLAST(X_11);
X_20:=REF(LOW,REF(X_19,1)+1);
X_21:=BETWEEN(LOW,X_20,X_20*1.06) AND X_19=0 AND REF(X_19,1)<=T AND X_11;
X_22:=X_21 AND X_3 AND X_9;
STICKLINE(X_22,0,0.25,1,0),COLORRED;
STICKLINE(X_22,0.25,0.5,1,0),COLORYELLOW;
STICKLINE(X_22,0.5,0.75,1,0),COLORGREEN;
DRAWICON(X_22,1,23);
DRAWICON(X_22,1.2,1);