VAR22:=REF(CLOSE,1);VAR23:=SMA(MAX(CLOSE-VAR22,0),7,1)/SMA(A(CLOSE-VAR22),7,1)*100;VAR24:=SMA(MAX(CLOSE-VAR22,0),13,1)/SMA(ABS(CLOSE-VAR22),13,1)*100;VAR25:=BARSLAST(VAR24<23)<=3 AND OSS(VAR23,VAR24);VAR26:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<-12.5;VAR27:=LLV(LOW,5);VAR28:=HHV(HIGH,10);VAR29:=EMA((CLOSE-VAR27)/(VAR28-VAR27)*100,4);VAR2A:=EMA(0.667*REF(VAR29,1)+0.333*VAR29,2);XG:0-(-1)*VAR25 AND VAR26 AND CROSS(VAR29,VAR2A) AND VAR29<=25;