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;
买1:IF(J<0,40,0);
BDDD:=LLV(J,2)=LLV(J,8);
买2:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,55,0);
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;
买1:IF(J<0,40,0);
BDDD:=LLV(J,2)=LLV(J,8);
买2:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,55,0);