VAR1:=EMA(CLOSE,6)-EMA(CLOSE,13);
VAR2:=EMA(VAR1,4);
VAR3:=(VAR1-VAR2)*2;
VAR4:=CLOSE/REF(CLOSE,1)>1.0975 AND HIGH=OPEN;
XG:NOT(VAR4) AND (VAR3>0 AND VAR3>REF(VAR3,1) AND EVERY(VAR3>0,3) OR CROSS(VAR1,VAR2)) AND CLOSE/REF(CLOSE,1)>1.03 AND CLOSE>OPEN AND CROSS(CLOSE,MA(CLOSE,20)),COLORYELLOW,LINETHICK2;