MA1:=EMA(CLOSE,3);
MA2:=EMA(CLOSE,5);
MA3:=EMA(CLOSE,8);
MA4:=EMA(CLOSE,10);
MA5:=EMA(CLOSE,12);
MA6:=EMA(CLOSE,15);
MA7:=EMA(CLOSE,30);
MA8:=EMA(CLOSE,35);
MA9:=EMA(CLOSE,40);
MA10:=EMA(CLOSE,45);
P:=EMA(CLOSE,7)-EMA(CLOSE,26);
A:=EMA(P,9);
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
K:=SMA(RSV,2,1);
D:=SMA(K,2,1);
XG:CLOSE OPEN AND
MA1 O AND MA1 C AND
MA2 O AND MA2 C AND
MA3 O AND MA3 C AND
MA4 O AND MA4 C AND
MA5 O AND MA5 C AND
MA6 O AND MA6 C AND
MA7 O AND MA7 C AND
MA8 O AND MA8 C AND
MA9 O AND MA9 C AND
MA10 O AND MA10 C AND (P A OR P=A) AND K