TYP:=(H+L+C)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI修正1:=EMA(EMA(EMA(CCI,2),2),2);
CCI修正2:=EMA(EMA(EMA(CCI,3),2),2);
CCI选股:=(crOSS(CCI修正1,CCI修正2) OR (CCI修正1>=CCI修正2)) AND CCI修正1>=-101 AND CCI修正1>=REF(CCI修正1,1)AND REF(CCI修正1,1)<-101;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J1:=EMA(EMA(EMA(J,2),2),2);
kdj选股:=J1>REF(J1,1);
尾盘进:CCI选股 AND kdJ选股,COLORYELLOW;