VAR1:=crOSS(CLOSE,MA(CLOSE,5));
VAR2:=CROSS(CLOSE,MA(CLOSE,8));
VAR3:=CROSS(CLOSE,MA(CLOSE,24));
VAR4:=CROSS(CLOSE,MA(CLOSE,55));
VAR5:=CROSS(CLOSE,MA(CLOSE,60));
VAR6:=CROSS(CLOSE,MA(CLOSE,75));
VAR7:=CROSS(CLOSE,MA(CLOSE,120));
VAR8:=CROSS(CLOSE,MA(CLOSE,188));
VAR9:=CROSS(CLOSE,MA(CLOSE,240));
VAR10:=VAR1 AND VAR2 AND VAR3 OR VAR4 OR VAR5;
VAR11:=CROSS(obv,MA(OBV,5));
VAR12:=CROSS(MA(OBV,5),MA(OBV,10));
VAR13:=CROSS(MA(OBV,5),MA(OBV,20));
VAR14:=CROSS(MA(OBV,5),MA(OBV,60));
VAR15:=VAR10 OR VAR6 OR VAR7 OR VAR8 OR VAR9;
VAR18:=VAR11 OR VAR12 OR VAR13 OR VAR14;
VAR19:=INDEXC>REF(INDEXC,1);
XG:VAR15 AND VAR18 AND VAR19;