QLX:=EMA(EMA(C,1),5);
HLX:=EMA(HHV(QLX,5),1);
HL:=EMA(HHV(HLX,21),1);
SGX:=(1+11/100)*MA(CLOSE,10);
XGX:=(1-9/100)*MA(CLOSE,10);
ZGX:=(SGX+XGX)/2;
XG:O<HL AND C>HL AND O<ZGX AND C>ZGX AND C/REF(C,1)>1.05 AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)
AND MA(C,20)>MA(C,30);