XX:=MA(C,10)>REF(MA(C,10),1);
AE:= CLOSE>REF(CLOSE,1)*1.038 ;AP:=(H-C)/C*100<1 AND XX;
AO:="MACD.MACD">REF("MACD.MACD",1) AND"MACD.MACD"<0;
G1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
G2:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
GG:=BARSLAST(CROSS(G2,G1))<5 AND G1>G2;
XG:COUNT(GG,3)=1 AND GG AND AE AND AO AND AP;