X_1:=CLOSE>REF(HHV(HIGH,4),1);
X_2:=crOSS(CLOSE,ema(CLOSE,10)) AND CLOSE>Ema(CLOSE,20) AND CROSS(CLOSE,EMA(CLOSE,5));
X_3:=REF(REF(HIGH,4)/REF(LOW,1)>1.05,1);
X_4:=REF(CLOSE,1)/REF(CLOSE,2)<1.015;
X_5:=vol/REF(HHV(VOL,8),1)>0.7;
X_6:=EMA(CLOSE,5)>EMA(CLOSE,10) AND EMA(CLOSE,5)>EMA(CLOSE,20);
XG:X_1 AND X_2 AND X_3 AND X_4 AND X_5,COLORRED;