X_1:=REF(CLOSE,60)=HHV(CLOSE,2*60+1);
X_2:=FILTER(X_1,60);
X_3:=BACKSET(X_2,60+1);
X_4:=FILTER(X_3,60);
X_5:=REF(CLOSE,BARSLAST(X_4));
X_6:=REF(CLOSE,21)=HHV(CLOSE,2*21+1);
X_7:=FILTER(X_6,21);
X_8:=BACKSET(X_7,21+1);
X_9:=FILTER(X_8,21);
X_10:=REF(CLOSE,BARSLAST(X_9));
X_11:=(X_5-X_10)/REF(CLOSE,1)*100;
X_12:=MAX(X_5,X_10);
X_13:=(CLOSE-X_12)/REF(CLOSE,1)*100;
DA:X_11>(-10) AND X_11<10 AND (CLOSE>X_5 OR CLOSE>X_10) AND X_13<16.18 AND X_13>(-5);
DRAWICON(DA,0.5,25);