KK:=IF("KDJ.J"<-1,10,0);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCIXZ1:=EMA(EMA(EMA(CCI,2),2),2);
CCIXZ2:=EMA(EMA(EMA(CCI,3),2),2);
X:=(CROSS(CCIXZ1,CCIXZ2) OR (CCIXZ1 >=CCIXZ2))
AND CCIXZ1>=-101 AND CCIXZ1>=REF(CCIXZ1,1)
AND REF(CCIXZ1,1)<-101 ;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
TJ:=CROSS(9.9,KK);
K1:= EMA(EMA(EMA(K,2),2),2);
D1:= EMA(EMA(EMA(D,2),2),2);
J1:= EMA(EMA(EMA(J,2),2),2);
Y:= J1 > REF(J1,1) ;
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
LL:=EMA(VOL,13);
ZJ:=EMA(AMOUNT,13);
GL:=((ZJ /LL) / 100);
TC:=(((CLOSE -GL) / GL) * 100);
BB:=ABS(L-C)>ABS(H-C)*5;
HJ:=((TC < (0)) AND BB),COLORRED;
ZZ:=HJ AND RSVV<VARB2-2;
XG:ZZ>0 AND TJ ;
DRAWTEXT(XG,0.9,'一般收益5%!'),COLORYELLOW;