M5:=MA(C,5);
RX:=M5/REF(M5,1)>1.004;
wrDJ:=LLV(O,5);
JG:=BETWEEN(C/O,0.997,1.003) AND H>C AND O/REF(C,1)<=1.0 AND C<40 AND BETWEEN(REF(C,1)/REF(C,2),0.98,1.02);
SZXZ:=C/WRDJ<1.09 AND V/REF(V,1)<0.62;
N:=30;
M:=60;
SH:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
ZL:=EMA(J,6);
ZSX:=ZL>SH AND ZL/REF(ZL,1)>1.05 ;
NMID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
NN:=(20*NMID+19*REF(NMID,1)+18*REF(NMID,2)+17*REF(NMID,3)+16*REF(NMID,4)+15*REF(NMID,5)+14*REF(NMID,6)+13*REF(NMID,7)+12*REF(NMID,8)+11*REF(NMID,9)+10*REF(NMID,10)+9*REF(NMID,11)+8*REF(NMID,12)+7*REF(NMID,13)+6*REF(NMID,14)+5*REF(NMID,15)+4*REF(NMID,16)+3*REF(NMID,17)+2*REF(NMID,18)+REF(NMID,20))/210,COLORRED,LINETHICK2;
NX:=NN>REF(NN,1);
HS:=V/CAPITAL*100>3;
XG:RX AND JG AND SZXZ AND ZSX AND NX AND HS;