RSV:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
K:=SMA(RSV,14,1);
D:=SMA(K,5,1);
J:=3*K-2*D;
K1:=EMA(RSV,14);
D1:=EMA(D,5);
J1:=3*K1-2*D1;
JJX:=SUM(AMOUNT,0)/SUM(VOL,0)/100;
H1:=C>REF(C,1) AND C/JJX>1.06;
L1:=C<REF(C,1) AND C/JJX<0.94;
DRAWICON(CROSS(6.5,K1) AND COUNT(K1<D1,5)=5 OR FILTER(L1,400) {OR (REF(D1,1)=0 AND REF(K1,1)=0 AND REF(J1,1)=0 AND J1>K1)},C*0.995,1);
DRAWICON(CROSS(K1,95) AND K1>D1 AND COUNT(K1>D1,5)=5 OR FILTER(H1,400),C*1.005,2);