GS1:=MA(CLOSE,5);
GS2:=MA(CLOSE,12);
GS3:=MA(CLOSE,26);
GS4:=MA(CLOSE,60);
GS5:=GS1 AND GS1>GS2 AND GS2>GS3 AND GS3>GS4 AND CLOSE>DTPRICE(REF(CLOSE,1),0.1);
GS6:=CLOSE/REF(CLOSE,1)>1.098;
GS7:=COUNT(GS6,6)>=2;
GS8:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
GS9:=REF(CLOSE,1);
GS10:=SMA(MAX(CLOSE-GS9,0),2,1)/SMA(ABS(CLOSE-GS9),2,1)*100;
GS11:=45;
GS12:=20;
GS13:=GS10<GS11 AND REF(GS10,1)>GS11;
GS14:=GS10<GS12 AND REF(GS10,1)>GS12;
GS15:=COUNT(GS8,13)>=1;
GS16:=SMA(LOW,4,3);
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
A:=LLV(DMA(CLOSE,VOL/CAPITAL),120);
TDZB:=100*(CLOSE-A)/A,COLORWHITE;
TU:=IF(GS16 AND REF(GS13,1) AND GS15 OR (GS16 AND REF(GS14,1) AND GS15),1,0) AND GS7 AND GS5;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
AM:=L1+P1*7/8,COLORGREEN;
AC:=L1+P1*0.5/8,COLORRED;
AD:=(AC+AM)/2,COLORWHITE,POINTDOT;
V11:=3*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-2*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3,1);
区2:=EMA(V11,3),LINETHICK2,COLORLIMAGENTA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
N:=KK+DD,;
预:=IF(CROSS(N,50),90,50),COLOR00FF00;
潜伏:IF(CROSS(N,99.5) AND TDZB>0 AND 区2>50 AND 区2>REF(区2,1) ,100,50),COLORYELLOW;