A1:=C-REF(C,1);
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);
A:=LLV(L,34);
XD:=SMA(ABS(L-REF(L,1)),34,1);
CD:=SMA(MAX(L-REF(L,1),0),34,2);
{收盘买:=-(EMA(IF(L<=A,XD/CD,-3),9));
抢反弹:收盘买<0 AND 收盘买>REF(收盘买,1) AND REF(EVERY(收盘买
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;
X2:=LLV(J,2)=LLV(J,8);
XG:CROSS(J,REF(J+0.01,1)) AND X2 AND J<20 AND (LLV(A2,2)=LLV(A2,7) AND COUNT(A2<0,2) AND CROSS(A2,MA(A2,2)));