DC:=(2*CLOSE+HIGH+LOW+OPEN)/5;
EMDC:=EMA(EMA(EMA(DC,4),4),4);
AA:=(EMDC-REF(EMDC,1))/REF(EMDC,1)*100, ;
BA:=MA(AA,2);
JG:=(AA-BA)*30000+40000;
AA1:=JG>REF(JG,1) AND JG>40000;
CC:=EMA(CLOSE,5)-EMA(CLOSE,55);
DD:=EMA(CC,10);
GSD:=(CC-DD)*20000+20000;
BB:=GSD>REF(GSD,1) AND GSD>20000;
XG:(AA1 AND BB) OR (BB AND CROSS(AA1,40000)) OR (CROSS(AA1,40000) AND CROSS(BB,20000));