M5:=MA(C,5);
M20:=MA(C,20);
M60:=MA(C,60);
A:M5>M20 AND M20>M60 AND M60;
B:C>M60;
a1:=COUNT(V/MA(V,60)<0.7,3)=3;
E:CROSS(0.9,a1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
F:CROSS(K,D);
XG:A AND B AND E AND F;