X_1:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3);
X_2:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
X_3:=(CLOSE-REF(CLOSE,20))/REF(CLOSE,20);
X_4:=(CLOSE-REF(CLOSE,60))/REF(CLOSE,60);
X_5:=(CLOSE-REF(CLOSE,120))/REF(CLOSE,120);
X_6:=(CLOSE-REF(CLOSE,250))/REF(CLOSE,250);
X_7:=(CLOSE-REF(CLOSE,10))/REF(CLOSE,10);
X_8:=(INDEXC-REF(INDEXC,3))/REF(INDEXC,3);
X_9:=(INDEXC-REF(INDEXC,5))/REF(INDEXC,5);
X_10:=(INDEXC-REF(INDEXC,20))/REF(INDEXC,20);
X_11:=(INDEXC-REF(INDEXC,60))/REF(INDEXC,60);
X_12:=(INDEXC-REF(INDEXC,120))/REF(INDEXC,120);
X_13:=(INDEXC-REF(INDEXC,250))/REF(INDEXC,250);
X_14:=(INDEXC-REF(INDEXC,10))/REF(INDEXC,10);
X_15:=X_1-X_8;
X_16:=X_2-X_9;
X_17:=X_7-X_14;
X_18:=X_3-X_10;
X_19:=X_4-X_11;
X_20:=X_5-X_12;
X_21:=X_6-X_13;
X_22:=(6*X_15+5*X_16+4*X_18+3*X_19+2*X_20+X_21)/21*5;
X_23:=IF(NAMELIKE(4),0,1);
X_24:=IF(NAMELIKE(888),0,1);
X_25:=BARSCOUNT(CLOSE)
XG:X_22 REF(HHV(X_22,55)*0.95,1) AND X_23 AND X_24 AND X_25;